Template:BMC upgrade info: Difference between revisions
Jump to navigation
Jump to search
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 M}}}</div><!-- | |||
--><tabs><tab name="Multiplatform"> | |||
{|class="subtable main centered" | |||
<tab name=" | |colspan="4"|[[File:{{{image M}}}|200px|Portrait of {{{name M}}}]] | ||
{|class="subtable main centered | |||
|colspan="4"|[[File:{{{image M}}}|200px]] | |||
|- | |- | ||
|[[File:{{{icon M}}}|50x50px]] | |[[File:{{{icon M}}}|50x50px]] | ||
| Line 12: | Line 10: | ||
</tab> | </tab> | ||
{{#if:{{{image F|}}}|<tab name="Flash"> | {{#if:{{{image F|}}}|<tab name="Flash"> | ||
{{{!}}class="subtable main centered | {{{!}}class="subtable main centered" | ||
{{!}}colspan="4"{{!}}[[File:{{{image F}}}|200px]] | {{!}}colspan="4"{{!}}[[File:{{{image F}}}|200px|Portrait of {{{name F}}}]] | ||
{{!}}- | {{!}}- | ||
{{!}}[[File:{{{icon F}}}|50x50px]] | {{!}}[[File:{{{icon F}}}|50x50px]] | ||
| Line 20: | Line 18: | ||
</tab>}} | </tab>}} | ||
</tabs> | </tabs> | ||
{|class="subtable centered | {|class="subtable centered" | ||
!colspan="2"|Tower | !colspan="2"|Tower | ||
!Path | !Path | ||
| Line 31: | Line 29: | ||
{|class="subtable" | {|class="subtable" | ||
!colspan="2"|Upgrade cost | !colspan="2"|Upgrade 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 Monkey City (multiplatform)|Multiplatform version]]</small>)<br>${{formatnum:{{{cost F|0}}}}} (<small>[[Bloons Monkey City (Flash)|Flash version]]</small>) | |||
|- | |- | ||
!colspan="2"|Prerequisites | !colspan="2"|Prerequisites | ||
| Line 38: | Line 37: | ||
|- | |- | ||
!colspan="2"|Research cost | !colspan="2"|Research cost | ||
|colspan="3"|{{#ifexpr:{{{cc F|{{{cc M|}}}}}} != {{{cc M|}}} or {{{bs|0}}}>0| | |colspan="3"|{{BMCM cc|{{{cc M}}}}} {{#ifexpr:{{{cc F|{{{cc M|}}}}}} != {{{cc M|}}} or {{{bs|0}}} > 0|<!-- | ||
--> (<small>[[Bloons Monkey City (multiplatform)|Multiplatform version]]</small>)<br><!-- | |||
--> {{BMCF cc|{{{cc F}}}}}{{#ifexpr:{{{bs|0}}}>0|, {{BMCF bs|{{{bs}}}}} (<small>[[Bloons Monkey City (Flash)|Flash version]]</small>) | |||
}} | |||
|- | |- | ||
!colspan=2|Research time | !colspan=2|Research time | ||
|colspan=3|{{#ifeq:{{{time F|{{{time M|}}}}}}|{{{time M| | |colspan=3|{{BMC time format|{{{time M|0}}}}} {{#ifeq:{{{time F|{{{time M|}}}}}}|{{{time M|}}}||<!-- | ||
--> (<small>[[Bloons Monkey City (multiplatform)|Multiplatform version]]</small>)<br>{{BMC time format|{{{time F|0}}}}} (<small>[[Bloons Monkey City (Flash)|Flash version]]</small>) | |||
|- | |- | ||
!colspan=2|[[Experience|XP]] for researching | !colspan=2|[[Experience|XP]] for researching | ||
|colspan=3|[[File:BMCM ui_xp_icon.png|x20px|link=Experience|Experience]] {{formatnum:{{{xp|0}}}}} | |colspan=3|[[File:BMCM ui_xp_icon.png|x20px|link=Experience|Experience]] {{formatnum:{{{xp|0}}}}} | ||
|} | |} | ||
<!-- upgrade prev/next --> | <!-- upgrade prev/next --> | ||
<div 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 | |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) | |where=tower = "{{{tower|???}}}" AND path = {{{path|0}}} AND (tier = {{{tier|0}}} - 1 OR tier = {{{tier|0}}} + 1) | ||
|delimiter= | |delimiter= | ||
}} | }}</div></div>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=bmc_upgrades | ||
|name_F ={{{name F|}}} | |name_F ={{{name F|}}} | ||
|name_M ={{{name M|}}} | |name_M ={{{name M|}}} | ||
Revision as of 10:14, 10 June 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 |