Template:Total tokens
From Card Hunter Wiki
(Difference between revisions)
(6 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly> | + | <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:{{{item1|}}}|{{Show_tokens|{{{item1_qty}}}|{{{item1}}} }} | + | |
− | {{#if:{{{item2|}}}|{{Show_tokens|{{{item2_qty}}}|{{{item2}}} }} | + | |
− | {{#if:{{{item3|}}}|{{Show_tokens|{{{item3_qty}}}|{{{item3}}} }} | + | |
− | {{#if:{{{item4|}}}|{{Show_tokens|{{{item4_qty}}}|{{{item4}}} }} | + | |
− | {{#if:{{{item5|}}}|{{Show_tokens|{{{item5_qty}}}|{{{item5}}} }} | + | |
− | This is the template for returning the total tokens given | + | 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> |
Latest revision as of 19:41, 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.