Template:Total tokens

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
<includeonly>
+
<includeonly>{{#if:{{{item1|}}}|{{Show_tokens|{{{item1_qty}}}|{{{item1}}} }}| }}<br />
{{#if:{{{item1|}}}|{{Show_tokens|{{{item1_qty}}}|{{{item1}}} }}| }}<br />
+
 
{{#if:{{{item2|}}}|{{Show_tokens|{{{item2_qty}}}|{{{item2}}} }}| }}<br />
 
{{#if:{{{item2|}}}|{{Show_tokens|{{{item2_qty}}}|{{{item2}}} }}| }}<br />
 
{{#if:{{{item3|}}}|{{Show_tokens|{{{item3_qty}}}|{{{item3}}} }}| }}<br />
 
{{#if:{{{item3|}}}|{{Show_tokens|{{{item3_qty}}}|{{{item3}}} }}| }}<br />

Revision as of 18:45, 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.


      
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Tools