Template:BTD6 tower info: Difference between revisions

No edit summary
Pymonkibot (talk | contribs)
m Text replacement - "<div class="info">" to "<div class="info subtable-container">"
 
(32 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<noinclude>{{#cargo_declare:_table=btd6_towers
<includeonly><templatestyles src="Info/style.css"/><div class="info subtable-container"><!--
--><div class="head">{{{name}}}</div>
{|class="subtable main centered"
|[[File:{{{image}}}|200px|Portrait of {{{name}}}]]
|-
{{#if:{{{description|}}}|{{!}}{{{description}}}}}
|}
{|class="subtable"
{{#if:{{{unlock|}}}|!Unlock method(s)
{{!}}colspan="3"{{!}}{{{unlock|}}}}}
|-
![[Tower category|Category]]
|colspan=3|{{#ifeq:{{{category|}}}|Items|{{{category}}}|[[{{{category}}}]]}}
|-
{{#if:{{{cost|}}}|!Cost
{{!}}colspan="3"{{!}}{{BTD6 cost by difficulty|{{{cost|0}}}}}<!--
advanced logistics
-->{{#ifeq:{{{category|}}}|Military|<hr><div class="mw-collapsible mw-collapsed">With {{BTD6 mk|Advanced Logistics}}:<br><!--
-->{{BTD6 cost by difficulty|{{{cost|0}}}*0.95}}<!--
military conscription
--><hr>With {{BTD6 mk|Military Conscription}}:<br><!--
-->{{BTD6 cost by difficulty|{{{cost|0}}}*0.67}}<!--
advanced logistics and military conscription
--><hr>With {{BTD6 mk|Advanced Logistics}} and {{BTD6 mk|Military Conscription}}:<br><!--
-->{{BTD6 cost by difficulty|{{{cost|0}}}*0.62}}}}</div><!--
non-military cost multipliers
-->{{#if:{{{mk cost mod name|}}}|<hr>With {{BTD6 mk|{{{mk cost mod name}}}}}:<br><!--
-->{{BTD6 cost by difficulty|{{{cost|0}}}*{{{mk cost mod|1}}}}}}}<!--
flat cost reductions
-->{{#if:{{{mk cost reduction name|}}}|<hr>With {{#if:{{{mk cost mod name|}}}|{{BTD6 mk|{{{mk cost mod name}}}}} and}} {{BTD6 mk|{{{mk cost reduction name}}}}}:<!--
--><br>{{BTD6 cost by difficulty|{{{cost|0}}}*{{{mk cost mod|1}}}|cost reduction={{{mk cost reduction}}}}}}}}}
|-
{{#if:{{{hotkey|}}}|![[Hotkey]]
{{!}}colspan="3"{{!}}{{key|{{{hotkey|}}}}}}}
{{#if:{{{hide introduced|}}}||{{!}}-
!Introduced
{{!}}colspan="3"{{!}}{{#if:{{{introduced|}}}|[[Update history:Bloons TD 6/Version {{{introduced}}}|Version {{{introduced}}}]]|Launch}}}}
|}</div>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd6_towers
|id={{{id|}}}
|category_order={{{order|}}}
 
|name        ={{{name|}}}
|image        ={{{image|}}}
|description  ={{{description|}}}
|description_C={{{description C|}}}
 
|category  ={{{category|}}}
|paragon  ={{{paragon|}}}
|cost      ={{{cost|}}}
|cost_C    ={{{cost C|}}}
|hotkey    ={{{hotkey|}}}
|introduced={{{introduced|}}}
}}[[Category:{{#ifeq:{{{category|}}}|Items||{{{category}}}}} towers in BTD6]]{{#seo:
|image={{{image|}}}
}}}}</includeonly><noinclude>{{#cargo_declare:_table=btd6_towers
|id=String
|id=String
|category_order=Integer


|name        =String
|name        =String
Line 8: Line 63:


|category  =String
|category  =String
|paragon  =Wikitext string
|cost      =Integer
|cost      =Integer
|cost_C    =Integer
|cost_C    =Integer
|hotkey    =String
|hotkey    =String
|unlock_req=Wikitext string
|introduced=String
}}[[Category:Infoboxes]]</noinclude>
}}{{/doc}}</noinclude>
<includeonly>{{#cargo_store:_table=btd6_towers
|id={{{id|}}}
 
|name        ={{{name|}}}
|image        ={{{image|}}}
|description  ={{{description|}}}
|description_C={{{description C|}}}
 
|category  ={{{category|}}}
|cost      ={{{cost|}}}
|cost_C    ={{{cost C|}}}
|hotkey    ={{{hotkey|}}}
|unlock_req={{{unlock req|}}}
}}[[Category:{{{category}}} towers in BTD6]]</includeonly>
{|class="info"
!class="head"|{{{name}}}
|-
|
{|class="info-sub main centered-cells"
|[[File:{{{image}}}|200px]]
|-
|''{{{description}}}''
|}
|-
|
{|class="info-sub"
![[Tower category|Category]]
|colspan=3|[[{{{category}}}]]
|-
!Cost
|colspan=3|{{#ifeq:{{{id|}}}|Monkeyopolis|${{formatnum:{{{cost|}}}}}|{{BTD6 cost by difficulty|{{{cost|0}}}}}}}
|-
![[Hotkey]]
|colspan=3|{{key|{{{hotkey}}}}}
|-
!Introduced
|colspan=3|{{#if:{{{introduced|}}}|{{BTD6 version|{{{introduced}}}}}|Launch}}
|}
|}