Template:BTD6 upgrade info: Difference between revisions

mNo edit summary
mNo edit summary
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#cargo_store:_table=btd6_upgrades
<includeonly><templatestyles src="Info/style.css"/><div class="info"><!--
--><div class="head">{{{name}}}</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}}}
|}
{|class="subtable centered"
!colspan="2"|Tower
!Path
!Tier
|-
|colspan=2|[[{{{tower}}} (BTD6)|{{{tower}}}]]
|{{{path}}}
|{{{tier}}}
|}
{|class="subtable"
![[Tower XP|XP]] cost
|colspan="3"|{{formatnum:{{{xp|}}}}}
|-
![[Cash]] cost
|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}}}}}}<!--
-->{{#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
 
--><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
 
|where=tower = "{{{tower|???}}}" AND path = {{{path|0}}} AND (tier = {{{tier|0}}} - 1 OR tier = {{{tier|0}}} + 1) AND NOT unused
|delimiter=
}}{{#ifeq:{{{tier|}}}|5|{{#if:{{{unused|}}}||{{#cargo_query:table=btd6_paragons
|fields=CONCAT("<div style='float:right'>[[", _pageName, "{{!}}", name, " →]]</div>") = text
 
|where=tower = "{{{tower|???}}}"
|delimiter=
|default=
}}}}}}</div></div>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd6_upgrades
|id={{{id|}}}
|id={{{id|}}}
|unused={{{unused|No}}}


|name        ={{{name|}}}
|name        ={{{name|}}}
Line 15: Line 56:
|cost_C={{{cost C|}}}
|cost_C={{{cost C|}}}
|xp    ={{{xp|}}}
|xp    ={{{xp|}}}
}}{|class="info"
}}[[Category:{{{tower}}} upgrades in BTD6]][[Category:Path {{{path}}} upgrades in BTD6]][[Category:Tier {{{tier}}} upgrades in BTD6]]{{#seo:
!class="head"|{{{name}}}
|-
|
{|class="info-sub main centered-cells"
|colspan=4|[[File:{{{image}}}|200px]]
|-
|[[File:{{{icon}}}|50px]]
|colspan=3 style="text-align:left"|{{{description}}}
|}
|-
|
{|class="info-sub centered-cells"
!colspan=2|Tower
!Path
!Tier
|-
|colspan=2|[[{{{tower}}} (BTD6)|{{{tower}}}]]
|{{{path}}}
|{{{tier}}}
|}
|-
|
{|class="info-sub"
![[Tower XP|XP]] to unlock
|colspan=3|{{formatnum:{{{xp|}}}}}
|-
!Cost
|colspan=3|{{#ifeq:{{{id|}}}|Monkeyopolis|${{formatnum:{{{cost|}}}}}|{{BTD6 upgrade cost by difficulty|{{{cost|0}}}}}}}
|}
|}[[Category:{{{tower}}} upgrades in BTD6]][[Category:Path {{{path}}} upgrades in BTD6]][[Category:Tier {{{tier}}} upgrades in BTD6]]{{#seo:
|image={{{image|}}}
|image={{{image|}}}
|keywords=BTD6 {{{name|}}}
|keywords=BTD6 {{{name|}}}, Bloons TD 6 {{{name|}}}
}}</includeonly><noinclude>{{#cargo_declare:_table=btd6_upgrades
}}}}</includeonly><noinclude>{{#cargo_declare:_table=btd6_upgrades
|id=String
|id=String
|unused=Boolean


|name        =String
|name        =String
Line 64: Line 76:
|cost_C=Integer
|cost_C=Integer
|xp    =Integer
|xp    =Integer
|unused=Boolean
}}{{/doc}}</noinclude>
}}
 
{{/doc}}[[Category:Infoboxes]][[Category:BTD6 templates]]</noinclude>