Template:BTDB tower info: Difference between revisions

mNo edit summary
Pymonkibot (talk | contribs)
m Text replacement - "<div class="info">" to "<div class="info subtable-container">"
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{|class="info"
<includeonly><templatestyles src="Info/style.css"/><div class="info subtable-container"><!--
!class="head"|{{{name}}}
--><div class="head">{{{name}}}</div><!--
|-
--><tabs><tab name="Multiplatform">
|style="text-align:center"|<tabs>
{|class="subtable main centered-cells"
<tab name="Mobile">
|colspan="4"|[[File:{{{image M}}}|100px|Portrait of {{{name}}}]]
{|class="info-sub main centered-cells"
|colspan="4"|[[File:{{{image M}}}|100px]]
|-
|-
|[[File:{{{icon M}}}|50x50px]]
|[[File:{{{icon M}}}|50x50px]]
Line 12: Line 10:
</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|Portrait of {{{name}}}]]
|-
|-
|[[File:{{{icon F}}}|50x50px]]
|[[File:{{{icon F}}}|50x50px]]
Line 20: Line 18:
</tab>}}
</tab>}}
</tabs>
</tabs>
|-
{|class="subtable"
|
{|class="info-sub"
|-
|-
!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"|${{formatnum:{{{cost M|0}}}}} {{#ifeq:{{{cost F|{{{cost M|}}}}}}|{{{cost M|}}}||<!--
|}
--> (<small>[[Bloons TD Battles (multiplatform)|Multiplatform version]]</small>)<br>${{formatnum:{{{cost F|0}}}}} (<small>[[Bloons TD Battles (Flash)|Flash version]]</small>)
|}{{#cargo_store:_table=btdb_towers
}}
|}</div>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btdb_towers
|id={{{id|}}}
|id={{{id|}}}


Line 40: Line 37:
|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>{{#cargo_declare:_table=btdb_towers
<div>{{#cargo_declare:_table=btdb_towers
|id=String
|id=String


Line 57: Line 53:
|cost_F=Integer
|cost_F=Integer
|cost_M=Integer
|cost_M=Integer
}}</div></noinclude>
}}{{/doc}}</noinclude>