Template:BTD6 upgrade info: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
| (7 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly><templatestyles src="Info/style.css"/><div class="info"><!-- | <includeonly><templatestyles src="Info/style.css"/><div class="info subtable-container"><!-- | ||
--><div class="head">{{{name}}}</div> | --><div class="head">{{{name}}}</div> | ||
{|class="subtable main centered" | {|class="subtable main centered" | ||
|[[File:{{{image}}}|Portrait of {{{name}}}|200px]] | |||
|- | |- | ||
|[[File:{{{icon}}}|Icon of {{{name}}} | |class="flex-left-icon-wrapper"|[[File:{{{icon}}}|50px|Icon of {{{name}}}]]{{{description}}} | ||
|} | |} | ||
{|class="subtable | {|class="subtable" | ||
!colspan="2"| | !Tower | ||
|colspan="2"|[[{{{tower}}} (BTD6)|{{{tower}}}]] — Path {{{path}}} — Tier {{{tier}}} | |||
|- | |- | ||
![[Tower XP|XP]] cost | ![[Tower XP|XP]] cost | ||
|colspan=" | |colspan="2"|{{#ifeq:{{{xp|}}}|0|Unlocked by default|{{formatnum:{{{xp|}}}}}}} | ||
|- | |- | ||
![[Cash]] cost | ![[Cash]] cost | ||
|colspan=" | |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}}}}}}<!-- | -->{{#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}}}}}}} | -->{{#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}}}}}}} | ||
| Line 31: | Line 24: | ||
|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= | ||
}}</div></div>{{#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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| id | id | no description | Unknown | optional |
| name | name | no description | Unknown | optional |
| image | image | no description | Unknown | optional |
| icon | icon | no description | Unknown | optional |
| description | description | no description | Unknown | optional |
| description C | description C | no description | Unknown | optional |
| tower | tower | no description | Unknown | optional |
| path | path | no description | Unknown | optional |
| tier | tier | no description | Unknown | optional |
| cost | cost | no description | Unknown | optional |
| cost C | cost C | no description | Unknown | optional |
| xp | xp | no description | Unknown | optional |
| unused | unused | no description | Unknown | optional |