Template:BTD6 upgrade info: Difference between revisions

mNo edit summary
mNo edit summary
 
(24 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{#cargo_declare:_table=btd6_upgrades
<includeonly><templatestyles src="Info/style.css"/><div class="info"><!--
|id=String
--><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


|name        =String
--><div class="foot">{{#cargo_query:table=btd6_upgrades
|icon        =File
|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
|image        =File
|description  =String
|description_C=String


|tower=String
|where=tower = "{{{tower|???}}}" AND path = {{{path|0}}} AND (tier = {{{tier|0}}} - 1 OR tier = {{{tier|0}}} + 1) AND NOT unused
|path =Integer
|delimiter=
|tier =Integer
}}{{#ifeq:{{{tier|}}}|5|{{#if:{{{unused|}}}||{{#cargo_query:table=btd6_paragons
|fields=CONCAT("<div style='float:right'>[[", _pageName, "{{!}}", name, " →]]</div>") = text


|cost  =Integer
|where=tower = "{{{tower|???}}}"
|cost_C=Integer
|delimiter=
|xp    =Integer
|default=
}}[[Category:Infoboxes]]</noinclude>
}}}}}}</div></div>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd6_upgrades
<includeonly>{{#cargo_store:_table=btd6_upgrades
|id={{{id|}}}
|id={{{id|}}}
|unused={{{unused|No}}}


|name        ={{{name|}}}
|name        ={{{name|}}}
Line 32: Line 56:
|cost_C={{{cost C|}}}
|cost_C={{{cost C|}}}
|xp    ={{{xp|}}}
|xp    ={{{xp|}}}
}}[[Category:{{{tower}}} upgrades in BTD6]][[Category:Path {{{path}}} upgrades in BTD6]][[Category:Tier {{{tier}}} upgrades in BTD6]]</includeonly>
}}[[Category:{{{tower}}} upgrades in BTD6]][[Category:Path {{{path}}} upgrades in BTD6]][[Category:Tier {{{tier}}} upgrades in BTD6]]{{#seo:
{|class="info"
|image={{{image|}}}
!class="head"|{{{name}}}
|keywords=BTD6 {{{name|}}}, Bloons TD 6 {{{name|}}}
|-
}}}}</includeonly><noinclude>{{#cargo_declare:_table=btd6_upgrades
|
|id=String
{|class="info-sub main"
|unused=Boolean
|[[File:{{{image}}}|200px]]<br>[[File:{{{icon}}}|x50px]]''{{{description}}}''
 
|}
|name        =String
|-
|icon        =File
|
|image        =File
{|class="info-sub"
|description  =String
!colspan=2|Tower
|description_C=String
!colspan=1|Path
 
!colspan=1|Tier
|tower=String
!colspan=2|[[Tower XP|XP]] to unlock
|path =Integer
|-
|tier =Integer
|colspan=2 style="text-align:center"|[[{{{tower}}} (BTD6)|{{{tower}}}]]
 
|colspan=1 style="text-align:center"|{{{path}}}
|cost  =Integer
|colspan=1 style="text-align:center"|{{{tier}}}
|cost_C=Integer
|colspan=2 style="text-align:center"|{{formatnum:{{{xp}}}}}
|xp    =Integer
|}
}}{{/doc}}</noinclude>
|-
|
{|class="info-sub"
!colspan=2|Cost
|colspan=3|{{#ifeq:{{{id|}}}|Monkeyopolis|${{formatnum:{{{cost|}}}}}|{{BTD6 cost by difficulty|{{{cost|}}}}}}}
|-
!colspan=2|[[Glossary:Common abbreviations|Commonly abbreviated as]]
|colspan=3|{{{common abbreviations|}}}
|}
|}