Template:BATTD weapon info: Difference between revisions

mNo edit summary
mNo edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 3: Line 3:
|-
|-
|
|
{|class="info-sub main centered-cells"
{|class="subtable main centered-cells"
|[[File:{{{image}}}|100px]]
|[[File:{{{image}}}|150px]]
|-
|-
|{{{description}}}
|{{{description}}}
|}
|}
{|class="subtable"
!Type
|colspan="2"|{{{type}}}
|-
|-
|
{|class="info-sub centered-cells"
!Rarity
!Rarity
!Type
|colspan="2"|{{{rarity}}}
|-
!Equippable to
|colspan="2"|{{#invoke:BATTD equippable to|main|{{{equippable to|}}}|Weapons|y}}
|-
!Special
|colspan="2"|{{#if:{{{special|}}}|{{{special}}}|No special properties}}
|-
|-
|{{{rarity}}}
!Introduced
|{{{type}}}
|colspan="2"|{{#if:{{{introduced|}}}|[[Update history:Bloons Adventure Time TD#Version {{{introduced}}}|Version {{{introduced}}}]]|Launch}}
|}
|-
|-
|
!colspan="3"|Stat modifiers
{|class="info-sub"
!Equippable to
|colspan="2"|{{#invoke:BATTD equippable to|cat|{{{equippable to|}}}|Weapons}}
|-
|-
![[Attack speed|Speed]]
![[Attack speed|Speed]]
Line 34: Line 37:
![[Pierce]]
![[Pierce]]
|colspan="2"|{{#if:{{{pierce base|}}}|+{{{pierce base|}}} {{#if:{{{pierce add|}}}|+{{{pierce add}}} per {{#ifexpr:{{{pierce per stars|}}} > 1|{{{pierce per stars|}}} stars|star}}}}|—}}
|colspan="2"|{{#if:{{{pierce base|}}}|+{{{pierce base|}}} {{#if:{{{pierce add|}}}|+{{{pierce add}}} per {{#ifexpr:{{{pierce per stars|}}} > 1|{{{pierce per stars|}}} stars|star}}}}|—}}
|-
!Special
|colspan="2"|{{#if:{{{special|}}}|{{{special}}}|No special properties}}
|-
!Introduced
|colspan="2"|{{#if:{{{introduced|}}}|[[Bloons Adventure Time TD v{{{introduced}}}|Version {{{introduced}}}]]|Launch}}
|}
|}
|}{{#cargo_store:_table=battd_weapons
|}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=battd_weapons
|id={{{id|}}}
|id={{{id|}}}


Line 66: Line 63:
|pierce_per_stars={{{pierce per stars|}}}
|pierce_per_stars={{{pierce per stars|}}}
|special        ={{{special|}}}
|special        ={{{special|}}}
}}{{#ifeq:{{NAMESPACENUMBER}}|0|[[Category:{{{rarity}}} {{#ifeq:{{{rarity|}}}|Martian|items|weapons}}]][[Category:{{#switch:{{{type}}}
}}[[Category:{{{rarity}}} equipment]]{{#seo:
|Darts = Dart weapons (BATTD)
|Bomb = Bomb weapons (BATTD)
|#default = {{{type}}} weapons
}}]]}}{{#seo:
|image={{{image|}}}
|image={{{image|}}}
|keywords=BATTD {{{name|}}},Adventure Time {{{name|}}}
}}}}</includeonly><noinclude>{{#cargo_declare:_table=battd_weapons
}}</includeonly><noinclude>{{/doc}}
{|
|{{#cargo_declare:_table=battd_weapons
|id=String
|id=String


Line 100: Line 90:
|pierce_per_stars=Integer
|pierce_per_stars=Integer
|special        =String
|special        =String
}}
}}{{/doc}}</noinclude>
|}</noinclude>