Template:BTDB2 hero info: Difference between revisions

mNo edit summary
Pymonkibot (talk | contribs)
m Text replacement - "[[Bloons TD Battles 2 v" to "[[Update history:Bloons TD Battles 2/Version "
 
(13 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{#cargo_declare:_table=btdb2_heroes
<includeonly>{|class="info"
|id=String
|category_order=Integer
 
|name        =String
|title        =String
|image        =File
|description  =String
 
|cost        =Integer
|xp_scale    =Float
|alts        =List (, ) of String
}}[[Category:Infoboxes]][[Category:Battles 2 templates]]</noinclude>
<includeonly>{{#cargo_store:_table=btdb2_heroes
|id={{{id|}}}
|category_order={{{order|}}}
 
|name        ={{{name|}}}
|title        ={{{title|}}}
|image        ={{{image|}}}
|description  ={{{description|}}}
 
|cost      ={{{cost|}}}
|xp_scale  ={{{xp scale|}}}
|alts      ={{{alts|}}}
}}[[Category:Heroes in Battles 2]]{{#seo:
|image={{{image|}}}
|keywords=BTDB2 {{{name|}}},Battles 2 {{{name|}}}
}}</includeonly>
{|class="info"
!class="head"|{{{name}}}<br><small>{{{title}}}</small>
!class="head"|{{{name}}}<br><small>{{{title}}}</small>
|-
|-
|
|
{|class="info-sub main centered-cells"
{|class="subtable main centered-cells"
|[[File:{{{image}}}|200px]]
|[[File:{{{image}}}|200px]]
|-
|-
|''{{{description}}}''
|{{{description}}}
|}
|}
{|class="subtable"
!Cost
|colspan="3"|${{formatnum:{{{cost|0}}}}}
|-
|-
|
{|class="info-sub centered-cells"
!Cost
!XP curve
!XP curve
|colspan="3"|×{{{xp scale}}}
|-
!Role{{#if:{{{role 2|}}}|s}}
|colspan="3"|{{#if:{{{role 1|}}}|[[File:BTDB2 hero_category_{{#switch:{{{role 1|}}}
|Defender=defender
|Controller=controller
|Supporter=supporters
|Money Maker=money_makers
|Saboteur=saboteurs
}}.png|x20px|link=|{{{role 1}}} icon]] {{{role 1}}}|To be determined}}{{#if:{{{role 2|}}}|<br>[[File:BTDB2 hero_category_{{#switch:{{{role 2|}}}
|Defender=defender
|Controller=controller
|Supporter=supporters
|Money Maker=money_makers
|Saboteur=saboteurs
}}.png|x20px|link=|{{{role 2}}} icon]] {{{role 2}}}}}
|-
!Difficulty
|colspan="3"|{{{difficulty}}}/5
|-
{{#if:{{{alts|}}}|![[Hero Alt]]s
{{!}}colspan="3"{{!}}{{{alts}}}}}
|-
|-
|${{formatnum:{{{cost|0}}}}}
{{#if:{{{alt of|}}}|![[Hero Alt]] of
|{{{xp scale}}}×
{{!}}colspan="3"{{!}}{{{alt of}}}}}
|}
|-
|-
|
{|class="info-sub"
!Introduced
!Introduced
|colspan="3"|{{#if:{{{introduced|}}}|[[Bloons TD Battles 2 v{{{introduced}}}|Version {{{introduced}}}]]|Launch}}
|colspan="3"|{{#if:{{{introduced|}}}|[[Update history:Bloons TD Battles 2/Version {{{introduced}}}|Version {{{introduced}}}]]|Launch}}
|-
![[Hero Alt]]s
|colspan="3"|{{{alts|''None''}}}
|}
|}
|}
|}{{#cargo_store:_table=btdb2_heroes
|id={{{id|}}}
|category_order={{{order|}}}
|name        ={{{name|}}}
|title        ={{{title|}}}
|image        ={{{image|}}}
|description  ={{{description|}}}
|cost    ={{{cost|}}}
|xp_scale={{{xp scale|}}}
|alts    ={{{alts|}}}
|alt_of  ={{{alt of|}}}
}}[[Category:{{#if:{{{alt of|}}}|Hero Alts|Heroes}} in Battles 2]]{{#seo:
|image={{{image|}}}
|keywords=BTDB2 {{{name|}}},Battles 2 {{{name|}}}
}}</includeonly><noinclude>{{#cargo_declare:_table=btdb2_heroes
|id=String
|category_order=Integer
|name      =String
|title      =String
|image      =File
|description=String
|cost    =Integer
|xp_scale=String
|alts    =Wikitext string
|alt_of  =Wikitext string
}}{{/doc}}</noinclude>