Template:BTD6 tower info: Difference between revisions

mNo edit summary
Pymonkibot (talk | contribs)
m Text replacement - "<div class="info">" to "<div class="info subtable-container">"
 
(19 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{{#cargo_store:_table=btd6_towers
<includeonly><templatestyles src="Info/style.css"/><div class="info subtable-container"><!--
|id={{{id|}}}
--><div class="head">{{{name}}}</div>
|category_order={{{order|}}}
{|class="subtable main centered"
 
|[[File:{{{image}}}|200px|Portrait of {{{name}}}]]
|name        ={{{name|}}}
|image        ={{{image|}}}
|description  ={{{description|}}}
|description_C={{{description C|}}}
 
|category={{{category|}}}
|cost    ={{{cost|}}}
|cost_C  ={{{cost C|}}}
|hotkey  ={{{hotkey|}}}
}}{|class="info"
!class="head"|{{{name}}}
|-
|
{|class="info-sub main centered-cells"
|[[File:{{{image}}}|200px]]
|-
|-
{{#if:{{{description|}}}|{{!}}{{{description}}}}}
{{#if:{{{description|}}}|{{!}}{{{description}}}}}
|}
|}
{|class="subtable"
{{#if:{{{unlock|}}}|!Unlock method(s)
{{!}}colspan="3"{{!}}{{{unlock|}}}}}
|-
|-
|
{|class="info-sub"
![[Tower category|Category]]
![[Tower category|Category]]
|colspan=3|{{#ifeq:{{{category|}}}|Items|{{{category}}}|[[{{{category}}}]]}}
|colspan=3|{{#ifeq:{{{category|}}}|Items|{{{category}}}|[[{{{category}}}]]}}
|-
|-
{{#if:{{{cost|}}}|!Cost
{{#if:{{{cost|}}}|!Cost
{{!}}colspan="3"{{!}}{{BTD6 cost by difficulty|{{{cost|0}}}}}}}{{#if:{{{cost mk name|}}}|<hr>With {{BTD6 mk|{{{cost mk name}}}}}:<br>{{BTD6 cost by difficulty|{{{cost|0}}}|cost reduction={{{cost mk reduction}}}}}}}
{{!}}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]]
{{#if:{{{hotkey|}}}|![[Hotkey]]
Line 34: Line 35:
{{#if:{{{hide introduced|}}}||{{!}}-
{{#if:{{{hide introduced|}}}||{{!}}-
!Introduced
!Introduced
{{!}}colspan="3"{{!}}{{#if:{{{introduced|}}}|[[Bloons TD 6 v{{{introduced}}}|Version {{{introduced}}}]]|Launch}}}}
{{!}}colspan="3"{{!}}{{#if:{{{introduced|}}}|[[Update history:Bloons TD 6/Version {{{introduced}}}|Version {{{introduced}}}]]|Launch}}}}
|}
|}</div>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd6_towers
|}[[Category:{{#ifeq:{{{category|}}}|Items||{{{category}}}}} towers in BTD6]]{{#seo:
|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|}}}
|image={{{image|}}}
|keywords=BTD6 {{{name|}}}
}}}}</includeonly><noinclude>{{#cargo_declare:_table=btd6_towers
}}</includeonly><noinclude>{{/doc}}
<div>{{#cargo_declare:_table=btd6_towers
|id=String
|id=String
|category_order=Integer
|category_order=Integer
Line 49: Line 62:
|description_C=String
|description_C=String


|category   =String
|category =String
|cost       =Integer
|paragon  =Wikitext string
|cost_C     =Integer
|cost     =Integer
|hotkey     =String
|cost_C   =Integer
}}</div></noinclude>
|hotkey   =String
|introduced=String
}}{{/doc}}</noinclude>