Template:MaxCard build
From Card Hunter Wiki
(Difference between revisions)
(14 intermediate revisions by one user not shown) | |||
Line 2: | Line 2: | ||
{{#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' | + | {{!!}} 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=" | + | {{!}} {{#ifexpr: {{{build_num}}} mod 2 = 0 | style="background-color: #202020" | }} {{!}} {{{item1_qty}}} x {{I|{{{item1}}}}} |
− | {{!}} valign='center' align='center' style=" | + | {{!}} 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=" | + | {{!}} {{#ifexpr: {{{build_num}}} mod 2 = 0 | style="background-color: #202020" | }} {{!}}{{Total_cards|{{{item1_qty}}}|{{{item1}}} }} |
− | {{!}} valign='center' align='center' style=" | + | {{!}} {{#ifexpr: {{{build_num}}} mod 2 = 0 | style="background-color: #202020" | }} rowspan={{#expr:{{#if:{{{item1|}}}|1|0}}+{{#if:{{{item2|}}}|1|0}}+{{#if:{{{item3|}}}|1|0}}+{{#if:{{{item4|}}}|1|0}}+{{#if:{{{item5|}}}|1|0}}}} valign='center' align='center' {{!}} |
+ | {{Total_tokens | ||
+ | |item1_qty={{{item1_qty|}}} | ||
+ | |item1={{{item1|}}} | ||
+ | |item2_qty={{{item2_qty|}}} | ||
+ | |item2={{{item2|}}} | ||
+ | |item3_qty={{{item3_qty|}}} | ||
+ | |item3={{{item3|}}} | ||
+ | |item4_qty={{{item4_qty|}}} | ||
+ | |item4={{{item4|}}} | ||
+ | |item5_qty={{{item5_qty|}}} | ||
+ | |item5={{{item5|}}} | ||
+ | }} | ||
+ | {{!}} {{#ifexpr: {{{build_num}}} mod 2 = 0 | style="background-color: #202020" | }} rowspan={{#expr:{{#if:{{{item1|}}}|1|0}}+{{#if:{{{item2|}}}|1|0}}+{{#if:{{{item3|}}}|1|0}}+{{#if:{{{item4|}}}|1|0}}+{{#if:{{{item5|}}}|1|0}}}} valign='center' align='center' {{!}} | ||
+ | {{Total_images | ||
+ | |item1_qty={{{item1_qty|}}} | ||
+ | |item1={{{item1|}}} | ||
+ | |item2_qty={{{item2_qty|}}} | ||
+ | |item2={{{item2|}}} | ||
+ | |item3_qty={{{item3_qty|}}} | ||
+ | |item3={{{item3|}}} | ||
+ | |item4_qty={{{item4_qty|}}} | ||
+ | |item4={{{item4|}}} | ||
+ | |item5_qty={{{item5_qty|}}} | ||
+ | |item5={{{item5|}}} | ||
+ | }} }} | ||
{{!-}} | {{!-}} | ||
{{#if:{{{item2|}}}| | {{#if:{{{item2|}}}| | ||
− | {{!}} {{{item2_qty}}} x {{I|{{{item2}}}}} | + | {{!}} {{#ifexpr: {{{build_num}}} mod 2 = 0 | style="background-color: #202020" | }} {{!}} {{{item2_qty}}} x {{I|{{{item2}}}}} |
− | {{!}} valign='center' align='center' {{!}} Level {{#show: Items/{{{item2}}} | ?Has Itemlevel}} <br /> {{#show: Items/{{{item2}}} | ?Has Itemrarity}} <br /> {{#show: Items/{{{item2}}} | ?Has Itemtype}} | + | {{!}} valign='center' align='center' {{#ifexpr: {{{build_num}}} mod 2 = 0 | style="background-color: #202020" | }} {{!}} Level {{#show: Items/{{{item2}}} | ?Has Itemlevel}} <br /> {{#show: Items/{{{item2}}} | ?Has Itemrarity}} <br /> {{#show: Items/{{{item2}}} | ?Has Itemtype}} |
− | {{!}} {{ | + | {{!}} {{#ifexpr: {{{build_num}}} mod 2 = 0 | style="background-color: #202020" | }} {{!}} {{Total_cards|{{{item2_qty}}}|{{{item2}}} }} }} |
− | {{!}} | + | |
{{!-}} | {{!-}} | ||
{{#if:{{{item3|}}}| | {{#if:{{{item3|}}}| | ||
− | {{!}} {{{item3_qty}}} x {{I|{{{item3}}}}} | + | {{!}} {{#ifexpr: {{{build_num}}} mod 2 = 0 | style="background-color: #202020" | }} {{!}} {{{item3_qty}}} x {{I|{{{item3}}}}} |
− | {{!}} valign='center' align='center' {{!}} Level {{#show: Items/{{{item3}}} | ?Has Itemlevel}} <br /> {{#show: Items/{{{item3}}} | ?Has Itemrarity}} <br /> {{#show: Items/{{{item3}}} | ?Has Itemtype}} | + | {{!}} valign='center' align='center' {{#ifexpr: {{{build_num}}} mod 2 = 0 | style="background-color: #202020" | }} {{!}} Level {{#show: Items/{{{item3}}} | ?Has Itemlevel}} <br /> {{#show: Items/{{{item3}}} | ?Has Itemrarity}} <br /> {{#show: Items/{{{item3}}} | ?Has Itemtype}} |
− | {{!}} {{ | + | {{!}} {{#ifexpr: {{{build_num}}} mod 2 = 0 | style="background-color: #202020" | }} {{!}} {{Total_cards|{{{item3_qty}}}|{{{item3}}} }} }} |
− | {{!}} | + | |
{{!-}} | {{!-}} | ||
{{#if:{{{item4|}}}| | {{#if:{{{item4|}}}| | ||
− | {{!}} {{{item4_qty}}} x {{I|{{{item4}}}}} | + | {{!}} {{#ifexpr: {{{build_num}}} mod 2 = 0 | style="background-color: #202020" | }} {{!}} {{{item4_qty}}} x {{I|{{{item4}}}}} |
− | {{!}} valign='center' align='center' {{!}} Level {{#show: Items/{{{item4}}} | ?Has Itemlevel}} <br /> {{#show: Items/{{{item4}}} | ?Has Itemrarity}} <br /> {{#show: Items/{{{item4}}} | ?Has Itemtype}} | + | {{!}} valign='center' align='center' {{#ifexpr: {{{build_num}}} mod 2 = 0 | style="background-color: #202020" | }} {{!}} Level {{#show: Items/{{{item4}}} | ?Has Itemlevel}} <br /> {{#show: Items/{{{item4}}} | ?Has Itemrarity}} <br /> {{#show: Items/{{{item4}}} | ?Has Itemtype}} |
− | {{!}} {{ | + | {{!}} {{#ifexpr: {{{build_num}}} mod 2 = 0 | style="background-color: #202020" | }} {{!}} {{Total_cards|{{{item4_qty}}}|{{{item4}}} }} }} |
− | {{!}} | + | |
{{!-}} | {{!-}} | ||
{{#if:{{{item5|}}}| | {{#if:{{{item5|}}}| | ||
− | {{!}} {{{item5_qty}}} x {{I|{{{item5}}}}} | + | {{!}} {{#ifexpr: {{{build_num}}} mod 2 = 0 | style="background-color: #202020" | }} {{!}} {{{item5_qty}}} x {{I|{{{item5}}}}} |
− | {{!}} valign='center' align='center' {{!}} Level {{#show: Items/{{{item5}}} | ?Has Itemlevel}} <br /> {{#show: Items/{{{item5}}} | ?Has Itemrarity}} <br /> {{#show: Items/{{{item5}}} | ?Has Itemtype}} | + | {{!}} valign='center' align='center' {{#ifexpr: {{{build_num}}} mod 2 = 0 | style="background-color: #202020" | }} {{!}} Level {{#show: Items/{{{item5}}} | ?Has Itemlevel}} <br /> {{#show: Items/{{{item5}}} | ?Has Itemrarity}} <br /> {{#show: Items/{{{item5}}} | ?Has Itemtype}} |
− | {{!}} {{ | + | {{!}} {{#ifexpr: {{{build_num}}} mod 2 = 0 | style="background-color: #202020" | }} {{!}} {{Total_cards|{{{item5_qty}}}|{{{item5}}} }} }} |
− | {{!}} | + | |
{{!-}}</includeonly><noinclude> | {{!-}}</includeonly><noinclude> | ||
Latest revision as of 19:26, 30 October 2013
This is the template outline for a single build row in the max card table.