Template:MaxCard

From Card Hunter Wiki
(Difference between revisions)
Jump to: navigation, search
 
(5 intermediate revisions by one user not shown)
Line 1: Line 1:
 
<includeonly>
 
<includeonly>
<span class="EB_hook">Maximum number of [[Cards/{{{cardname}}}|{{{cardname}}}]] per {{{race|}}} {{{class|}}} = '''{{{maxqty}}}'''</span>
+
{{#if:{{{cardname|}}}|Maximum number of [[Cards/{{{cardname}}}|{{{cardname}}}]] per {{{race|}}} {{{class|}}} = '''{{{maxqty}}}'''|{{#if:{{{keyword|}}}|Maximum number of cards with {{K|{{{keyword}}}}} keyword per {{{race|}}} {{{class|}}} = '''{{{maxqty}}}'''|{{#if:{{{custom|}}}|Maximum number of cards with '''{{{custom}}}''' per {{{race|}}} {{{class|}}} = '''{{{maxqty}}}'''|}}}}}}
 
{| class="chtable_r" align="left"
 
{| class="chtable_r" align="left"
 
  ! Build # !! align='center' | Items !! Item description !! Total cards !! Total tokens !! align='center' | Item set
 
  ! Build # !! align='center' | Items !! Item description !! Total cards !! Total tokens !! align='center' | Item set
 
  |-
 
  |-
  ! rowspan={{#expr:{{#if:{{{build1_item1|}}}|1|0}}+{{#if:{{{build1_item2|}}}|1|0}}+{{#if:{{{build1_item3|}}}|1|0}}+{{#if:{{{build1_item4|}}}|1|0}}+{{#if:{{{build1_item5|}}}|1|0}}}} align='center' | 1+{{{offset|}}}
+
  ! rowspan={{#expr:{{#if:{{{build1_item1|}}}|1|0}}+{{#if:{{{build1_item2|}}}|1|0}}+{{#if:{{{build1_item3|}}}|1|0}}+{{#if:{{{build1_item4|}}}|1|0}}+{{#if:{{{build1_item5|}}}|1|0}}}} align='center' | {{#expr:1+{{#if:{{{offset|}}}|{{{offset}}}|0}} }}
 
  | {{{build1_item1_qty}}} x {{I|{{{build1_item1}}}}}
 
  | {{{build1_item1_qty}}} x {{I|{{{build1_item1}}}}}
 
  | valign='center' align='center' | Level {{#show: Items/{{{build1_item1}}} | ?Has Itemlevel}} <br /> {{#show: Items/{{{build1_item1}}} | ?Has Itemrarity}} <br /> {{#show: Items/{{{build1_item1}}} | ?Has Itemtype}}
 
  | valign='center' align='center' | Level {{#show: Items/{{{build1_item1}}} | ?Has Itemlevel}} <br /> {{#show: Items/{{{build1_item1}}} | ?Has Itemrarity}} <br /> {{#show: Items/{{{build1_item1}}} | ?Has Itemtype}}
Line 56: Line 56:
 
{{!-}}
 
{{!-}}
 
{{MaxCard_build
 
{{MaxCard_build
|build_num=2+{{{offset|}}}
+
|build_num={{#expr:2+{{#if:{{{offset|}}}|{{{offset}}}|0}} }}
 
|item1_qty={{{build2_item1_qty|}}}
 
|item1_qty={{{build2_item1_qty|}}}
 
|item1={{{build2_item1|}}}
 
|item1={{{build2_item1|}}}
Line 69: Line 69:
 
}}
 
}}
 
{{MaxCard_build
 
{{MaxCard_build
|build_num=3+{{{offset|}}}
+
|build_num={{#expr:3+{{#if:{{{offset|}}}|{{{offset}}}|0}} }}
 
|item1_qty={{{build3_item1_qty|}}}
 
|item1_qty={{{build3_item1_qty|}}}
 
|item1={{{build3_item1|}}}
 
|item1={{{build3_item1|}}}
Line 82: Line 82:
 
}}
 
}}
 
{{MaxCard_build
 
{{MaxCard_build
|build_num=4+{{{offset|}}}
+
|build_num={{#expr:4+{{#if:{{{offset|}}}|{{{offset}}}|0}} }}
 
|item1_qty={{{build4_item1_qty|}}}
 
|item1_qty={{{build4_item1_qty|}}}
 
|item1={{{build4_item1|}}}
 
|item1={{{build4_item1|}}}
Line 95: Line 95:
 
}}
 
}}
 
{{MaxCard_build
 
{{MaxCard_build
|build_num=5+{{{offset|}}}
+
|build_num={{#expr:5+{{#if:{{{offset|}}}|{{{offset}}}|0}} }}
 
|item1_qty={{{build5_item1_qty|}}}
 
|item1_qty={{{build5_item1_qty|}}}
 
|item1={{{build5_item1|}}}
 
|item1={{{build5_item1|}}}
Line 108: Line 108:
 
}}
 
}}
 
{{MaxCard_build
 
{{MaxCard_build
|build_num=6+{{{offset|}}}
+
|build_num={{#expr:6+{{#if:{{{offset|}}}|{{{offset}}}|0}} }}
 
|item1_qty={{{build6_item1_qty|}}}
 
|item1_qty={{{build6_item1_qty|}}}
 
|item1={{{build6_item1|}}}
 
|item1={{{build6_item1|}}}
Line 121: Line 121:
 
}}
 
}}
 
{{MaxCard_build
 
{{MaxCard_build
|build_num=7+{{{offset|}}}
+
|build_num={{#expr:7+{{#if:{{{offset|}}}|{{{offset}}}|0}} }}
 
|item1_qty={{{build7_item1_qty|}}}
 
|item1_qty={{{build7_item1_qty|}}}
 
|item1={{{build7_item1|}}}
 
|item1={{{build7_item1|}}}
Line 134: Line 134:
 
}}
 
}}
 
{{MaxCard_build
 
{{MaxCard_build
|build_num=8+{{{offset|}}}
+
|build_num={{#expr:8+{{#if:{{{offset|}}}|{{{offset}}}|0}} }}
 
|item1_qty={{{build8_item1_qty|}}}
 
|item1_qty={{{build8_item1_qty|}}}
 
|item1={{{build8_item1|}}}
 
|item1={{{build8_item1|}}}
Line 147: Line 147:
 
}}
 
}}
 
{{MaxCard_build
 
{{MaxCard_build
|build_num=9+{{{offset|}}}
+
|build_num={{#expr:9+{{#if:{{{offset|}}}|{{{offset}}}|0}} }}
 
|item1_qty={{{build9_item1_qty|}}}
 
|item1_qty={{{build9_item1_qty|}}}
 
|item1={{{build9_item1|}}}
 
|item1={{{build9_item1|}}}
Line 160: Line 160:
 
}}
 
}}
 
{{MaxCard_build
 
{{MaxCard_build
|build_num=10+{{{offset|}}}
+
|build_num={{#expr:10+{{#if:{{{offset|}}}|{{{offset}}}|0}} }}
 
|item1_qty={{{build10_item1_qty|}}}
 
|item1_qty={{{build10_item1_qty|}}}
 
|item1={{{build10_item1|}}}
 
|item1={{{build10_item1|}}}

Latest revision as of 19:30, 9 November 2013


This is the template outline for a max card table. This template is used in extreme builds.


      
Personal tools
Namespaces

Variants
Views
Actions
Navigation
Tools