Template:BTD5 upgrade info: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
added navigation links for prev/next upgrades
mNo edit summary
 
(15 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|{{{name F|}}}}}}</div>
|-
<tabs>
|<tabs>
{{#if:{{{image M|}}}|<tab name="Multiplatform">
<tab name="Mobile">
{{{!}}class="subtable main centered"
{|class="info-sub main centered-cells"
{{!}}[[File:{{{image M}}}|200px]]
|colspan="4"|[[File:{{{image M}}}|200px]]
{{!}}-
|-
{{!}}class="flex-left-icon-wrapper"{{!}}[[File:{{{icon M}}}|50px|Icon of {{{name M}}}]]{{{description M}}}
|[[File:{{{icon M}}}|50x50px]]
{{!}}}
|colspan="3" style="text-align:left"|{{{description M}}}
</tab>}}
|}
</tab>
{{#if:{{{image F|}}}|<tab name="Flash">
{{#if:{{{image F|}}}|<tab name="Flash">
{{{!}}class="info-sub main centered-cells"
{{{!}}class="subtable main centered"
{{!}}colspan="4"{{!}}[[File:{{{image F}}}|200px]]
{{!}}[[File:{{{image F}}}|200px]]
{{!}}-
{{!}}-
{{!}}[[File:{{{icon F}}}|50x50px]]
{{!}}class="flex-left-icon-wrapper"{{!}}[[File:{{{icon F}}}|50px|Icon of {{{name F}}}]]{{{description F}}}
{{!}}colspan="3" style="text-align:left"{{!}}{{{description F}}}
{{!}}}
{{!}}}
</tab>}}
</tab>}}
</tabs>
</tabs>
{|class="info-sub centered-cells"
{|class="subtable"
!colspan=2|Tower
!Tower
!Path
|colspan="2"|[[{{{tower}}} (BTD5)|{{{tower}}}]] — Path {{{path}}} — Tier {{{tier}}}
!Tier
|-
|colspan=2|[[{{{tower}}} (BTD5)|{{{tower}}}]]
|{{{path}}}
|{{{tier}}}
|}
{|class="info-sub"
|-
|-
!Total [[Tower XP|XP]] to unlock
!Total [[Tower XP|XP]] to unlock
|colspan="3"|{{#ifeq:{{{xp F|{{{xp M|}}}}}}|{{{xp M|}}}||'''[[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}}}}}
|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
!Cost
|colspan="3"|{{#ifexpr:{{{cost F|{{{cost M|0}}}}}} = {{{cost M|0}}} and {{{cost D|{{{cost M|0}}}}}} = {{{cost M|0}}}
|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}}}}}|<!--
||{{#ifeq:{{{cost F|0}}}|{{{cost D|0}}}
-->'''Multiplatform''':<br>{{BTD5M cost by difficulty|{{{cost M|0}}}}}<br><!--
|'''Flash / ''Deluxe''''':<br>{{BTD5F cost by difficulty|{{{cost F|0}}}}}<br>'''Mobile / console''':<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}}}}}<br>}}
-->{{#if:{{{cost F|}}}|'''Flash''':<br>{{BTD5F cost by difficulty|{{{cost F|0}}}}}<br>}}<!--
}}'''Mobile / console''':<br>}}{{BTD5M cost by difficulty|{{{cost M|0}}}}}
-->{{#if:{{{cost D|}}}|'''''Deluxe''''':<br>{{BTD5F cost by difficulty|{{{cost D|0}}}}}}}}}}}
|}
|}
|-
<!-- upgrade prev/next -->
<!-- upgrade prev/next -->
|class="foot"|{{#cargo_query:table=btd5_upgrades
<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, " →]]"), CONCAT("← ", name, "]]")), "</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) AND NOT unused
|where=tower = "{{{tower|???}}}" AND path = {{{path|0}}} AND (tier = {{{tier|0}}} - 1 OR tier = {{{tier|0}}} + 1) AND NOT unused
|delimiter=
|delimiter=
}}
}}</div></div>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd5_upgrades
|}{{#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 72: Line 61:
|unused={{{unused|No}}}
|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><noinclude>{{#cargo_declare:_table=btd5_upgrades
}}}}</includeonly><noinclude>{{#cargo_declare:_table=btd5_upgrades
|name_F      =String
|name_F      =String

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