Difference between revisions of "Template:ZZZQuest list result format"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
| {{#if:{{{5|}}}|[[{{{5|}}}]]}}<!-- | | {{#if:{{{5|}}}|[[{{{5|}}}]]}}<!-- | ||
-->{{#if:{{#var:quest-list-unlocks}}| | -->{{#if:{{#var:quest-list-unlocks}}| | ||
{{!!}} {{#if:{{{6|}}} | {{#arraymap:{{{6|}}} | {{!!}} {{#if:{{{6|}}} | {{#arraymap:{{{6|}}}‡|)‡|@@@|{{Unlock reward|{{#switch:{{#sub:{{#explode:@@@| |1}}|1|-1}}|Action=ac|Trait=tt|Dungeon=dg|Emote=em|Location=lc|Other=ot|Raid=ra|Trial=tr|AetherCurrent=cur|Achievement=ach|Reputation=r|Reputation Neutral=r1|Reputation Recognized=r2|Reputation Friendly=r3|Reputation Trusted=r4|Reputation Respected=r5|Reputation Honored=r6|Reputation Sworn=r7|Reputation Allied=r8}}|{{#sub:@@@|{{#expr:{{#pos:@@@| |2}} + 1}}}}|no-smw=y}}|<br>}} }} }}<!-- | ||
-->{{#if:{{#var:quest-list-item-rewards}}| | -->{{#if:{{#var:quest-list-item-rewards}}| | ||
{{!!}} {{#if:{{{7|}}} | {{#arraymap:{{{7|}}} | {{!!}} {{#if:{{{7|}}} | {{#arraymap:{{{7|}}}‡|)‡|@@@|{{#vardefine:tmp-maxqty|{{#sub:{{#explode:@@@| |2}}|0|-1}}}}{{Item reward|{{#sub:{{#explode:@@@| |1}}|1|-1}}{{#ifeq:{{#var:tmp-maxqty}}|0||-{{#var:tmp-maxqty}}}}|{{trim|{{#explode:@@@|, |2}}}}|no-smw=y}}|<br>}} }} }} | ||
</includeonly><noinclude> | </includeonly><noinclude> | ||
This is a semantic result template for use in {{tl|quest list row}}. The input parameters generated by the semantic query are: | This is a semantic result template for use in {{tl|quest list row}}. The input parameters generated by the semantic query are: |
Revision as of 18:07, 22 February 2020
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)