Template:BTD4 upgrade info: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
costs by difficulty
mNo edit summary
Line 18: Line 18:
</tab>
</tab>
</tabs>
</tabs>
{|class="info-sub centered-cells"
{|class="info-sub"
!Tower
!Tower
|colspan="3"|[[{{{tower}}} (BTD4)|{{{tower}}}]]
|colspan="2"|[[{{{tower}}} (BTD4)|{{{tower}}}]]
|-
|-
!Upgrade cost
!Upgrade cost
Line 26: Line 26:
|-
|-
!Total cost
!Total cost
|colspan="2"|{{BTD4 cost by difficulty|{{#cargo_query:table=btd4_upgrades|fields=CONCAT(SUM(cost_M))|group by=tower|where=tower="{{{tower}}}" AND tier<={{{tier}}}|no html}}}}
|colspan="2"|{{BTD4 cost by difficulty|{{#cargo_query:table=btd4_upgrades|fields=CONCAT(SUM(cost_M))|group by=tower|where=tower="{{{tower}}}" AND tier<="{{{tier}}}"|no html}}}}
|-
|-
!Sell value
!Sell value
|colspan="2"|{{BTD4 cost by difficulty|{{#cargo_query:table=btd4_upgrades|fields=CONCAT(SUM(cost_M)*0.8)|group by=tower|where=tower={{{tower}}}" AND tier<={{{tier}}}|no html}}}}
|colspan="2"|{{BTD4 cost by difficulty|{{#cargo_query:table=btd4_upgrades|fields=CONCAT(SUM(cost_M)*0.8)|group by=tower|where=tower={{{tower}}}" AND tier<="{{{tier}}}"|no html}}}}
|}
|}
|}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd4_upgrades
|}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd4_upgrades

Revision as of 11:45, 22 January 2025

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
image Fimage F

no description

Unknownoptional
image Mimage M

no description

Unknownoptional
image Cimage C

no description

Unknownoptional
description Fdescription F

no description

Unknownoptional
description Mdescription M

no description

Unknownoptional
towertower

no description

Unknownoptional
tiertier

no description

Unknownoptional
cost Fcost F

no description

Unknownoptional
cost Mcost M

no description

Unknownoptional
This template defines the Cargo table "btd4_upgrades". View table.