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