Template:BTD6 upgrade info: Difference between revisions
mNo edit summary |
mNo edit summary |
||
| (17 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly><templatestyles src="Info/style.css"/><div class="info subtable-container"><!-- | ||
--><div class="head">{{{name}}}</div> | |||
{|class="subtable main centered" | |||
|[[File:{{{image}}}|Portrait of {{{name}}}|200px]] | |||
|- | |- | ||
|class="flex-left-icon-wrapper centered"|[[File:{{{icon}}}|50px|Icon of {{{name}}}]]{{{description}}} | |||
| | |||
|} | |} | ||
{|class=" | {|class="subtable" | ||
!colspan=2| | !Tower | ||
|colspan="2"|[[{{{tower}}} (BTD6)|{{{tower}}}]] — Path {{{path}}} — Tier {{{tier}}} | |||
|- | |- | ||
![[Tower XP|XP]] cost | |||
|{{{ | |colspan="2"|{{#ifeq:{{{xp|}}}|0|Unlocked by default|{{formatnum:{{{xp|}}}}}}} | ||
| | |||
|- | |- | ||
! | ![[Cash]] cost | ||
|colspan= | |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}}}}}}<!-- | ||
| | -->{{#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}}}}}}} | ||
<!-- upgrade prev/next --> | |}<!-- | ||
upgrade prev/next | |||
--><div class="foot">{{#cargo_query:table=btd6_upgrades | |||
|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 "{{{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 | ||
|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 66: | Line 56: | ||
|icon =File | |icon =File | ||
|image =File | |image =File | ||
|description = | |description =Wikitext string | ||
|description_C= | |description_C=Wikitext string | ||
|tower=String | |tower=String | ||
| Line 76: | Line 66: | ||
|cost_C=Integer | |cost_C=Integer | ||
|xp =Integer | |xp =Integer | ||
|introduced =String | |||
|introduced_C=String | |||
}}{{/doc}}</noinclude> | }}{{/doc}}</noinclude> | ||