Difference between revisions of "Template:Item reward"
Jump to navigation
Jump to search
m |
m |
||
Line 1: | Line 1: | ||
<includeonly>{{#vardefine:rewardcnt|{{#expr:{{#var:rewardcnt|0}}+1}}}}<!-- | <includeonly>{{#vardefine:rewardcnt|{{#expr:{{#var:rewardcnt|0}}+1}}}}<!-- | ||
-->{{#switch:{{{2|}}} | -->{{#switch:{{{2|}}} | ||
| Amalj'aa Relations = <!-- Reputation -->{{ | | Amalj'aa Relations = <!-- Reputation -->{{{1}}} [[File:{{{2}}}|20px|{{{2}}}]] {{{2}}}{{#set:Has item reward={{#var:rewardcnt}};{{{1}}};{{{2}}};Reputation;{{#if:{{{3|}}}|true|false}}}} | ||
| Allagan Tomestone of Mythology | Allagan Tomestone of Poetics = <!-- Currency --> | | Allagan Tomestone of Mythology | Allagan Tomestone of Poetics = <!-- Currency -->{{{1}}} [[File:{{{2}}}|20px|{{{2}}}]] {{{2}}}{{#set:Has item reward={{#var:rewardcnt}};{{{1}}};{{{2}}};Currency;{{#if:{{{3|}}}|true|false}}}} | ||
| #default = <!-- Item --> | | #default = <!-- Item -->{{{1}}} {{item icon|{{{2}}}}}{{#set:Has item reward={{#var:rewardcnt}};{{{1}}};{{{2}}};Item;{{#if:{{{3|}}}|true|false}}}} }}</includeonly><noinclude> | ||
== Description == | == Description == | ||
<pre>{{Item reward|<quantity>|<item name>}}</pre> | <pre>{{Item reward|<quantity>|<item name>}}</pre> |
Revision as of 18:58, 31 July 2017
Description
{{Item reward|<quantity>|<item name>}}
Used by {{Quest infobox}} to define a single quest's reward, be it reputation, currency or an item.
Parameters
- unnamed parameter 1
- Reward quantity. The amount of such item/reputation/currency.
- unnamed parameter 2
- Reward name. The reward name (item, reputation or currency). Reward type will be defined through this parameter.