Template:BMC tower info: Difference between revisions
mNo edit summary |
Pymonkibot (talk | contribs) m Text replacement - "info-sub" to "subtable" |
||
| (6 intermediate revisions by one other user not shown) | |||
| Line 2: | Line 2: | ||
!class="head"|{{{name}}} | !class="head"|{{{name}}} | ||
|- | |- | ||
| | |<tabs> | ||
{|class=" | <tab name="Mobile"> | ||
|colspan="4"|[[File:{{{image M}}}| | {|class="subtable main centered-cells" | ||
|colspan="4"|[[File:{{{image M}}}|200px]] | |||
|- | |- | ||
|[[File:{{{icon M}}}| | |[[File:{{{icon M}}}|50px]] | ||
|colspan="3" style="text-align:left"|{{{description M}}} | |colspan="3" style="text-align:left"|{{{description M}}} | ||
|} | |} | ||
{|class=" | </tab> | ||
{{#if:{{{image F|}}}|<tab name="Flash"> | |||
{|class="subtable main centered-cells" | |||
|colspan="4"|[[File:{{{image F}}}|200px]] | |||
|- | |||
|[[File:{{{icon F}}}|50px]] | |||
|colspan="3" style="text-align:left"|{{{description F}}} | |||
|} | |||
</tab>}} | |||
</tabs> | |||
{|class="subtable" | |||
!Cost | !Cost | ||
|colspan="2"|{{#ifeq:{{{cost F|{{{cost M|}}}}}}|{{{cost M|}}}||'''[[Bloons Monkey City (Flash)|Flash]]''': ${{formatnum:{{{cost F|0}}}}}<br>'''[[Bloons Monkey City (mobile)|Mobile]]''':}} ${{formatnum:{{{cost M|0}}}}} | |colspan="2"|{{#ifeq:{{{cost F|{{{cost M|}}}}}}|{{{cost M|}}}||'''[[Bloons Monkey City (Flash)|Flash]]''': ${{formatnum:{{{cost F|0}}}}}<br>'''[[Bloons Monkey City (mobile)|Mobile]]''':}} ${{formatnum:{{{cost M|0}}}}} | ||
| Line 15: | Line 26: | ||
!Hotkey | !Hotkey | ||
|colspan="2"|{{key|{{{hotkey}}}}} | |colspan="2"|{{key|{{{hotkey}}}}} | ||
|- | |||
!Favoured on | |||
|colspan="2"|{{#cargo_query:table=bmc_terrain | |||
|fields=CONCAT("[[", _pageName, "|", name, "]]") = text | |||
|where=favoured HOLDS "[[{{{name|}}} (BMC)|{{{name|}}}]]" | |||
|default=—}} | |||
|- | |||
!Restricted on | |||
|colspan="2"|{{#cargo_query:table=bmc_terrain | |||
|fields=CONCAT("[[", _pageName, "|", name, "]]") = text | |||
|where=restricted HOLDS "[[{{{name|}}} (BMC)|{{{name|}}}]]" | |||
|default=—}} | |||
|- | |- | ||
!colspan="3"|My Monkeys bio | !colspan="3"|My Monkeys bio | ||
| Line 33: | Line 56: | ||
|colspan="2"|{{#if:{{{upgrades|}}}|{{{upgrades|}}}|—}} | |colspan="2"|{{#if:{{{upgrades|}}}|{{{upgrades|}}}|—}} | ||
|} | |} | ||
|}{{#cargo_store:_table=bmc_towers | |}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=bmc_towers | ||
|id={{{id|}}} | |id={{{id|}}} | ||
| Line 46: | Line 69: | ||
|cost_F={{{cost F|}}} | |cost_F={{{cost F|}}} | ||
|cost_M={{{cost M|}}} | |cost_M={{{cost M|}}} | ||
}}[[Category:Towers in BMC]]{{#seo: | }}[[Category:Towers in BMC]]}}{{#seo: | ||
|image={{{image M|}}} | |image={{{image M|}}} | ||
|keywords=BMC {{{name | |keywords=BMC {{{name|}}}, Monkey City {{{name|}}} | ||
}}</includeonly><noinclude>{{/doc}} | }}</includeonly><noinclude>{{/doc}} | ||
<div>{{#cargo_declare:_table=bmc_towers | <div>{{#cargo_declare:_table=bmc_towers | ||