Template:BTD4 upgrade info: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
added navigation links for prev/next upgrades |
||
| Line 32: | Line 32: | ||
|colspan="2"|{{BTD4 cost by difficulty|{{#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|{{#cargo_query:table=btd4_upgrades|fields=ROUND(SUM(cost_M*0.8),0)|group by=tower|where=tower="{{{tower}}}" AND tier<="{{{tier}}}"|no html}}}}--> | ||
|} | |} | ||
|- | |||
<!-- upgrade prev/next --> | |||
|class="foot"|{{#cargo_query:table=btd4_upgrades | |||
|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 (tier = {{{tier|0}}} - 1 OR tier = {{{tier|0}}} + 1) | |||
|delimiter= | |||
}} | |||
|}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd4_upgrades | |}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd4_upgrades | ||
|name_F ={{{name F|}}} | |name_F ={{{name F|}}} | ||
Revision as of 14:07, 2 May 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.