Template:BTD6 upgrade info: Difference between revisions
Pymonkibot (talk | contribs) m Text replacement - "<div class="info">" to "<div class="info subtable-container">" |
mNo edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 4: | Line 4: | ||
|[[File:{{{image}}}|Portrait of {{{name}}}|200px]] | |[[File:{{{image}}}|Portrait of {{{name}}}|200px]] | ||
|- | |- | ||
|class="flex-left-icon-wrapper"|[[File:{{{icon}}}|50px|Icon of {{{name}}}]]{{{description}}} | |class="flex-left-icon-wrapper centered"|[[File:{{{icon}}}|50px|Icon of {{{name}}}]]{{{description}}} | ||
|} | |} | ||
{|class="subtable" | {|class="subtable" | ||
| Line 11: | Line 11: | ||
|- | |- | ||
![[Tower XP|XP]] cost | ![[Tower XP|XP]] cost | ||
|colspan="2"|{{formatnum:{{{xp|}}}}} | |colspan="2"|{{#ifeq:{{{xp|}}}|0|Unlocked by default|{{formatnum:{{{xp|}}}}}}} | ||
|- | |- | ||
![[Cash]] cost | ![[Cash]] cost | ||
|colspan="2"|{{#ifeq:{{{id|}}}|Monkeyopolis|${{formatnum:{{{cost|}}}}}*|{{BTD6 | |colspan="2"|{{#ifeq:{{{id|}}}|Monkeyopolis|${{formatnum:{{{cost|}}}}}*|{{BTD6 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 24: | 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}}} OR path = -1) AND (tier = {{{tier|0}}} - 1 OR tier = {{{tier|0}}} + 1) AND NOT unused | |where=tower = "{{{tower|???}}}" AND (path = {{{path|0}}} OR (path = -1 AND "{{{unused|}}}" = "")) 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 | }}</div></div>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd6_upgrades | ||
| Line 56: | Line 56: | ||
|icon =File | |icon =File | ||
|image =File | |image =File | ||
|description = | |description =Wikitext string | ||
|description_C= | |description_C=Wikitext string | ||
|tower=String | |tower=String | ||