Difference between revisions of "Quest table body"
Stratonian (talk | contribs) m |
Stratonian (talk | contribs) m |
||
Line 9: | Line 9: | ||
-->|{{#arrayindex:reward qualities<!-- get item quality | -->|{{#arrayindex:reward qualities<!-- get item quality | ||
-->|{{#vardefineecho:index|{{#expr:{{#var:index}}+1}}}}}}<!-- get and increment index | -->|{{#vardefineecho:index|{{#expr:{{#var:index}}+1}}}}}}<!-- get and increment index | ||
− | -->}}}} | + | -->}}}}}}}} |
|- | |- | ||
</includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude> | </includeonly><noinclude>{{{{PAGENAME}}/Documentation}}</noinclude> |
Revision as of 21:37, 16 February 2024
Description
Creates a recipe table using the parameters provided in the original inline query. Used in conjunction with Quest table header.
Usage
e.g. To display the quests that give 'Campfire' as a reward:
{{#ask: [[Has reward::?;Campfire]] |?Has quest giver |?Has reward|+index=2 |?Has reward|+index=3 |?Has reward|+index=4 |format=template |introtemplate=quest table header |template=quest table body |outrotemplate=table footer }}