Template:BTD6 upgrade info: Difference between revisions
Pymonkibot (talk | contribs) m Text replacement - "info-sub" to "subtable" |
mNo edit summary |
||
| (9 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"|[[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 | |||
|{{{ | |colspan="2"|{{#ifeq:{{{xp|}}}|0|Unlocked by default|{{formatnum:{{{xp|}}}}}}} | ||
| | |||
|- | |- | ||
! | ![[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}}}}}}} | ||
|} | |}<!-- | ||
<!-- 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 (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 58: | 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 78: | Line 66: | ||
|cost_C=Integer | |cost_C=Integer | ||
|xp =Integer | |xp =Integer | ||
|introduced =String | |||
|introduced_C=String | |||
}}{{/doc}}</noinclude> | }}{{/doc}}</noinclude> | ||