Template:BTD6 tower info: Difference between revisions

separate list for cost multipliers and flat cost reductions
military discounts
Line 1: Line 1:
<includeonly>{{#cargo_store:_table=btd6_towers
<includeonly>{|class="info"
|id={{{id|}}}
|category_order={{{order|}}}
 
|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="head"|{{{name}}}
|-
|-
Line 29: Line 16:
{{#if:{{{cost|}}}|!Cost
{{#if:{{{cost|}}}|!Cost
{{!}}colspan="3"{{!}}{{BTD6 cost by difficulty|{{{cost|0}}}}}}}<!--
{{!}}colspan="3"{{!}}{{BTD6 cost by difficulty|{{{cost|0}}}}}}}<!--
advanced logistics
-->{{#ifeq:{{{category|}}}|Military|<hr>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.67*0.95}}}}<!--
non-military cost multipliers
-->{{#if:{{{mk cost mod name|}}}|<hr>With {{BTD6 mk|{{{mk cost mod name}}}}}:<br><!--
-->{{#if:{{{mk cost mod name|}}}|<hr>With {{BTD6 mk|{{{mk cost mod name}}}}}:<br><!--
-->{{BTD6 cost by difficulty|{{{cost|0}}}*{{{mk cost mod|1}}}}}}}<!--
-->{{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}}}}}:<!--
-->{{#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}}}}}}}
Line 40: Line 38:
{{!}}colspan="3"{{!}}{{#if:{{{introduced|}}}|[[Bloons TD 6 v{{{introduced}}}|Version {{{introduced}}}]]|Launch}}}}
{{!}}colspan="3"{{!}}{{#if:{{{introduced|}}}|[[Bloons TD 6 v{{{introduced}}}|Version {{{introduced}}}]]|Launch}}}}
|}
|}
|}[[Category:{{#ifeq:{{{category|}}}|Items||{{{category}}}}} towers in BTD6]]{{#seo:
|}{{#cargo_store:_table=btd6_towers
|id={{{id|}}}
|category_order={{{order|}}}
 
|name        ={{{name|}}}
|image        ={{{image|}}}
|description  ={{{description|}}}
|description_C={{{description C|}}}
 
|category  ={{{category|}}}
|cost      ={{{cost|}}}
|cost_C    ={{{cost C|}}}
|hotkey    ={{{hotkey|}}}
|introduced=String
}}[[Category:{{#ifeq:{{{category|}}}|Items||{{{category}}}}} towers in BTD6]]{{#seo:
|image={{{image|}}}
|image={{{image|}}}
|keywords=BTD6 {{{name|}}}
|keywords=BTD6 {{{name|}}}
Line 52: Line 64:
|description_C=String
|description_C=String


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