Template:BTD5 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 - "info-sub" to "subtable"
 
(12 intermediate revisions by one other user not shown)
Line 1: Line 1:
<includeonly>{{#cargo_store:_table=btd5_upgrades
<includeonly>{|class="info"
!class="head"|{{{name M|{{{name F|}}}}}}
|-
|<tabs>
{{#if:{{{image M|}}}|<tab name="Mobile">
{{{!}}class="subtable main centered-cells"
{{!}}colspan="4"{{!}}[[File:{{{image M}}}|200px]]
{{!}}-
{{!}}[[File:{{{icon M}}}|50x50px]]
{{!}}colspan="3" style="text-align:left"{{!}}{{{description M}}}
{{!}}}
</tab>}}
{{#if:{{{image F|}}}|<tab name="Flash">
{{{!}}class="subtable main centered-cells"
{{!}}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
!Tier
|-
|colspan=2|[[{{{tower}}} (BTD5)|{{{tower}}}]]
|{{{path}}}
|{{{tier}}}
|}
{|class="subtable"
|-
!Total [[Tower XP|XP]] to unlock
|colspan="3"|{{formatnum:{{{xp F|0}}}}} {{#ifeq:{{{xp F|{{{xp M|}}}}}}|{{{xp M|{{{xp F|}}}}}}||([[Bloons TD 5 (Flash)|Flash]] / ''[[Bloons TD 5 Deluxe|Deluxe]]'')<br>{{formatnum:{{{xp M|}}}}} ([[Bloons TD 5 (mobile)|mobile]] / [[Bloons TD 5 (console)|console]])}}
|-
!Cost
|colspan="3"|{{#ifexpr:{{{cost F|{{{cost M|0}}}}}} = {{{cost M|0}}} and {{{cost D|{{{cost M|0}}}}}} = {{{cost M|0}}}
||{{#ifeq:{{{cost F|0}}}|{{{cost D|0}}}
|'''Flash / ''Deluxe''''':<br>{{BTD5F cost by difficulty|{{{cost F|0}}}}}<br>'''Mobile / console''':<br>
|{{#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}}}}}<br>}}
}}'''Mobile / console''':<br>}}{{BTD5M cost by difficulty|{{{cost M|0}}}}}
|}
|-
<!-- upgrade prev/next -->
|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
 
|where=tower = "{{{tower|???}}}" AND path = {{{path|0}}} AND (tier = {{{tier|0}}} - 1 OR tier = {{{tier|0}}} + 1) AND NOT unused
|delimiter=
}}
|}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd5_upgrades
|name_F      ={{{name F|}}}
|name_F      ={{{name F|}}}
|name_M      ={{{name M|}}}
|name_M      ={{{name M|}}}
Line 21: Line 71:
|xp_M  ={{{xp M|}}}
|xp_M  ={{{xp M|}}}
|unused={{{unused|No}}}
|unused={{{unused|No}}}
}}{|class="info"
}}[[Category:{{{tower}}} upgrades in BTD5]][[Category:Path {{{path}}} upgrades in BTD5]][[Category:Tier {{{tier}}} upgrades in BTD5]]{{#seo:
!class="head"|{{{name M}}}
|image={{{image M|{{{image F|}}}}}}
|-
|keywords=BTD5 {{{name M|{{{name F|}}}}}}
|style="text-align:center"|<tabs>
}}}}</includeonly><noinclude>{{#cargo_declare:_table=btd5_upgrades
<tab name="Mobile">
{|class="info-sub main centered-cells"
|colspan="4"|[[File:{{{image M}}}|200px]]
|-
|[[File:{{{icon M}}}|50x50px]]
|colspan="3" style="text-align:left"|{{{description M}}}
|}
</tab>
<tab name="Flash">
{|class="info-sub main centered-cells"
|colspan="4"|[[File:{{{image F}}}|200px]]
|-
|[[File:{{{icon F}}}|50x50px]]
|colspan="3" style="text-align:left"|{{{description F}}}
|}
</tab>
</tabs>
|-
|
{|class="info-sub centered-cells"
!colspan=2|Tower
!Path
!Tier
|-
|colspan=2|[[{{{tower}}} (BTD5)|{{{tower}}}]]
|{{{path}}}
|{{{tier}}}
|}
|-
|
{|class="info-sub"
|-
!Total [[Tower XP|XP]] to unlock
|colspan="3"|{{#if:{{{xp F|}}}
|{{#ifeq:{{{xp F|0}}}|{{{xp M|0}}}||
|'''[[Bloons TD 5 (Flash)|Flash]] / ''[[Bloons TD 5 Deluxe|Deluxe]]''''': {{formatnum:{{{xp F|0}}}}}<br>'''[[Bloons TD 5 (mobile)|Mobile]] / [[Bloons TD 5 (console)|console]]''': }}}}{{formatnum:{{{xp M|0}}}}}
|-
!Cost
|colspan="3"|{{#ifexpr:{{{cost F|{{{cost M|0}}}}}} = {{{cost M|0}}} and {{{cost D|{{{cost M|0}}}}}} = {{{cost M|0}}}
||{{#ifeq:{{{cost F|0}}}|{{{cost D|0}}}
|'''Flash / ''Deluxe''''':<br>{{BTD5F cost by difficulty|{{{cost F|0}}}}}<br>'''Mobile / console''':<br>
|{{#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}}}}}<br>}}
}}'''Mobile / console''':<br>}}{{BTD5M cost by difficulty|{{{cost M|0}}}}}
|}
|}[[Category:{{{tower}}} upgrades in BTD5]][[Category:Path {{{path}}} upgrades in BTD5]][[Category:Tier {{{tier}}} upgrades in BTD5]]{{#seo:
|image={{{image M|}}}
|keywords=BTD5 {{{name M|}}}
}}</includeonly><noinclude>{{#cargo_declare:_table=btd5_upgrades
|name_F      =String
|name_F      =String
|name_M      =String
|name_M      =String
Line 94: Line 96:
|xp_M  =Integer
|xp_M  =Integer
|unused=Boolean
|unused=Boolean
}}{{/doc}}[[Category:Infoboxes]][[Category:BTD5 templates]]</noinclude>
}}{{/doc}}</noinclude>

Latest revision as of 05:50, 4 April 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