Template:BATTD weapon info: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
 
(15 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>{{#cargo_declare:_table=battd_weapons
<includeonly>{|class="info"
|id=String
!class="head"|{{{name}}}
 
|-
|name      =String
|
|image     =File
{|class="subtable main centered-cells"
|description=String
|[[File:{{{image}}}|150px]]
 
|-
|rarity      =String
|{{{description}}}
|type        =String
|}
|equippable_to=String
{|class="subtable"
|introduced  =String
!Type
 
|colspan="2"|{{{type}}}
|speed_base      =Float
|-
|speed_add      =Float
!Rarity
|speed_per_stars =Integer
|colspan="2"|{{{rarity}}}
|range_base      =Float
|-
|range_add      =Float
!Equippable to
|range_per_stars =Integer
|colspan="2"|{{#invoke:BATTD equippable to|main|{{{equippable to|}}}|Weapons|y}}
|damage_base    =Float
|-
|damage_add      =Float
!Special
|damage_per_stars=Integer
|colspan="2"|{{#if:{{{special|}}}|{{{special}}}|No special properties}}
|pierce_base    =Float
|-
|pierce_add      =Float
!Introduced
|pierce_per_stars=Integer
|colspan="2"|{{#if:{{{introduced|}}}|[[Update history:Bloons Adventure Time TD#Version {{{introduced}}}|Version {{{introduced}}}]]|Launch}}
|special        =String
|-
}}</noinclude>
!colspan="3"|Stat modifiers
<includeonly>{{#cargo_store:_table=battd_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}}}}|—}}
|}
|}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=battd_weapons
|id={{{id|}}}
|id={{{id|}}}


Line 50: Line 63:
|pierce_per_stars={{{pierce per stars|}}}
|pierce_per_stars={{{pierce per stars|}}}
|special        ={{{special|}}}
|special        ={{{special|}}}
}}[[Category:{{{rarity}}} 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>
|id=String
{|class="info"
 
!class="head"|{{{name}}}
|name      =String
|-
|image      =File
|
|description=String
{|class="info-sub main centered-cells"
 
|[[File:{{{image}}}|100px]]
|rarity       =String
|-
|type         =String
|''{{{description}}}''
|equippable_to=String
|}
|introduced  =String
|-
 
|
|speed_base      =Float
{|class="info-sub centered-cells"
|speed_add      =Float
!Rarity
|speed_per_stars =Integer
!Type
|range_base      =Float
|-
|range_add      =Float
|{{{rarity}}}
|range_per_stars =Integer
|{{{type}}}
|damage_base    =Float
|}
|damage_add      =Float
|-
|damage_per_stars=Integer
|
|pierce_base    =Float
{|class="info-sub"
|pierce_add      =Float
!Equippable to
|pierce_per_stars=Integer
|colspan="2"|<includeonly>{{#invoke:BATTD equippable to|cat|{{{equippable to|}}}|Weapons}}</includeonly>
|special         =String
|-
}}{{/doc}}</noinclude>
![[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}}}}|N/A}}
|-
![[Range]]
|colspan="2"|{{#if:{{{range base|}}}|+{{{range base|}}} {{#if:{{{range add|}}}|+{{{range add}}} per {{#ifexpr:{{{range per stars|}}} > 1|{{{range per stars|}}} stars|star}}}}|N/A}}
|-
![[Damage]]
|colspan="2"|{{#if:{{{damage base|}}}|+{{{damage base|}}} {{#if:{{{damage add|}}}|+{{{damage add}}} per {{#ifexpr:{{{damage per stars|}}} > 1|{{{damage per stars|}}} stars|star}}}}|N/A}}
|-
![[Pierce]]
|colspan="2"|{{#if:{{{pierce base|}}}|+{{{pierce base|}}} {{#if:{{{pierce add|}}}|+{{{pierce add}}} per {{#ifexpr:{{{pierce per stars|}}} > 1|{{{pierce per stars|}}} stars|star}}}}|N/A}}
|-
!Special
|colspan="2"|{{#if:{{{special|}}}|{{{special}}}|''No special properties''}}
|-
!Introduced
|colspan="2"|{{#if:{{{introduced|}}}|[[Bloons Adventure Time TD v{{{introduced}}}|Version {{{introduced}}}]]|Launch}}
|}
|}<noinclude>{{/doc}}[[Category:Infoboxes]][[Category:BATTD templates]]</noinclude>

Latest revision as of 02:50, 5 April 2026

This template defines the Cargo table "battd_weapons". View table.

No description.

Template parameters[Edit template data]

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
idid

no description

Unknownoptional
namename

no description

Unknownoptional
imageimage

no description

Unknownoptional
descriptiondescription

no description

Unknownoptional
rarityrarity

no description

Unknownoptional
typetype

no description

Unknownoptional
equippable toequippable to

no description

Unknownoptional
speed basespeed base

no description

Unknownoptional
speed addspeed add

no description

Unknownoptional
speed per starsspeed per stars

no description

Unknownoptional
range baserange base

no description

Unknownoptional
range addrange add

no description

Unknownoptional
range per starsrange per stars

no description

Unknownoptional
damage basedamage base

no description

Unknownoptional
damage adddamage add

no description

Unknownoptional
damage per starsdamage per stars

no description

Unknownoptional
pierce basepierce base

no description

Unknownoptional
pierce addpierce add

no description

Unknownoptional
pierce per starspierce per stars

no description

Unknownoptional
specialspecial

no description

Unknownoptional
introducedintroduced

no description

Unknownoptional