Template:BMC tower info: Difference between revisions
mNo edit summary |
Pymonkibot (talk | contribs) m Text replacement - "info-sub" to "subtable" |
||
| (2 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}}}|50px]] | |[[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 18: | Line 29: | ||
!Favoured on | !Favoured on | ||
|colspan="2"|{{#cargo_query:table=bmc_terrain | |colspan="2"|{{#cargo_query:table=bmc_terrain | ||
|fields=CONCAT("[[", _pageName, "|", name, "]]") | |fields=CONCAT("[[", _pageName, "|", name, "]]") = text | ||
|where=favoured HOLDS "[[{{{name|}}} (BMC)|{{{name|}}}]]" | |where=favoured HOLDS "[[{{{name|}}} (BMC)|{{{name|}}}]]" | ||
|default=—}} | |default=—}} | ||
| Line 24: | Line 35: | ||
!Restricted on | !Restricted on | ||
|colspan="2"|{{#cargo_query:table=bmc_terrain | |colspan="2"|{{#cargo_query:table=bmc_terrain | ||
|fields=CONCAT("[[", _pageName, "|", name, "]]") | |fields=CONCAT("[[", _pageName, "|", name, "]]") = text | ||
|where=restricted HOLDS "[[{{{name|}}} (BMC)|{{{name|}}}]]" | |where=restricted HOLDS "[[{{{name|}}} (BMC)|{{{name|}}}]]" | ||
|default=—}} | |default=—}} | ||