Template:MaxCard build

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
Line 3: Line 3:
 
{{#if:{{{item1|}}}|
 
{{#if:{{{item1|}}}|
 
{{!!}} rowspan={{#expr:{{#if:{{{item1|}}}|1|0}}+{{#if:{{{item2|}}}|1|0}}+{{#if:{{{item3|}}}|1|0}}+{{#if:{{{item4|}}}|1|0}}+{{#if:{{{item5|}}}|1|0}}}} align='center' {{!}} {{{build_num}}}
 
{{!!}} rowspan={{#expr:{{#if:{{{item1|}}}|1|0}}+{{#if:{{{item2|}}}|1|0}}+{{#if:{{{item3|}}}|1|0}}+{{#if:{{{item4|}}}|1|0}}+{{#if:{{{item5|}}}|1|0}}}} align='center' {{!}} {{{build_num}}}
{{!}} style="background-color: #202020" {{!}} {{{item1_qty}}} x {{I|{{{item1}}}}}
+
{{!}} {{#ifexpr: {{{build_num}}} mod 2 = 1 | style="background-color: #202020" | }} {{!}} {{{item1_qty}}} x {{I|{{{item1}}}}}
{{!}} valign='center' align='center' style="background-color: #202020" {{!}} Level {{#show: Items/{{{item1}}} | ?Has Itemlevel}} <br /> {{#show: Items/{{{item1}}} | ?Has Itemrarity}} <br /> {{#show: Items/{{{item1}}} | ?Has Itemtype}}
+
{{!}} valign='center' align='center' {{#ifexpr: {{{build_num}}} mod 2 = 0 | style="background-color: #202020" | }} {{!}} Level {{#show: Items/{{{item1}}} | ?Has Itemlevel}} <br /> {{#show: Items/{{{item1}}} | ?Has Itemrarity}} <br /> {{#show: Items/{{{item1}}} | ?Has Itemtype}}
 
{{!}} style="background-color: #202020" {{!}}{{Total_cards|{{{item1_qty}}}|{{{item1}}} }}
 
{{!}} style="background-color: #202020" {{!}}{{Total_cards|{{{item1_qty}}}|{{{item1}}} }}
 
{{!}} valign='center' align='center' style="background-color: #202020" {{!}}{{Total_tokens|{{{item1_qty}}}|{{{item1}}} }} }}
 
{{!}} valign='center' align='center' style="background-color: #202020" {{!}}{{Total_tokens|{{{item1_qty}}}|{{{item1}}} }} }}

Revision as of 19:30, 30 October 2013


This is the template outline for a single build row in the max card table.


      
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Tools