Template:BTD6 hero info: Difference between revisions

Pymonkibot (talk | contribs)
m Text replacement - "info-sub" to "subtable"
mNo edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{|class="info"
<includeonly><templatestyles src="Info/style.css"/><div class="info"><!--
!class="head"|{{{name}}}<br><small>{{{title}}}</small>
--><div class="head">{{{name}}}<br><small>{{{title}}}</small></div>
|-
{{#if:{{{name 2|}}}
|
|<tabs>{{#tag:tab|<!-- tab 1 -->
{|class="subtable main centered-cells"
{{{!}}class{{=}}"subtable main centered"
|[[File:{{{image}}}|200px|Portrait of {{{name}}}]]
{{!}}[[File:{{{image}}}|200px|Portrait of {{{name}}}]]
|-
{{!}}-
|{{{description}}}
{{!}}{{{description}}}
|}
{{!}}}|name=Base form}}<!--
-->{{#tag:tab|<!-- tab 2 -->
{{{!}}class{{=}}"subtable main centered"
{{!}}[[File:{{{image 2}}}|200px|Portrait of {{{name 2}}}]]
{{!}}-
{{!}}{{{description 2}}}
{{!}}}|name={{{name 2}}}}}<!--
--></tabs>|
{{{!}}class{{=}}"subtable main centered"
{{!}}[[File:{{{image}}}|200px|Portrait of {{{name}}}]]
{{!}}-
{{!}}{{{description}}}
{{!}}}
}}
{|class="subtable"
{|class="subtable"
!Cost
!Cost
Line 16: Line 29:
|-
|-
{{#if:{{{rl tower 1|}}}|!''[[Rogue Legends]]'' party
{{#if:{{{rl tower 1|}}}|!''[[Rogue Legends]]'' party
{{!}}colspan="3"{{!}}{{#invoke:BTD6 rewards|main|InstaMonkey:{{{rl tower 1|}}},{{{rl tower 1 upgrades|}}}#InstaMonkey:{{{rl tower 2|}}},{{{rl tower 2 upgrades|}}}|format=ul|link=y}}
{{!}}colspan="3"{{!}}{{#invoke:BTD6 rewards|main|InstaMonkey:{{{rl tower 1|}}},{{{rl tower 1 upgrades|}}}#InstaMonkey:{{{rl tower 2|}}},{{{rl tower 2 upgrades|}}}|format=ul|link=y}}<br>{{BTD6 artifact|{{{rl artifact|}}}}} {{{rl artifact rarity|}}}}}
*{{BTD6 artifact|{{{rl artifact|}}}}} {{{rl artifact rarity|}}}}}
|-
|-
{{#if:{{{fl cost|}}}|!''[[Frontier Legends]]'' attributes
{{#if:{{{fl cost|}}}|!''[[Frontier Legends]]'' attributes
{{!}}colspan="3"{{!}}
{{!}}colspan="3"{{!}}Recruit cost: ${{formatnum:{{{fl cost|}}}}}<br>Starting level: {{{fl level|}}}<br>{{BTD6 trait|{{{fl trait 1|}}}}}<br>{{BTD6 trait|{{{fl trait 2|}}}}}<br>{{BTD6 trait|{{{fl trait 3|}}}}}}}
*Recruit cost: ${{formatnum:{{{fl cost|}}}}}
*Starting level: {{{fl level|}}}
*{{BTD6 trait|{{{fl trait 1|}}}}}
*{{BTD6 trait|{{{fl trait 2|}}}}}
*{{BTD6 trait|{{{fl trait 3|}}}}}}}
|-
|-
!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_heroes
|}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=btd6_heroes
|id={{{id|}}}
|id={{{id|}}}
|numeric_id={{{numeric id|}}}
|numeric_id={{{numeric id|}}}
Line 70: Line 76:
|fl_trait_2={{{fl trait 2|}}}
|fl_trait_2={{{fl trait 2|}}}
|fl_trait_3={{{fl trait 3|}}}
|fl_trait_3={{{fl trait 3|}}}
}}[[Category:Heroes in BTD6]]}}{{#seo:
}}[[Category:Heroes in BTD6]]{{#seo:
|image={{{image|}}}
|image={{{image|}}}
}}</includeonly><noinclude>{{#cargo_declare:_table=btd6_heroes
}}}}</includeonly><noinclude>{{#cargo_declare:_table=btd6_heroes
|id=String
|id=String
|numeric_id=Integer
|numeric_id=Integer