Difference between revisions of "Template:Item reward"
Jump to navigation
Jump to search
m |
m (→Description) |
||
Line 5: | Line 5: | ||
| #default = <!-- Item -->{{{1}}} {{item icon|{{{2}}}}}{{#set:Has item reward={{#var:rewardcnt}};{{{1}}};{{{2}}};Item;{{#if:{{{3|}}}|true|false}}}} }}</includeonly><noinclude> | | #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>|<optional>}}</pre> | ||
Used by {{tl|Quest infobox}} to define a single quest's reward, be it reputation, currency or an item. | Used by {{tl|Quest infobox}} to define a single quest's reward, be it reputation, currency or an item. | ||
Line 14: | Line 14: | ||
; ''unnamed parameter'' 2 | ; ''unnamed parameter'' 2 | ||
: Reward name. The reward name (item, reputation or currency). Reward type will be defined through this parameter. | : Reward name. The reward name (item, reputation or currency). Reward type will be defined through this parameter. | ||
; ''unnamed parameter'' 3 | |||
: Optional. Set anything to make this item optional. Defaults to no. | |||
== See also== | == See also== |
Revision as of 18:59, 31 July 2017
Description
{{Item reward|<quantity>|<item name>|<optional>}}
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.
- unnamed parameter 3
- Optional. Set anything to make this item optional. Defaults to no.