Template:BMC upgrade info: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Pymonkibot (talk | contribs) m Text replacement - "info-sub" to "subtable" |
||
| (13 intermediate revisions by one other user not shown) | |||
| Line 2: | Line 2: | ||
!class="head"|{{{name M}}} | !class="head"|{{{name M}}} | ||
|- | |- | ||
| | |<tabs> | ||
{|class=" | <tab name="Mobile"> | ||
|colspan=4|[[File:{{{image M}}}| | {|class="subtable main centered-cells" | ||
|colspan="4"|[[File:{{{image M}}}|200px]] | |||
|- | |- | ||
|[[File:{{{icon M}}}|50x50px | |[[File:{{{icon M}}}|50x50px]] | ||
|colspan=3 style="text-align:left"|{{{description M}}} | |colspan="3" style="text-align:left"|{{{description M}}} | ||
|} | |} | ||
|- | </tab> | ||
| | {{#if:{{{image F|}}}|<tab name="Flash"> | ||
{|class=" | {{{!}}class="subtable main centered-cells" | ||
!colspan=2|Tower | {{!}}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 | !Path | ||
!Tier | !Tier | ||
|- | |- | ||
|colspan=2|[[{{{tower}}} (BMC)|{{{tower}}}]] | |colspan="2"|[[{{{tower}}} (BMC)|{{{tower}}}]] | ||
|{{{path}}} | |{{{path}}} | ||
|{{{tier}}} | |{{{tier}}} | ||
|} | |} | ||
{|class=" | {|class="subtable" | ||
!colspan="2"| | !colspan="2"|Upgrade cost | ||
|colspan="3"|{{# | |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="2"|Prerequisites | ||
|colspan="3"|{{#if:{{#ifexpr:{{{level|1}}} > 1|a}}{{#if:{{{building|}}}|b}}| | |colspan="3"|{{#if:{{#ifexpr:{{{level|1}}} > 1|a}}{{#if:{{{building|}}}|b}}| | ||
{{#ifexpr:{{{level|1}}} > 1|[[City Level]] {{{level}}}}}<br>{{#if:{{{building|}}}| | {{#ifexpr:{{{level|1}}} > 1|[[City Level]] {{{level}}}}}<br>{{#if:{{{building|}}}|{{{building}}} built}}|—}} | ||
|- | |- | ||
!colspan="2"| | !colspan="2"|Research cost | ||
|colspan="3"|{{# | |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| | !colspan=2|Research time | ||
|colspan=3|{{#ifeq:{{{time F|{{{time M|}}}}}}|{{{time M|0}}}| | |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|[[ | !colspan=2|[[Experience|XP]] for researching | ||
|colspan=3|[[File:BMCM ui_xp_icon.png| | |colspan=3|[[File:BMCM ui_xp_icon.png|x20px|link=Experience|Experience]] {{formatnum:{{{xp|0}}}}} | ||
|} | |} | ||
|}{{#cargo_store:_table=bmc_upgrades | |- | ||
<!-- 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 64: | 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><noinclude | }}}}</includeonly><noinclude>{{#cargo_declare:_table=bmc_upgrades | ||
|name_F =String | |name_F =String | ||
|name_M =String | |name_M =String | ||
| Line 84: | Line 100: | ||
|level =Integer | |level =Integer | ||
|building= | |building=Wikitext | ||
|cc_F =Integer | |cc_F =Integer | ||
|cc_M =Integer | |cc_M =Integer | ||
| Line 91: | Line 107: | ||
|time_M =Integer | |time_M =Integer | ||
|xp =Integer | |xp =Integer | ||
}} | }}{{/doc}}</noinclude> | ||
Latest revision as of 05:51, 4 April 2026
This template defines the Cargo table "bmc_upgrades". View table.
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| name M | name M | no description | Unknown | optional |
| image M | image M | no description | Unknown | optional |
| icon M | icon M | no description | Unknown | optional |
| description M | description M | no description | Unknown | optional |
| tower | tower | no description | Unknown | optional |
| path | path | no description | Unknown | optional |
| tier | tier | no description | Unknown | optional |
| cost F | cost F | no description | Unknown | optional |
| cost M | cost M | no description | Unknown | optional |
| level | level | no description | Unknown | optional |
| building | building | no description | Unknown | optional |
| bs | bs | no description | Unknown | optional |
| cc F | cc F | no description | Unknown | optional |
| cc M | cc M | no description | Unknown | optional |
| time F | time F | no description | Unknown | optional |
| time M | time M | no description | Unknown | optional |
| xp | xp | no description | Unknown | optional |
| name F | name F | no description | Unknown | optional |
| icon F | icon F | no description | Unknown | optional |
| image F | image F | no description | Unknown | optional |
| description F | description F | no description | Unknown | optional |