Template:BTDB tower info: Difference between revisions

mNo edit summary
Pymonkibot (talk | contribs)
m Text replacement - "info-sub" to "subtable"
 
(One intermediate revision by one other user not shown)
Line 4: Line 4:
|<tabs>
|<tabs>
<tab name="Mobile">
<tab name="Mobile">
{|class="info-sub main centered-cells"
{|class="subtable main centered-cells"
|colspan="4"|[[File:{{{image M}}}|100px]]
|colspan="4"|[[File:{{{image M}}}|100px]]
|-
|-
Line 12: Line 12:
</tab>
</tab>
{{#if:{{{image F|}}}|<tab name="Flash">
{{#if:{{{image F|}}}|<tab name="Flash">
{|class="info-sub main centered-cells"
{|class="subtable main centered-cells"
|colspan="4"|[[File:{{{image F}}}|100px]]
|colspan="4"|[[File:{{{image F}}}|100px]]
|-
|-
Line 20: Line 20:
</tab>}}
</tab>}}
</tabs>
</tabs>
{|class="info-sub"
{|class="subtable"
|-
|-
!Cost
!Cost
|colspan="3"|{{#ifeq:{{{cost F|{{{cost M|}}}}}}|{{{cost M|}}}||'''[[Bloons TD Battles (Flash)|Flash]]''': ${{formatnum:{{{cost F|0}}}}}<br>'''[[Bloons TD Battles (mobile)|Mobile]]''':}} ${{formatnum:{{{cost M|0}}}}}
|colspan="3"|{{#ifeq:{{{cost F|{{{cost M|}}}}}}|{{{cost M|}}}||'''[[Bloons TD Battles (Flash)|Flash]]''': ${{formatnum:{{{cost F|0}}}}}<br>'''[[Bloons TD Battles (mobile)|Mobile]]''':}} ${{formatnum:{{{cost M|0}}}}}
|}
|}
|}{{#cargo_store:_table=btdb_towers
|}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btdb_towers
|id={{{id|}}}
|id={{{id|}}}


Line 38: Line 38:
|cost_F={{{cost F|}}}
|cost_F={{{cost F|}}}
|cost_M={{{cost M|}}}
|cost_M={{{cost M|}}}
}}[[Category:Towers in Battles]]{{#seo:
}}[[Category:Towers in Battles]]}}{{#seo:
|image={{{image M|}}}
|image={{{image M|}}}
|keywords=BTDB {{{name M|}}}, BTD Battles {{{name M|}}}
|keywords=BTDB {{{name|}}}, BTD Battles {{{name|}}}
}}</includeonly><noinclude>{{/doc}}
}}</includeonly><noinclude>{{/doc}}
<div>{{#cargo_declare:_table=btdb_towers
<div>{{#cargo_declare:_table=btdb_towers