Template:BATTD weapon info: Difference between revisions

mNo edit summary
mNo edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=battd_weapons
<includeonly>{|class="info"
!class="head"|{{{name}}}
|-
|
{|class="subtable main centered-cells"
|[[File:{{{image}}}|150px]]
|-
|{{{description}}}
|}
{|class="subtable"
!Type
|colspan="2"|{{{type}}}
|-
!Rarity
|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}}
|-
!Introduced
|colspan="2"|{{#if:{{{introduced|}}}|[[Update history:Bloons Adventure Time TD#Version {{{introduced}}}|Version {{{introduced}}}]]|Launch}}
|-
!colspan="3"|Stat modifiers
|-
![[Attack speed|Speed]]
|colspan="2"|{{#if:{{{speed base|}}}|{{#ifexpr:{{{speed base}}}>0|+}}{{{speed base|}}}% {{#if:{{{speed add|}}}|+{{{speed add}}}% per {{#ifexpr:{{{speed per stars|}}} > 1|{{{speed per stars|}}} stars|star}}}}|—}}
|-
![[Range]]
|colspan="2"|{{#if:{{{range base|}}}|+{{{range base|}}} {{#if:{{{range add|}}}|+{{{range add}}} per {{#ifexpr:{{{range per stars|}}} > 1|{{{range per stars|}}} stars|star}}}}|—}}
|-
![[Damage]]
|colspan="2"|{{#if:{{{damage base|}}}|+{{{damage base|}}} {{#if:{{{damage add|}}}|+{{{damage add}}} per {{#ifexpr:{{{damage per stars|}}} > 1|{{{damage per stars|}}} stars|star}}}}|—}}
|-
![[Pierce]]
|colspan="2"|{{#if:{{{pierce base|}}}|+{{{pierce base|}}} {{#if:{{{pierce add|}}}|+{{{pierce add}}} per {{#ifexpr:{{{pierce per stars|}}} > 1|{{{pierce per stars|}}} stars|star}}}}|—}}
|}
|}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=battd_weapons
|id={{{id|}}}
|id={{{id|}}}


Line 24: Line 63:
|pierce_per_stars={{{pierce per stars|}}}
|pierce_per_stars={{{pierce per stars|}}}
|special        ={{{special|}}}
|special        ={{{special|}}}
}}[[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
}}
{|class="info"
!class="head"|{{{name}}}
|-
|
{|class="info-sub main centered-cells"
|[[File:{{{image}}}|100px]]
|-
|{{{description}}}
|}
|-
|
{|class="info-sub centered-cells"
!Rarity
!Type
|-
|{{{rarity}}}
|{{{type}}}
|}
|-
|
{|class="info-sub"
!Equippable to
|colspan="2"|{{#invoke:BATTD equippable to|cat|{{{equippable to|}}}|Weapons}}
|-
![[Attack speed|Speed]]
|colspan="2"|{{#if:{{{speed base|}}}|{{#ifexpr:{{{speed base}}}>0|+}}{{{speed base|}}}% {{#if:{{{speed add|}}}|+{{{speed add}}}% per {{#ifexpr:{{{speed per stars|}}} > 1|{{{speed per stars|}}} stars|star}}}}|—}}
|-
![[Range]]
|colspan="2"|{{#if:{{{range base|}}}|+{{{range base|}}} {{#if:{{{range add|}}}|+{{{range add}}} per {{#ifexpr:{{{range per stars|}}} > 1|{{{range per stars|}}} stars|star}}}}|—}}
|-
![[Damage]]
|colspan="2"|{{#if:{{{damage base|}}}|+{{{damage base|}}} {{#if:{{{damage add|}}}|+{{{damage add}}} per {{#ifexpr:{{{damage per stars|}}} > 1|{{{damage per stars|}}} stars|star}}}}|—}}
|-
![[Pierce]]
|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|}}}|Version {{{introduced}}}|Launch}}
|}
|}</includeonly><noinclude>{{/doc}}
{|
|{{#cargo_declare:_table=battd_weapons
|id=String
|id=String


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