Difference between revisions of "Template:Quest list result format"
Jump to navigation
Jump to search
Tag: Undo |
Tag: Manual revert |
||
(17 intermediate revisions by the same user not shown) | |||
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|{{#explode:@@@|,| | {{#vardefine:tmp-name|{{#explode:{{#explode:@@@|(|1|2}}|,|0}}}} | ||
{{#vardefine:tmp-qty|{{#explode:@@@| |0}}}} | {{#vardefine:tmp-qty|{{#explode:@@@| |0}}}} | ||
{{Item reward|{{#var:tmp-qty}}|{{#var:tmp-name}}|no-smw=y}}<br>|}}}} | {{#vardefine:tmp-hq|{{#explode:@@@|,|-1}}}} | ||
{{Item reward|{{#var:tmp-qty}}|{{#ifeq:{{#var:tmp-hq}}|true|HQ {{#var:tmp-name}}|{{#var:tmp-name}}}}|no-smw=y}}<br>|}}}} | |||
}}<!-- | }}<!-- | ||
-->{{#if:{{#var:quest-list-unlocks}}| | -->{{#if:{{#var:quest-list-unlocks}}| |
Latest revision as of 00:00, 4 January 2024
This is a semantic result template for use in {{quest list row}}. The input parameters generated by the semantic query are:
- PAGENAME
- Has canonical name
- Has quest type
- Has quest level
- Has quest giver
- Has system unlock (optional)
- Has item reward (optional)
- Requires item (optional)
- Is providing optional reward (optional)