Difference between revisions of "Template:Quest list result format"

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
Line 13: Line 13:
| {{#if:{{{5|}}}|[[{{{5|}}}]]}}<!--
| {{#if:{{{5|}}}|[[{{{5|}}}]]}}<!--
-->{{#if:{{#var:quest-list-required-items}} | {{!!}} {{#if:{{{8|}}} | {{#arraymap:{{{8|}}}‡|)‡|@@@|
-->{{#if:{{#var:quest-list-required-items}} | {{!!}} {{#if:{{{8|}}} | {{#arraymap:{{{8|}}}‡|)‡|@@@|
                                     {{#vardefine:tmp-name|{{#sub:{{#explode:@@@| |1|2}}|1|-1}}}}
                                     {{#vardefine:tmp-name|{{#sub:{{#explode:@@@| |1|2}}|1|-2}}}}
                                     {{#vardefine:tmp-qty|{{#explode:@@@| |0}}}}
                                     {{#vardefine:tmp-qty|{{#explode:@@@| |0}}}}
                                     {{Item reward|{{#var:tmp-qty}}|{{#var:tmp-name}}|no-smw=y}}<br>|}}}}
                                     {{Item reward|{{#var:tmp-qty}}|{{#var:tmp-name}}|no-smw=y}}<br>|}}}}

Revision as of 01:29, 22 December 2023

This is a semantic result template for use in {{quest list row}}. The input parameters generated by the semantic query are:

  1. PAGENAME
  2. Has canonical name
  3. Has quest type
  4. Has quest level
  5. Has quest giver
  6. Has system unlock (optional)
  7. Has item reward (optional)
  8. Requires item (optional)
  9. Is providing optional reward (optional)