Difference between revisions of "Template:Quest list result format"
Jump to navigation
Jump to search
Line 58: | Line 58: | ||
{{#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}}}}|}} | ||
}} {{#if:{{{9|}}}|'''Optional rewards:'''<br>}} | }} {{#if:{{{9|}}}|'''Optional rewards:'''<br>}} | ||
{{#if:{{{7|}}} | {{#arraymap:{{{7|}}}‡|)‡|@@@| | {{#if:{{{7|}}} | {{#arraymap:{{{7|}}}‡|)‡|@@@| | ||
{{#vardefine:tmp-name|{{#explode:@@@|,|-3}}}} | {{#vardefine:tmp-name|{{#explode:@@@|,|-3}}}} | ||
Line 68: | Line 68: | ||
{{#ifeq:{{#var:tmp-optional}}|true|{{#var:tmp-reward-line}}}}|}} | {{#ifeq:{{#var:tmp-optional}}|true|{{#var:tmp-reward-line}}}}|}} | ||
}} | }} | ||
}} | }} | ||
</includeonly><noinclude> | </includeonly><noinclude> |
Revision as of 05:05, 1 December 2023
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)