Template:BSM2 weapon info: Difference between revisions

From Blooncyclopedia, the independent Bloons knowledge base
Jump to navigation Jump to search
mNo edit summary
Pymonkibot (talk | contribs)
m Text replacement - "info-sub" to "subtable"
 
(15 intermediate revisions by one other user not shown)
Line 1: Line 1:
<noinclude>{{#cargo_declare:_table=bsm2_weapons
<includeonly>{|class="info"
|name_F      =String
!class="head"|{{{name M}}}
|name_M      =String
|-
|icon_F      =File
|
|icon_M      =File
{|class="subtable main centered-cells"
|description_F=String
|[[File:{{{image M}}}|70x70px]]
|description_M=String
|-
|flavour      =String
| {{{description M}}}<br><small>{{{flavour}}}</small>
|}
|-
|
{|class="subtable centered-cells"
!colspan=3|Type
!Slot
!Tier
!colspan=3|Cost
|-
|colspan=3|{{#switch:{{{type}}}
|Dart    =[[File:BSM2M achievement_icon_dart_powerset.png|20px|link=Dart (BSM2)]] [[Dart (BSM2)|Dart]]
|Boomerang=[[File:BSM2M achievement_icon_boomerang_powerset.png|20px|link=Boomerang (BSM2)]] [[Boomerang (BSM2)|Boomerang]]
|Bomb    =[[File:BSM2M achievement_icon_bomb_powerset.png|20px|link=Bomb (BSM2)]] [[Bomb (BSM2)|Bomb]]
|Magic    =[[File:BSM2M achievement_icon_magic_powerset.png|20px|link=Magic (BSM2)]] [[Magic (BSM2)|Magic]]
|Energy  =[[File:BSM2M achievement_icon_energy_powerset.png|20px|link=Energy]] [[Energy]]
|Ice      =[[File:BSM2M achievement_icon_ice_powerset.png|20px|link=Ice (BSM2)]] [[Ice (BSM2)|Ice]]
|Storm    =[[File:BSM2M achievement_icon_storm_powerset.png|20px|link=Storm (BSM2)]] [[Storm (BSM2)|Storm]]
|#default =???
}}
|{{{slot}}}
|{{{tier}}}
|colspan="3"|<!--[[File:Blop icon.png|18px|link=Blop (BSM2)]]-->{{formatnum:{{{cost M|}}}}}{{#if:{{{cost F|}}}|<small> (mobile)</small><br><!--[[File:BSM2F blop cash icon.svg|25px|link=Blop Cash|style="margin:-4px"]]-->{{formatnum:{{{cost F|}}}}} <small>(Flash)</small>}}
|}
|-
<!-- upgrade prev/next -->
{{#ifeq:{{{tier|}}}|Epic||{{!}}class="foot"{{!}}{{#cargo_query:table=bsm2_weapons
|fields=CONCAT(IF(tier<{{{tier|0}}}, "<div style='float:left'>[[", "<div style='float:right'>[["), _pageName, "{{!}}", IF(tier>{{{tier|0}}}, CONCAT(name_M, " →]]"), CONCAT("← ", name_M, "]]")), "</div>") = text


|type=String
|where=type = "{{{type|???}}}" AND slot = "{{{slot|0}}}" AND (tier = {{{tier|0}}} - 1 OR tier = {{{tier|0}}} + 1) AND NOT tier = "Epic"
|slot=String
|delimiter=
|tier=Integer
}}}}
 
|}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=bsm2_weapons
|cost_F=Integer
|cost_M=Integer
}}</noinclude>
<includeonly>{{#cargo_store:_table=bsm2_weapons
|name_F      ={{{name F|}}}
|name_F      ={{{name F|}}}
|name_M      ={{{name M|}}}
|name_M      ={{{name M|}}}
Line 31: Line 54:
|cost_M={{{cost M|}}}
|cost_M={{{cost M|}}}
}}[[Category:{{{type}}} {{#switch:{{{type}}}
}}[[Category:{{{type}}} {{#switch:{{{type}}}
|Dart = weapons (BSM2)
|Dart =weapons (BSM2)
|Bomb = weapons (BSM2)
|Bomb =weapons (BSM2)
|#default = weapons
|#default =weapons
}}]][[Category:{{{slot}}} weapons]][[Category:Tier {{{tier}}} weapons]]{{#seo:
}}]][[Category:{{{slot}}} weapons]][[Category:{{#ifeq:{{{tier}}}|Epic|Epic weapons (BSM2)|Tier {{{tier}}} weapons}}]]}}{{#seo:
|image={{{image M|}}}
|image={{{image M|}}}
|keywords=BSM2 {{{name M|}}},Supermonkey {{{name M|}}}
|keywords=BSM2 {{{name M|}}}, Super Monkey {{{name M|}}}
}}</includeonly>
}}</includeonly><noinclude>{{#cargo_declare:_table=bsm2_weapons
{|class="info"
|name_F      =String
!class="head"|{{{name M}}}
|name_M      =String
|-
|icon_F      =File
|
|icon_M      =File
{|class="info-sub main centered-cells"
|description_F=Wikitext string
|[[File:{{{icon M}}}|70x70px]]
|description_M=Wikitext string
|-
|flavour      =String
|''{{{description M}}}''<br>''<small>{{{flavour}}}</small>
 
|}
|type=String
|-
|slot=String
|
|tier=String
{|class="info-sub centered-cells"
 
!colspan=3|Type
|cost_F=Integer
!Slot
|cost_M=Integer
!Tier
}}{{/doc}}</noinclude>
!colspan=3|Cost
|-
|colspan=3|{{#switch:{{{type}}}
|Dart = <!--[[File:BSM2M achievement_icon_dart_powerset.png|20px|link=Dart (BSM2)]]-->[[Dart (BSM2)|Dart]]
|Boomerang = <!--[[File:BSM2M achievement_icon_boomerang_powerset.png|20px|link=Boomerang (weapon type)]]-->[[Boomerang (weapon type)|Boomerang]]
|Bomb = <!--[[File:BSM2M achievement_icon_bomb_powerset.png|20px|link=Bomb (BSM2)]]-->[[Bomb (BSM2)|Bomb]]
|Magic = <!--[[File:BSM2M achievement_icon_magic_powerset.png|20px|link=Magic (weapon type)]]-->[[Magic (weapon type)|Magic]]
|Energy = <!--[[File:BSM2M achievement_icon_energy_powerset.png|20px|link=Energy]]-->[[Energy]]
|Ice = <!--[[File:BSM2M achievement_icon_ice_powerset.png|20px|link=Ice (weapon type)]]-->[[Ice (weapon type)|Ice]]
|Storm = <!--[[File:BSM2M achievement_icon_storm_powerset.png|20px|link=Storm]]-->[[Storm]]
|#default = ???
}}
|{{{slot}}}
|{{{tier}}}
|colspan=3|<!--[[File:Blop icon.png|18px|link=Blop (BSM2)]]-->{{formatnum:{{{cost M|}}}}}{{#if:{{{cost F|}}}|<small> (mobile)</small><br><!--[[File:BSM2F blop cash icon.svg|25px|link=Blop Cash|style="margin:-4px"]]-->{{formatnum:{{{cost F|}}}}} <small>(Flash)</small>}}
|}
|}<noinclude>{{/doc}}[[Category:Infoboxes]][[Category:BSM2 templates]]</noinclude>

Latest revision as of 05:50, 4 April 2026

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

No description.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
name Fname F

no description

Unknownoptional
name Mname M

no description

Unknownoptional
image Fimage F

no description

Unknownoptional
image Mimage M

no description

Unknownoptional
icon Ficon F

no description

Unknownoptional
icon Micon M

no description

Unknownoptional
description Fdescription F

no description

Unknownoptional
description Mdescription M

no description

Unknownoptional
flavourflavour

no description

Unknownoptional
typetype

no description

Unknownoptional
slotslot

no description

Unknownoptional
tiertier

no description

Unknownoptional
cost Fcost F

no description

Unknownoptional
cost Mcost M

no description

Unknownoptional