Template:BTD6 upgrade info: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(17 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{#cargo_declare:_table=btd6_upgrades
<includeonly><templatestyles src="Info/style.css"/><div class="info"><!--
|id=String
--><div class="head">{{{name}}}</div>
{|class="subtable main centered"
|colspan=4|[[File:{{{image}}}|Portrait of {{{name}}}|200px]]
|-
|[[File:{{{icon}}}|Icon of {{{name}}}|50px]]
|colspan="3" style="text-align:left"|{{{description}}}
|}
{|class="subtable centered"
!colspan="2"|Tower
!Path
!Tier
|-
|colspan=2|[[{{{tower}}} (BTD6)|{{{tower}}}]]
|{{{path}}}
|{{{tier}}}
|}
{|class="subtable"
![[Tower XP|XP]] cost
|colspan="3"|{{formatnum:{{{xp|}}}}}
|-
![[Cash]] cost
|colspan="3"|{{#ifeq:{{{id|}}}|Monkeyopolis|${{formatnum:{{{cost|}}}}}*|{{BTD6 upgrade cost by difficulty|{{{cost|0}}}}}}}<!--
-->{{#ifeq:{{{tower|}}}|Monkey Ace|{{#ifeq:{{{tier|}}}|5|<hr>With {{BTD6 mk|Aeronautic Subsidy}}:<br>{{BTD6 upgrade cost by difficulty|{{{cost|0}}}*0.9}}}}}}<!--
-->{{#if:{{{mk cost reduction name|}}}|<hr>With {{BTD6 mk|{{{mk cost reduction name}}}}}:<br>{{BTD6 upgrade cost by difficulty|{{{cost|0}}}|cost reduction={{{mk cost reduction}}}}}}}
|}<!--
 
upgrade prev/next


|name        =String
--><div class="foot">{{#cargo_query:table=btd6_upgrades
|icon        =File
|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
|image        =File
|description  =String
|description_C=String


|tower=String
|where=tower = "{{{tower|???}}}" AND path = {{{path|0}}} AND (tier = {{{tier|0}}} - 1 OR tier = {{{tier|0}}} + 1) AND NOT unused
|path =Integer
|delimiter=
|tier =Integer
}}{{#ifeq:{{{tier|}}}|5|{{#if:{{{unused|}}}||{{#cargo_query:table=btd6_paragons
|fields=CONCAT("<div style='float:right'>[[", _pageName, "{{!}}", name, " →]]</div>") = text


|cost  =Integer
|where=tower = "{{{tower|???}}}"
|cost_C=Integer
|delimiter=
|xp    =Integer
|default=
}}[[Category:Infoboxes]][[Category:BTD6 templates]]</noinclude>
}}}}}}</div></div>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd6_upgrades
<includeonly>{{#cargo_store:_table=btd6_upgrades
|id={{{id|}}}
|id={{{id|}}}
|unused={{{unused|No}}}


|name        ={{{name|}}}
|name        ={{{name|}}}
Line 32: Line 56:
|cost_C={{{cost C|}}}
|cost_C={{{cost C|}}}
|xp    ={{{xp|}}}
|xp    ={{{xp|}}}
}}[[Category:{{{tower}}} upgrades in BTD6]][[Category:Path {{{path}}} upgrades in BTD6]][[Category:Tier {{{tier}}} upgrades in BTD6]]</includeonly>
}}[[Category:{{{tower}}} upgrades in BTD6]][[Category:Path {{{path}}} upgrades in BTD6]][[Category:Tier {{{tier}}} upgrades in BTD6]]{{#seo:
{|class="info"
|image={{{image|}}}
!class="head"|{{{name}}}
|keywords=BTD6 {{{name|}}}, Bloons TD 6 {{{name|}}}
|-
}}}}</includeonly><noinclude>{{#cargo_declare:_table=btd6_upgrades
|
|id=String
{|class="info-sub main"
|unused=Boolean
|colspan=4|[[File:{{{image}}}|200px]]
 
|-
|name        =String
|[[File:{{{icon}}}|50px]]
|icon        =File
|colspan=3 style="text-align:left"|''{{{description}}}''
|image        =File
|}
|description  =String
|-
|description_C=String
|
 
{|class="info-sub"
|tower=String
!colspan=2|Tower
|path =Integer
!colspan=1|Path
|tier =Integer
!colspan=1|Tier
 
!colspan=2|[[Tower XP|XP]] to unlock
|cost  =Integer
|-
|cost_C=Integer
|colspan=2 style="text-align:center"|[[{{{tower}}} (BTD6)|{{{tower}}}]]
|xp    =Integer
|colspan=1 style="text-align:center"|{{{path}}}
}}{{/doc}}</noinclude>
|colspan=1 style="text-align:center"|{{{tier}}}
|colspan=2 style="text-align:center"|{{formatnum:{{{xp}}}}}
|}
|-
|
{|class="info-sub"
!colspan=2|Cost
|colspan=3|{{#ifeq:{{{id|}}}|Monkeyopolis|${{formatnum:{{{cost|}}}}}|{{BTD6 cost by difficulty|{{{cost|0}}}}}}}
|-
!colspan=2|[[Glossary:Common abbreviations|Commonly abbreviated as]]
|colspan=3|{{{common abbreviations|}}}
|}
|}

Latest revision as of 13:55, 18 May 2026

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

No description.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
idid

no description

Unknownoptional
namename

no description

Unknownoptional
imageimage

no description

Unknownoptional
iconicon

no description

Unknownoptional
descriptiondescription

no description

Unknownoptional
description Cdescription C

no description

Unknownoptional
towertower

no description

Unknownoptional
pathpath

no description

Unknownoptional
tiertier

no description

Unknownoptional
costcost

no description

Unknownoptional
cost Ccost C

no description

Unknownoptional
xpxp

no description

Unknownoptional
unusedunused

no description

Unknownoptional