Template:BMC upgrade info: Difference between revisions
mNo edit summary |
Pymonkibot (talk | contribs) m Text replacement - "info-sub" to "subtable" |
||
| (29 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
< | <includeonly>{|class="info" | ||
| | !class="head"|{{{name M}}} | ||
| | |- | ||
| | |<tabs> | ||
| | <tab name="Mobile"> | ||
| | {|class="subtable main centered-cells" | ||
| | |colspan="4"|[[File:{{{image M}}}|200px]] | ||
| | |- | ||
| | |[[File:{{{icon M}}}|50x50px]] | ||
|colspan="3" style="text-align:left"|{{{description M}}} | |||
| | |} | ||
| | </tab> | ||
| | {{#if:{{{image F|}}}|<tab name="Flash"> | ||
{{{!}}class="subtable main centered-cells" | |||
| | {{!}}colspan="4"{{!}}[[File:{{{image F}}}|200px]] | ||
| | {{!}}- | ||
{{!}}[[File:{{{icon F}}}|50x50px]] | |||
{{!}}colspan="3" style="text-align:left"{{!}}{{{description F}}} | |||
{{!}}} | |||
</tab>}} | |||
</tabs> | |||
{|class="subtable centered-cells" | |||
!colspan="2"|Tower | |||
!Path | |||
!Tier | |||
|- | |||
|colspan="2"|[[{{{tower}}} (BMC)|{{{tower}}}]] | |||
|{{{path}}} | |||
|{{{tier}}} | |||
|} | |||
{|class="subtable" | |||
!colspan="2"|Upgrade cost | |||
|colspan="3"|{{#ifeq:{{{cost F|{{{cost M|}}}}}}|{{{cost M|}}}||'''[[Bloons Monkey City (Flash)|Flash]]''': ${{formatnum:{{{cost F|}}}}}<br>'''[[Bloons Monkey City (mobile)|Mobile]]''':}} ${{formatnum:{{{cost M|}}}}} | |||
|- | |||
!colspan="2"|Prerequisites | |||
|colspan="3"|{{#if:{{#ifexpr:{{{level|1}}} > 1|a}}{{#if:{{{building|}}}|b}}| | |||
{{#ifexpr:{{{level|1}}} > 1|[[City Level]] {{{level}}}}}<br>{{#if:{{{building|}}}|{{{building}}} built}}|—}} | |||
|- | |||
!colspan="2"|Research cost | |||
|colspan="3"|{{#ifexpr:{{{cc F|{{{cc M|}}}}}} != {{{cc M|}}} or {{{bs|0}}}>0|'''Flash''': [[File:BMCF city cash icon.svg|x20px|link=City Cash]] {{formatnum:{{{cc F|0}}}}}{{#ifexpr:{{{bs|0}}}>0|, [[File:BMCF bloonstone icon.svg|17px|link=Bloonstone]] {{formatnum:{{{bs|0}}}}}}}<br>'''Mobile''':}} [[File:BMCM ui_cash_icon.png|x20px|link=City Cash|City Cash]] {{formatnum:{{{cc M|0}}}}} | |||
|- | |||
!colspan=2|Research time | |||
|colspan=3|{{#ifeq:{{{time F|{{{time M|}}}}}}|{{{time M|0}}}||'''Flash''': {{BMC time format|{{{time F|0}}}}}<br>'''Mobile''':}} {{BMC time format|{{{time M|0}}}}} | |||
|- | |||
!colspan=2|[[Experience|XP]] for researching | |||
|colspan=3|[[File:BMCM ui_xp_icon.png|x20px|link=Experience|Experience]] {{formatnum:{{{xp|0}}}}} | |||
|} | |||
|- | |||
<!-- upgrade prev/next --> | |||
|class="foot"|{{#cargo_query:table=bmc_upgrades | |||
|fields=CONCAT(IF(tier<{{{tier|0}}}, "<div style='float:left'>[[", "<div style='float:right'>[["), _pageName, "{{!}}", IF(tier>{{{tier|0}}}, CONCAT(name_M, " →]]"), CONCAT("← ", name_M, "]]")), "</div>") = text | |||
| | |where=tower = "{{{tower|???}}}" AND path = {{{path|0}}} AND (tier = {{{tier|0}}} - 1 OR tier = {{{tier|0}}} + 1) | ||
| | |delimiter= | ||
| | }} | ||
| | |}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=bmc_upgrades | ||
| | |||
| | |||
| | |||
}} | |||
|name_F ={{{name F|}}} | |name_F ={{{name F|}}} | ||
|name_M ={{{name M|}}} | |name_M ={{{name M|}}} | ||
| Line 52: | Line 81: | ||
}}[[Category:{{{tower}}} upgrades in BMC]][[Category:Path {{{path}}} upgrades in BMC]][[Category:Tier {{{tier}}} upgrades in BMC]]{{#seo: | }}[[Category:{{{tower}}} upgrades in BMC]][[Category:Path {{{path}}} upgrades in BMC]][[Category:Tier {{{tier}}} upgrades in BMC]]{{#seo: | ||
|image={{{image M|}}} | |image={{{image M|}}} | ||
|keywords=BMC {{{name M|}}} | |keywords=BMC {{{name M|}}}, Bloons Monkey City {{{name M|}}} | ||
}}</includeonly> | }}}}</includeonly><noinclude>{{#cargo_declare:_table=bmc_upgrades | ||
{ | |name_F =String | ||
|name_M =String | |||
| | |icon_F =File | ||
| | |icon_M =File | ||
|image_F =File | |||
| | |image_M =File | ||
| | |description_F=String | ||
|description_M=String | |||
| | |||
|tower=String | |||
|path =Integer | |||
| | |tier =Integer | ||
|cost_F=Integer | |||
|cost_M=Integer | |||
| | |level =Integer | ||
|building=Wikitext | |||
| | |cc_F =Integer | ||
| | |cc_M =Integer | ||
|bs =Integer | |||
|time_F =Integer | |||
| | |time_M =Integer | ||
|xp =Integer | |||
| | }}{{/doc}}</noinclude> | ||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||
| | |||