Template:BTD6 tower info: Difference between revisions

Qwertyxp2000 (talk | contribs)
on the infobox?
Tag: Reverted
Pymonkibot (talk | contribs)
m Text replacement - "<div class="info">" to "<div class="info subtable-container">"
 
(10 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<includeonly>{|class="info"
<includeonly><templatestyles src="Info/style.css"/><div class="info subtable-container"><!--
!class="head"|{{{name}}}
--><div class="head">{{{name}}}</div>
|-
{|class="subtable main centered"
|
|[[File:{{{image}}}|200px|Portrait of {{{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}}}]]}}
Line 31: Line 30:
-->{{#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}}}}}:<!--
-->{{#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}}}}}}}}}
--><br>{{BTD6 cost by difficulty|{{{cost|0}}}*{{{mk cost mod|1}}}|cost reduction={{{mk cost reduction}}}}}}}}}
|-
{{#if:{{{footprint|}}}|![[Footprint]]
{{!}}colspan="3"{{!}}{{key|{{{footprint|}}}}}}}
{{!}}colspan="3"{{!}}{{{footprint|}}}
|-
|-
{{#if:{{{hotkey|}}}|![[Hotkey]]
{{#if:{{{hotkey|}}}|![[Hotkey]]
Line 40: 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
|}{{#cargo_store:_table=btd6_towers
|id={{{id|}}}
|id={{{id|}}}
|category_order={{{order|}}}
|category_order={{{order|}}}
Line 52: Line 46:


|category  ={{{category|}}}
|category  ={{{category|}}}
|paragon  ={{{paragon|}}}
|cost      ={{{cost|}}}
|cost      ={{{cost|}}}
|cost_C    ={{{cost C|}}}
|cost_C    ={{{cost C|}}}
|footprint ={{{footprint|}}}
|hotkey    ={{{hotkey|}}}
|hotkey    ={{{hotkey|}}}
|introduced=String
|introduced={{{introduced|}}}
}}[[Category:{{#ifeq:{{{category|}}}|Items||{{{category}}}}} towers in BTD6]]{{#seo:
}}[[Category:{{#ifeq:{{{category|}}}|Items||{{{category}}}}} towers in BTD6]]{{#seo:
|image={{{image|}}}
|image={{{image|}}}
}}</includeonly><noinclude>{{#cargo_declare:_table=btd6_towers
}}}}</includeonly><noinclude>{{#cargo_declare:_table=btd6_towers
|id=String
|id=String
|category_order=Integer
|category_order=Integer
Line 69: Line 63:


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