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

From Final Fantasy XIV Online Wiki
Jump to navigation Jump to search
(Undo revision 693784 by Dr Agon (talk))
Tag: Undo
Line 55: Line 55:
                                     {{#vardefine:tmp-maxqty|{{#sub:{{#explode:@@@| |2}}|0|-1}}}}
                                     {{#vardefine:tmp-maxqty|{{#sub:{{#explode:@@@| |2}}|0|-1}}}}
                                     {{#vardefine:tmp-qty|{{#var:tmp-minqty}}{{#ifeq:{{#var:tmp-maxqty}}|0||-{{#var:tmp-maxqty}}}}}}
                                     {{#vardefine:tmp-qty|{{#var:tmp-minqty}}{{#ifeq:{{#var:tmp-maxqty}}|0||-{{#var:tmp-maxqty}}}}}}
                                     {{#vardefine:tmp-optional|{{#explode:@@@|,|-1}}}}
                                     {{#vardefine:tmp-optional|{{#explode:@@@|,|-2}}}}
                                     {{#vardefine:tmp-reward-line|{{Item reward|{{#var:tmp-qty}}|{{#var:tmp-name}}|no-smw=y}}<br>}}
                                     {{#vardefine:tmp-reward-line|{{Item reward|{{#var:tmp-qty}}|{{#var:tmp-name}}|no-smw=y}}<br>}}
                                     {{#ifeq:{{#var:tmp-optional}}|false|{{#var:tmp-reward-line}}}}|}}
                                     {{#ifeq:{{#var:tmp-optional}}|false|{{#var:tmp-reward-line}}}}|}}
Line 64: Line 64:
                                 {{#vardefine:tmp-maxqty|{{#sub:{{#explode:@@@| |2}}|0|-1}}}}
                                 {{#vardefine:tmp-maxqty|{{#sub:{{#explode:@@@| |2}}|0|-1}}}}
                                 {{#vardefine:tmp-qty|{{#var:tmp-minqty}}{{#ifeq:{{#var:tmp-maxqty}}|0||-{{#var:tmp-maxqty}}}}}}
                                 {{#vardefine:tmp-qty|{{#var:tmp-minqty}}{{#ifeq:{{#var:tmp-maxqty}}|0||-{{#var:tmp-maxqty}}}}}}
                                 {{#vardefine:tmp-optional|{{#explode:@@@|,|-1}}}}
                                 {{#vardefine:tmp-optional|{{#explode:@@@|,|-2}}}}
                                 {{#vardefine:tmp-reward-line|{{Item reward|{{#var:tmp-qty}}|{{#var:tmp-name}}|no-smw=y}}<br>}}
                                 {{#vardefine:tmp-reward-line|{{Item reward|{{#var:tmp-qty}}|{{#var:tmp-name}}|no-smw=y}}<br>}}
                                 {{#ifeq:{{#var:tmp-optional}}|true|{{#var:tmp-reward-line}}}}|}}
                                 {{#ifeq:{{#var:tmp-optional}}|true|{{#var:tmp-reward-line}}}}|}}

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