Template:BTD4 upgrade info: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
Pymonkibot (talk | contribs) m Text replacement - "info-sub" to "subtable" |
||
| (21 intermediate revisions by one other user not shown) | |||
| Line 2: | Line 2: | ||
!class="head"|{{{name M}}} | !class="head"|{{{name M}}} | ||
|- | |- | ||
|<tabs> | |||
<tab name="Mobile"> | <tab name="Mobile"> | ||
{|class=" | {|class="subtable main centered-cells" | ||
|[[File:{{{image M}}}|100px]] | |[[File:{{{image M}}}|100px]] | ||
|- | |- | ||
| Line 10: | Line 10: | ||
|} | |} | ||
</tab> | </tab> | ||
<tab name="Flash"> | {{#if:{{{name F|}}}|<tab name="Flash"> | ||
{|class=" | {|class="subtable main centered-cells" | ||
|[[File:{{#if:{{{image F|}}}|{{{image F}}}|missing image.png}}|100px]] | |[[File:{{#if:{{{image F|}}}|{{{image F}}}|missing image.png}}|100px]] | ||
|- | |- | ||
|{{{description F}}} | |{{{description F}}} | ||
|} | |} | ||
</tab> | </tab>}} | ||
</tabs> | </tabs> | ||
{|class="subtable" | |||
!Tower | |||
|colspan="2"|[[{{{tower}}} (BTD4)|{{{tower}}}]] | |||
|- | |- | ||
!Cost | !Cost | ||
|colspan="2"|{{BTD4 cost by difficulty|{{{cost M|0}}}}} | |||
|} | |||
|- | |- | ||
| | <!-- 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|}}} | ||
| Line 42: | Line 46: | ||
|cost_F={{{cost F|}}} | |cost_F={{{cost F|}}} | ||
|cost_M={{{cost M|}}} | |cost_M={{{cost M|}}} | ||
}}[[Category:Tier {{{tier}}} upgrades in BTD4]]}}{{#seo: | }}[[Category:Tier {{{tier}}} upgrades in BTD4]]{{#ifeq:{{{tower|}}}|Bee Keeper||[[Category:{{#switch:{{{tower|}}} | ||
|Boomerang Thrower=Boomerang Monkey | |||
|Bomb Tower=Bomb Shooter | |||
|Ice Tower=Ice Monkey | |||
|Mortar Tower=Mortar Monkey | |||
|Monkey Apprentice=Wizard Monkey | |||
|Dartling Gun=Dartling Gunner | |||
|{{{tower|}}} | |||
}} upgrades]]}}}}{{#seo: | |||
|image={{{image M|}}} | |image={{{image M|}}} | ||
|keywords=BTD4 {{{name M|}}} | |keywords=BTD4 {{{name M|}}} | ||
Latest revision as of 05:48, 4 April 2026
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.