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

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
Line 51: Line 51:
-->{{#if:{{#var:quest-list-item-rewards}}|
-->{{#if:{{#var:quest-list-item-rewards}}|
     {{!!}} {{#if:{{{7|}}} | {{#arraymap:{{{7|}}}‡|)‡|@@@|
     {{!!}} {{#if:{{{7|}}} | {{#arraymap:{{{7|}}}‡|)‡|@@@|
                                     {{#vardefine:tmp-name|{{#explode:@@@|,|-3}}}}
                                     {{#vardefine:tmp-name|{{#explode:@@@|,|-4}}}}
                                     {{#vardefine:tmp-minqty|{{#sub:{{#explode:@@@| |1}}|1|-1}}}}
                                     {{#vardefine:tmp-minqty|{{#sub:{{#explode:@@@| |1}}|1|-1}}}}
                                     {{#vardefine:tmp-maxqty|{{#sub:{{#explode:@@@| |2}}|0|-1}}}}
                                     {{#vardefine:tmp-maxqty|{{#sub:{{#explode:@@@| |2}}|0|-1}}}}
Line 60: Line 60:
           }} {{#if:{{{9|}}}|'''<div style="margin-top:5px;">Options:</div>'''}}<!--
           }} {{#if:{{{9|}}}|'''<div style="margin-top:5px;">Options:</div>'''}}<!--
         -->{{#if:{{{7|}}} | {{#arraymap:{{{7|}}}‡|)‡|@@@|
         -->{{#if:{{{7|}}} | {{#arraymap:{{{7|}}}‡|)‡|@@@|
                                 {{#vardefine:tmp-name|{{#explode:@@@|,|-3}}}}
                                 {{#vardefine:tmp-name|{{#explode:@@@|,|-4}}}}
                                 {{#vardefine:tmp-minqty|{{#sub:{{#explode:@@@| |1}}|1|-1}}}}
                                 {{#vardefine:tmp-minqty|{{#sub:{{#explode:@@@| |1}}|1|-1}}}}
                                 {{#vardefine:tmp-maxqty|{{#sub:{{#explode:@@@| |2}}|0|-1}}}}
                                 {{#vardefine:tmp-maxqty|{{#sub:{{#explode:@@@| |2}}|0|-1}}}}

Revision as of 22:57, 6 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)