Template:Total tokens
From Card Hunter Wiki
(Difference between revisions)
Line 1: | Line 1: | ||
− | <includeonly>{{#if:{{{item1|}}}|{{Show_tokens|{{{item1_qty}}}|{{{item1}}} }} }} | + | <includeonly>{{#if:{{{item1|}}}|{{Show_tokens|{{{item1_qty}}}|{{{item1}}} }} }}{{#if:{{{item2|}}}|<br />{{Show_tokens|{{{item2_qty|}}}|{{{item2|}}} }} }}{{#if:{{{item3|}}}|<br />{{Show_tokens|{{{item3_qty|}}}|{{{item3|}}} }} }}{{#if:{{{item4|}}}|<br />{{Show_tokens|{{{item4_qty|}}}|{{{item4|}}} }} }}{{#if:{{{item5|}}}|<br />{{Show_tokens|{{{item5_qty|}}}|{{{item5|}}} }} }}</includeonly><noinclude> |
− | {{#if:{{{item2|}}}|<br />{{Show_tokens|{{{item2_qty}}}|{{{item2}}} }} }} | + | |
− | {{#if:{{{item3|}}}|<br />{{Show_tokens|{{{item3_qty}}}|{{{item3}}} }} }} | + | |
− | {{#if:{{{item4|}}}|<br />{{Show_tokens|{{{item4_qty}}}|{{{item4}}} }} }} | + | |
− | {{#if:{{{item5|}}}|<br />{{Show_tokens|{{{item5_qty}}}|{{{item5}}} }} }}</includeonly><noinclude> | + | |
This is the template for returning the total tokens given item qtys and item names. Supports up to 5 items at once. Used in conjunction with the MaxCard template. | This is the template for returning the total tokens given item qtys and item names. Supports up to 5 items at once. Used in conjunction with the MaxCard template. | ||
</noinclude> | </noinclude> |
Revision as of 19:39, 30 October 2013
This is the template for returning the total tokens given item qtys and item names. Supports up to 5 items at once. Used in conjunction with the MaxCard template.