Template:BTD5 upgrade info: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(29 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{#cargo_declare:_table=btd5_upgrades
<includeonly><templatestyles src="Info/style.css"/><div class="info subtable-container"><!--
|name_F      =String
--><div class="head">{{{name M|{{{name F|}}}}}}</div>
|name_M      =String
<tabs>
|name_C      =String
{{#if:{{{image M|}}}|<tab name="Multiplatform">
|icon_F      =File
{{{!}}class="subtable main centered"
|icon_M      =File
{{!}}[[File:{{{image M}}}|200px]]
|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>}}
|description_C=String
{{#if:{{{image F|}}}|<tab name="Flash">
 
{{{!}}class="subtable main centered"
|tower=String
{{!}}[[File:{{{image F}}}|200px]]
|path =Integer
{{!}}-
|tier =Integer
{{!}}class="flex-left-icon-wrapper"{{!}}[[File:{{{icon F}}}|50px|Icon of {{{name F}}}]]{{{description F}}}
{{!}}}
</tab>}}
</tabs>
{|class="subtable"
!Tower
|colspan="2"|[[{{{tower}}} (BTD5)|{{{tower}}}]] — Path {{{path}}} — Tier {{{tier}}}
|-
!Total [[Tower XP|XP]] to unlock
|colspan="2"|{{formatnum:{{{xp M|{{{xp F|0}}}}}}}} {{#ifeq:{{{xp F|{{{xp M|}}}}}}|{{{xp M|{{{xp F|}}}}}}||<!--
--> (<small>[[Bloons TD 5 (multiplatform)|Multiplatform version]]</small>)<br>{{formatnum:{{{xp F|0}}}}} (<small>[[Bloons TD 5 (Flash)|Flash version]]</small>)}}
|-
!Cost
|colspan="2"|{{#ifexpr:{{{cost F|{{{cost M|0}}}}}} = {{{cost M|0}}} and {{{cost D|{{{cost M|0}}}}}} = {{{cost M|0}}}|{{BTD5M cost by difficulty|{{{cost M|0}}}}}|<!--
-->'''Multiplatform''':<br>{{BTD5M cost by difficulty|{{{cost M|0}}}}}<br><!--
-->{{#ifeq:{{{cost F|0}}}|{{{cost D|0}}}|'''Flash / ''Deluxe''''':<br>{{BTD5F cost by difficulty|{{{cost F|0}}}}}|<!--
-->{{#if:{{{cost F|}}}|'''Flash''':<br>{{BTD5F cost by difficulty|{{{cost F|0}}}}}<br>}}<!--
-->{{#if:{{{cost D|}}}|'''''Deluxe''''':<br>{{BTD5F cost by difficulty|{{{cost D|0}}}}}}}}}}}
|}
<!-- upgrade prev/next -->
<div class="foot">{{#cargo_query:table=btd5_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


|cost_F=Integer
|where=tower = "{{{tower|???}}}" AND path = {{{path|0}}} AND (tier = {{{tier|0}}} - 1 OR tier = {{{tier|0}}} + 1) AND NOT unused
|cost_D=Integer
|delimiter=
|cost_M=Integer
}}</div></div>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd5_upgrades
|xp_F  =Integer
|xp_M  =Integer
}}</noinclude>
<includeonly>{{#cargo_store:_table=btd5_upgrades
|name_F      ={{{name F|}}}
|name_F      ={{{name F|}}}
|name_M      ={{{name M|}}}
|name_M      ={{{name M|}}}
Line 42: Line 59:
|xp_F  ={{{xp F|}}}
|xp_F  ={{{xp F|}}}
|xp_M  ={{{xp M|}}}
|xp_M  ={{{xp M|}}}
|unused={{{unused|No}}}
}}[[Category:{{{tower}}} upgrades in BTD5]][[Category:Path {{{path}}} upgrades in BTD5]][[Category:Tier {{{tier}}} upgrades in BTD5]]{{#seo:
}}[[Category:{{{tower}}} upgrades in BTD5]][[Category:Path {{{path}}} upgrades in BTD5]][[Category:Tier {{{tier}}} upgrades in BTD5]]{{#seo:
|image={{{image M|}}}
|image={{{image M|{{{image F|}}}}}}
|keywords=BTD5 {{{name M|}}}
|keywords=BTD5 {{{name M|{{{name F|}}}}}}
}}</includeonly>
}}}}</includeonly><noinclude>{{#cargo_declare:_table=btd5_upgrades
{|class="info"
|name_F      =String
!class="head"|{{{name M}}}
|name_M      =String
|-
|name_C      =String
|
|icon_F      =File
{|class="info-sub main centered-cells"
|icon_M      =File
|colspan=4|[[File:{{{image M}}}|200px]]
|image_F      =File
|-
|image_M      =File
|[[File:{{{icon M}}}|50x50px]]
|description_F=String
|colspan=3 style="text-align:left"|''{{{description M}}}''
|description_M=String
|}
|description_C=String
|-
 
|
|tower=String
{|class="info-sub centered-cells"
|path =Integer
!colspan=2|Tower
|tier =Integer
!Path
 
!Tier
|cost_F=Integer
|-
|cost_D=Integer
|colspan=2|[[{{{tower}}} (BTD5)|{{{tower}}}]]
|cost_M=Integer
|{{{path}}}
|xp_F  =Integer
|{{{tier}}}
|xp_M  =Integer
|}
|unused=Boolean
|-
}}{{/doc}}</noinclude>
|
{|class="info-sub"
|-
!rowspan="2"|Total [[Tower XP|XP]] to unlock
![[Bloons TD 5 (Flash)|Flash]] / ''[[Bloons TD 5 Deluxe|Deluxe]]''
|colspan="2"|{{formatnum:{{{xp F|0}}}}}
|-
![[Bloons TD 5 (mobile)|Mobile]] / [[Bloons TD 5 (console)|console]]
|colspan="2"|{{formatnum:{{{xp M|0}}}}}
|-
!rowspan="3"|Cost
!Flash
|colspan="2"|{{BTD5F cost by difficulty|{{{cost F|0}}}}}
|-
!''Deluxe''
|colspan="2"|{{BTD5F cost by difficulty|{{{cost D|0}}}}}
|-
!Mobile / console
|colspan="2"|{{BTD5M cost by difficulty|{{{cost M|0}}}}}
|}
|}<noinclude>{{/doc}}[[Category:Infoboxes]][[Category:BTD5 templates]]</noinclude>

Latest revision as of 21:19, 8 July 2026

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

No description.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
name Fname F

no description

Unknownoptional
name Mname M

no description

Unknownoptional
name Cname C

no description

Unknownoptional
icon Ficon F

no description

Unknownoptional
icon Micon M

no description

Unknownoptional
image Fimage F

no description

Unknownoptional
image Mimage M

no description

Unknownoptional
description Fdescription F

no description

Unknownoptional
description Mdescription M

no description

Unknownoptional
description Cdescription C

no description

Unknownoptional
towertower

no description

Unknownoptional
pathpath

no description

Unknownoptional
tiertier

no description

Unknownoptional
cost Fcost F

no description

Unknownoptional
cost Dcost D

no description

Unknownoptional
cost Mcost M

no description

Unknownoptional
xp Fxp F

no description

Unknownoptional
xp Mxp M

no description

Unknownoptional
unusedunused

no description

Unknownoptional