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
 
(12 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}}}
--><div class="head">{{{name}}}</div>
{|class="subtable main centered"
|[[File:{{{image}}}|Portrait of {{{name}}}|200px]]
|-
|-
|
|class="flex-left-icon-wrapper"|[[File:{{{icon}}}|50px|Icon of {{{name}}}]]{{{description}}}
{|class="info-sub main centered-cells"
|colspan=4|[[File:{{{image}}}|200px]]
|-
|[[File:{{{icon}}}|50px]]
|colspan=3 style="text-align:left"|{{{description}}}
|}
|}
{|class="info-sub centered-cells"
{|class="subtable"
!colspan=2|Tower
!Tower
!Path
|colspan="2"|[[{{{tower}}} (BTD6)|{{{tower}}}]] — Path {{{path}}} — Tier {{{tier}}}
!Tier
|-
|-
|colspan=2|[[{{{tower}}} (BTD6)|{{{tower}}}]]
![[Tower XP|XP]] cost
|{{{path}}}
|colspan="2"|{{#ifeq:{{{xp|}}}|0|Unlocked by default|{{formatnum:{{{xp|}}}}}}}
|{{{tier}}}
|}
{|class="info-sub"
![[Tower XP|XP]] to unlock
|colspan=3|{{formatnum:{{{xp|}}}}}
|-
|-
!Cost
![[Cash]] cost
|colspan=3|{{#ifeq:{{{id|}}}|Monkeyopolis|${{formatnum:{{{cost|}}}}}|{{BTD6 upgrade cost by difficulty|{{{cost|0}}}}}}}
|colspan="2"|{{#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 -->
|}<!--
|class="foot"|{{#cargo_query:table=btd6_upgrades
 
upgrade prev/next
 
--><div class="foot">{{#cargo_query:table=btd6_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, " →]]"), CONCAT("← ", name, "]]")), "</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}}} OR path = -1) AND (tier = {{{tier|0}}} - 1 OR tier = {{{tier|0}}} + 1) AND NOT unused
|delimiter=
|delimiter=
}}{{#ifeq:{{{tier|}}}|5|{{#if:{{{unused|}}}||{{#cargo_query:table=btd6_paragons
}}</div></div>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd6_upgrades
|fields=CONCAT("<div style='float:right'>[[", _pageName, "{{!}}", name, " →]]</div>") = text
 
|where=tower = "{{{tower|???}}}"
|delimiter=
|default=
}}}}}}
|}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd6_upgrades
|id={{{id|}}}
|id={{{id|}}}
|unused={{{unused|No}}}
|unused={{{unused|No}}}
Line 56: Line 43:
|cost_C={{{cost C|}}}
|cost_C={{{cost C|}}}
|xp    ={{{xp|}}}
|xp    ={{{xp|}}}
|introduced  ={{{introduced|}}}
|introduced_C={{{introduced C|}}}
}}[[Category:{{{tower}}} upgrades in BTD6]][[Category:Path {{{path}}} upgrades in BTD6]][[Category:Tier {{{tier}}} upgrades in BTD6]]{{#seo:
}}[[Category:{{{tower}}} upgrades in BTD6]][[Category:Path {{{path}}} upgrades in BTD6]][[Category:Tier {{{tier}}} upgrades in BTD6]]{{#seo:
|image={{{image|}}}
|image={{{image|}}}
Line 76: Line 66:
|cost_C=Integer
|cost_C=Integer
|xp    =Integer
|xp    =Integer
|introduced  =String
|introduced_C=String
}}{{/doc}}</noinclude>
}}{{/doc}}</noinclude>

Latest revision as of 08:45, 18 July 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