Template:BTD4 upgrade info: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| Line 26: | Line 26: | ||
|- | |- | ||
!Total cost | !Total cost | ||
|colspan="2"|{{BTD4 cost by difficulty|{{#expr:{{#cargo_query:table=btd4_towers|fields=CONCAT(cost_M)|where=name="{{{tower}}}"}}+{{#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|{{#expr:{{#cargo_query:table=btd4_towers|fields=CONCAT(cost_M)|where=name="{{{tower}}}"|no html}}+{{#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|{{#expr:({{#cargo_query:table=btd4_towers|fields=CONCAT(cost_M)|where=name="{{{tower}}}"}}*0.8)+{{#cargo_query:table=btd4_upgrades|fields=ROUND(SUM(cost_M*0.8),0)|group by=tower|where=tower="{{{tower}}}" AND tier<="{{{tier}}}"|no html}}}}}} | |colspan="2"|({{BTD4 cost by difficulty|{{#expr:({{#cargo_query:table=btd4_towers|fields=CONCAT(cost_M)|where=name="{{{tower}}}"|no html}}*0.8)+{{#cargo_query:table=btd4_upgrades|fields=ROUND(SUM(cost_M*0.8),0)|group by=tower|where=tower="{{{tower}}}" AND tier<="{{{tier}}}"|no html}}}}}} | ||
|} | |} | ||
|- | |- | ||
Revision as of 10:08, 15 July 2025
No description.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| name F | name F | no description | Unknown | optional |
| name M | name M | no description | Unknown | optional |
| image F | image F | no description | Unknown | optional |
| image M | image M | no description | Unknown | optional |
| image C | image C | no description | Unknown | optional |
| description F | description F | no description | Unknown | optional |
| description M | description M | no description | Unknown | optional |
| tower | tower | no description | Unknown | optional |
| tier | tier | no description | Unknown | optional |
| cost F | cost F | no description | Unknown | optional |
| cost M | cost M | no description | Unknown | optional |
This template defines the Cargo table "btd4_upgrades". View table.