Template:BMC upgrade info: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
Created page with "<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=String |cc_F =Integer |cc_M =Integer |bs =Integer |time_F =Integer |time_M =Integer |xp =Integer }}</noinclude> <includeonly>{{#cargo_..."
 
Pymonkibot (talk | contribs)
m Text replacement - "<div class="info">" to "<div class="info subtable-container">"
 
(52 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{#cargo_declare:_table=bmc_upgrades
<includeonly><templatestyles src="Info/style.css"/><div class="info subtable-container"><!--
|name_F      =String
--><div class="head">{{{name M}}}</div><!--
|name_M      =String
--><tabs><tab name="Multiplatform">
|icon_F      =File
{|class="subtable main centered"
|icon_M      =File
|[[File:{{{image M}}}|200px|Portrait of {{{name M}}}]]
|image_F      =File
|-
|image_M      =File
|class="flex-left-icon-wrapper"|[[File:{{{icon M}}}|50px|Icon of {{{name M}}}]]{{{description M}}}
|description_F=String
|}
|description_M=String
</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
|colspan="2"|${{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="3"|Research
|-
!Requirements
|colspan="2"|{{#if:{{#ifexpr:{{{level|1}}} > 1|a}}{{#if:{{{building|}}}|b}}|
{{#ifexpr:{{{level|1}}} > 1|[[City Level]] {{{level}}}}}<br>{{#if:{{{building|}}}|{{{building}}} built}}|—}}
|-
!Cost
|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>)
}}
|-
!Time
|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>)
}}
|-
![[Experience|XP]] given
|colspan="2"|{{BMCM xp|{{{xp}}}|size=x17px}}
|}
<!-- 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


|tower=String
|where=tower = "{{{tower|???}}}" AND path = {{{path|0}}} AND (tier = {{{tier|0}}} - 1 OR tier = {{{tier|0}}} + 1)
|path =Integer
|delimiter=
|tier =Integer
}}</div></div>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=bmc_upgrades
 
|cost_F=Integer
|cost_M=Integer
 
|level  =Integer
|building=String
|cc_F    =Integer
|cc_M    =Integer
|bs      =Integer
|time_F  =Integer
|time_M  =Integer
|xp      =Integer
}}</noinclude>
<includeonly>{{#cargo_store:_table=bmc_upgrades
|name_F      ={{{name F|}}}
|name_F      ={{{name F|}}}
|name_M      ={{{name M|}}}
|name_M      ={{{name M|}}}
Line 52: 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>
}}}}</includeonly><noinclude>{{#cargo_declare:_table=bmc_upgrades
{|class="info"
|name_F      =String
!class="head"|{{{name M}}}
|name_M      =String
|-
|icon_F      =File
|
|icon_M      =File
{|class="info-sub main centered-cells"
|image_F      =File
|colspan=4|[[File:{{{image M}}}|200px]]
|image_M      =File
|-
|description_F=String
|[[File:{{{icon M}}}|50x50px]]
|description_M=String
|colspan=3 style="text-align:left"|''{{{description M}}}''
 
|}
|tower=String
|-
|path =Integer
|
|tier =Integer
{|class="info-sub centered-cells"
 
!colspan=2|Tower
|cost_F=Integer
!Path
|cost_M=Integer
!Tier
 
|-
|level  =Integer
|colspan=2|[[{{{tower}}} (BTD5)|{{{tower}}}]]
|building=Wikitext
|{{{path}}}
|cc_F    =Integer
|{{{tier}}}
|cc_M    =Integer
|}
|bs      =Integer
|-
|time_F  =Integer
|
|time_M  =Integer
{|class="info-sub"
|xp      =Integer
|-
}}{{/doc}}</noinclude>
!Unlock cost
|colspan=2|{{#if:{{{bs|}}}|{{BMCF bs|{{{bs|0}}}}}}}{{BMCF cc|{{{cc F|0}}}}} <small>(Flash)</small><br>{{BMCM cc|{{{cc M|0}}}}} <small>(mobile)</small>
|-
![[Special Building]] required
|colspan=2|{{{building|''None''}}}
|-
!Time to unlock
|colspan=2|{{#ifeq:{{{time F|}}}|{{{time M|}}}|{{#time:z:H:i:s|@{{#expr:{{{time F|0}}} * 60}}}}|{{#time:z:H:i:s|@{{#expr:{{{time F|0}}} * 60}}}} <small>(Flash)</small><br>{{#time:z:H:i:s|@{{#expr:{{{time M|0}}} * 60}}}} <small>(mobile)</small>}}
|-
![[City XP|XP]] rewarded
|colspan=2|{{{xp|0}}}
|}
|}<noinclude>{{/doc}}[[Category:Infoboxes]][[Category:BMC templates]]</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