Template:BTD6 upgrade info: Difference between revisions
Pymonkibot (talk | contribs) m Text replacement - "info-sub" to "subtable" |
mNo edit summary |
||
| Line 1: | Line 1: | ||
<includeonly> | <includeonly><templatestyles src="Info/style.css"/><div class="info"><!-- | ||
--><div class="head">{{{name}}}<br><small>{{{title}}}</small></div> | |||
{|class="subtable main centered" | |||
|colspan=4|[[File:{{{image}}}|Portrait of {{{name}}}|200px]] | |||
|- | |- | ||
|[[File:{{{icon}}}|Icon of {{{name}}}|50px]] | |||
|colspan="3" style="text-align:left"|{{{description}}} | |||
|colspan=3 style="text-align:left"|{{{description}}} | |||
|} | |} | ||
{|class="subtable centered | {|class="subtable centered" | ||
!colspan=2|Tower | !colspan="2"|Tower | ||
!Path | !Path | ||
!Tier | !Tier | ||
| Line 19: | Line 17: | ||
|} | |} | ||
{|class="subtable" | {|class="subtable" | ||
![[Tower XP|XP]] | ![[Tower XP|XP]] cost | ||
|colspan=3|{{formatnum:{{{xp|}}}}} | |colspan="3"|{{formatnum:{{{xp|}}}}} | ||
|- | |- | ||
! | ![[Cash]] cost | ||
|colspan=3|{{#ifeq:{{{id|}}}|Monkeyopolis|${{formatnum:{{{cost|}}}}}|{{BTD6 upgrade cost by difficulty|{{{cost|0}}}}}}}<!-- | |colspan="3"|{{#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 | ||
| Line 40: | Line 39: | ||
|delimiter= | |delimiter= | ||
|default= | |default= | ||
}}}}}} | }}}}}}</div></div>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd6_upgrades | ||
|id={{{id|}}} | |id={{{id|}}} | ||
|unused={{{unused|No}}} | |unused={{{unused|No}}} | ||