Template:BMC upgrade info: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
mNo edit summary
Pymonkibot (talk | contribs)
m Text replacement - "<div class="info">" to "<div class="info subtable-container">"
 
(31 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{|class="info"
<includeonly><templatestyles src="Info/style.css"/><div class="info subtable-container"><!--
!class="head"|{{{name M}}}
--><div class="head">{{{name M}}}</div><!--
--><tabs><tab name="Multiplatform">
{|class="subtable main centered"
|[[File:{{{image M}}}|200px|Portrait of {{{name M}}}]]
|-
|-
|
|class="flex-left-icon-wrapper"|[[File:{{{icon M}}}|50px|Icon of {{{name M}}}]]{{{description M}}}
{|class="info-sub main centered-cells"
|colspan=4|[[File:{{{image M}}}|150px|Portrait of {{{name M|}}}]]
|-
|[[File:{{{icon M}}}|50x50px|Icon of {{{name M|}}}]]
|colspan=3 style="text-align:left"|{{{description M}}}
|}
|}
</tab>
{{#if:{{{image F|}}}|<tab name="Flash">
{{{!}}class="subtable main centered"
{{!}}[[File:{{{image F}}}|200px|Portrait of {{{name F}}}]]
{{!}}-
{{!}}class="flex-left-icon-wrapper"{{!}}[[File:{{{icon F}}}|50px|Icon of {{{name F}}}]]{{{description F}}}
{{!}}}
</tab>}}
</tabs>
{|class="subtable"
!Tower
|colspan="2"|[[{{{tower}}} (BMC)|{{{tower}}}]] — Path {{{path}}} — Tier {{{tier}}}
|-
|-
|
![[Cash]] cost
{|class="info-sub centered-cells"
|colspan="2"|${{formatnum:{{{cost M|0}}}}} {{#ifeq:{{{cost F|{{{cost M|}}}}}}|{{{cost M|}}}||<!--
!colspan=2|Tower
--> (<small>[[Bloons Monkey City (multiplatform)|Multiplatform version]]</small>)<br>${{formatnum:{{{cost F|0}}}}} (<small>[[Bloons Monkey City (Flash)|Flash version]]</small>)
!Path
}}
!Tier
|-
|-
|colspan=2|[[{{{tower}}} (BMC)|{{{tower}}}]]
!colspan="3"|Research
|{{{path}}}
|{{{tier}}}
|}
{|class="info-sub"
!colspan="2"|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
!Requirements
|colspan="3"|{{#if:{{#ifexpr:{{{level|1}}} > 1|a}}{{#if:{{{building|}}}|b}}|
|colspan="2"|{{#if:{{#ifexpr:{{{level|1}}} > 1|a}}{{#if:{{{building|}}}|b}}|
{{#ifexpr:{{{level|1}}} > 1|[[City Level]] {{{level}}}}}<br>{{#if:{{{building|}}}|[[{{{building}}}]] built}}|—}}
{{#ifexpr:{{{level|1}}} > 1|[[City Level]] {{{level}}}}}<br>{{#if:{{{building|}}}|{{{building}}} built}}|—}}
|-
|-
!colspan="2"|Cost to research
!Cost
|colspan="3"|{{#if:{{{cc F|}}}|'''Flash''': [[File:BMCF city cash icon.svg|x17px|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|x17px|link=City Cash|City Cash]] {{formatnum:{{{cc M|0}}}}}
|colspan="2"|{{BMCM cc|{{{cc M}}}|size=x17px}} {{#ifexpr:{{{bs|0}}} > 0|<!--
--> (<small>[[Bloons Monkey City (multiplatform)|Multiplatform version]]</small>)<br><!--
--> {{BMCF cc|{{{cc F}}}|size=x17px}} {{#ifexpr:{{{bs|0}}}>0|{{BMCF bs|{{{bs}}}|size=x17px}}}} (<small>[[Bloons Monkey City (Flash)|Flash version]]</small>)
}}
|-
|-
!colspan=2|Time to research
!Time
|colspan=3|{{#ifeq:{{{time F|{{{time M|}}}}}}|{{{time M|0}}}|{{BMC time format|{{{time M|0}}}}}|'''Flash''': {{BMC time format|{{{time F|0}}}}}<br>'''Mobile''': {{BMC time format|{{{time M|0}}}}} <small>(mobile)</small>}}
|colspan="2"|{{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|[[City XP|XP]] for researching
![[Experience|XP]] given
|colspan=3|[[File:BMCM ui_xp_icon.png|x17px|link=Experience|Experience]] {{formatnum:{{{xp|0}}}}}
|colspan="2"|{{BMCM xp|{{{xp}}}|size=x17px}}
|}
|}
|}{{#cargo_store:_table=bmc_upgrades
<!-- 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
 
|where=tower = "{{{tower|???}}}" AND path = {{{path|0}}} AND (tier = {{{tier|0}}} - 1 OR tier = {{{tier|0}}} + 1)
|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|}}}
Line 64: Line 78:
}}[[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>{{/doc}}
}}}}</includeonly><noinclude>{{#cargo_declare:_table=bmc_upgrades
<div>{{#cargo_declare:_table=bmc_upgrades
|name_F      =String
|name_F      =String
|name_M      =String
|name_M      =String
Line 84: Line 97:


|level  =Integer
|level  =Integer
|building=String
|building=Wikitext
|cc_F    =Integer
|cc_F    =Integer
|cc_M    =Integer
|cc_M    =Integer
Line 91: Line 104:
|time_M  =Integer
|time_M  =Integer
|xp      =Integer
|xp      =Integer
}}</div></noinclude>
}}{{/doc}}</noinclude>

Latest revision as of 02:40, 6 July 2026

This template defines the Cargo table "bmc_upgrades". View table.

No description.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
name Mname M

no description

Unknownoptional
image Mimage M

no description

Unknownoptional
icon Micon M

no description

Unknownoptional
description Mdescription M

no description

Unknownoptional
towertower

no description

Unknownoptional
pathpath

no description

Unknownoptional
tiertier

no description

Unknownoptional
cost Fcost F

no description

Unknownoptional
cost Mcost M

no description

Unknownoptional
levellevel

no description

Unknownoptional
buildingbuilding

no description

Unknownoptional
bsbs

no description

Unknownoptional
cc Fcc F

no description

Unknownoptional
cc Mcc M

no description

Unknownoptional
time Ftime F

no description

Unknownoptional
time Mtime M

no description

Unknownoptional
xpxp

no description

Unknownoptional
name Fname F

no description

Unknownoptional
icon Ficon F

no description

Unknownoptional
image Fimage F

no description

Unknownoptional
description Fdescription F

no description

Unknownoptional