Template:BTDB tower info: Difference between revisions
Pymonkibot (talk | contribs) m Text replacement - "info-sub" to "subtable" |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly><templatestyles src="Info/style.css"/><div class="info"><!-- | ||
--><div class="head">{{{name}}}</div><!-- | |||
--><tabs><tab name="Multiplatform"> | |||
<tab name=" | |||
{|class="subtable main centered-cells" | {|class="subtable main centered-cells" | ||
|colspan="4"|[[File:{{{image M}}}|100px]] | |colspan="4"|[[File:{{{image M}}}|100px|Portrait of {{{name}}}]] | ||
|- | |- | ||
|[[File:{{{icon M}}}|50x50px]] | |[[File:{{{icon M}}}|50x50px]] | ||
| Line 13: | Line 11: | ||
{{#if:{{{image F|}}}|<tab name="Flash"> | {{#if:{{{image F|}}}|<tab name="Flash"> | ||
{|class="subtable 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 23: | Line 21: | ||
|- | |- | ||
!Cost | !Cost | ||
|colspan="3"|{{#ifeq:{{{cost F|{{{cost M|}}}}}}|{{{cost M|}}}|| | |colspan="3"|${{formatnum:{{{cost M|0}}}}} {{#ifeq:{{{cost F|{{{cost M|}}}}}}|{{{cost M|}}}||<!-- | ||
--> (<small>[[Bloons TD Battles (multiplatform)|Multiplatform]]</small>)<br>${{formatnum:{{{cost F|0}}}}} (<small>[[Bloons TD Battles (Flash)|Flash]]</small>) | |||
|}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btdb_towers | |}</div>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btdb_towers | ||
|id={{{id|}}} | |id={{{id|}}} | ||
| Line 41: | Line 39: | ||
|image={{{image M|}}} | |image={{{image M|}}} | ||
|keywords=BTDB {{{name|}}}, BTD Battles {{{name|}}} | |keywords=BTDB {{{name|}}}, BTD Battles {{{name|}}} | ||
}}</includeonly><noinclude | }}</includeonly><noinclude>{{#cargo_declare:_table=btdb_towers | ||
|id=String | |id=String | ||
| Line 55: | Line 52: | ||
|cost_F=Integer | |cost_F=Integer | ||
|cost_M=Integer | |cost_M=Integer | ||
}} | }}{{/doc}}</noinclude> | ||