Template:BSM2 weapon info: Difference between revisions
mNo edit summary |
Pymonkibot (talk | contribs) m Text replacement - "info-sub" to "subtable" |
||
| (10 intermediate revisions by one other user not shown) | |||
| Line 1: | Line 1: | ||
< | <includeonly>{|class="info" | ||
{|class="info" | |||
!class="head"|{{{name M}}} | !class="head"|{{{name M}}} | ||
|- | |- | ||
| | | | ||
{|class=" | {|class="subtable main centered-cells" | ||
|[[File:{{{ | |[[File:{{{image M}}}|70x70px]] | ||
|- | |- | ||
| {{{description M}}}<br><small>{{{flavour}}}</small> | | {{{description M}}}<br><small>{{{flavour}}}</small> | ||
| Line 49: | Line 10: | ||
|- | |- | ||
| | | | ||
{|class=" | {|class="subtable centered-cells" | ||
!colspan=3|Type | !colspan=3|Type | ||
!Slot | !Slot | ||
| Line 56: | Line 17: | ||
|- | |- | ||
|colspan=3|{{#switch:{{{type}}} | |colspan=3|{{#switch:{{{type}}} | ||
|Dart =[[File:BSM2M achievement_icon_dart_powerset.png|20px|link=Dart (BSM2)]][[Dart (BSM2)|Dart]] | |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]] | |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]] | |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]] | |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]] | |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]] | |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]] | |Storm =[[File:BSM2M achievement_icon_storm_powerset.png|20px|link=Storm (BSM2)]] [[Storm (BSM2)|Storm]] | ||
|#default =??? | |#default =??? | ||
}} | }} | ||
|{{{slot}}} | |{{{slot}}} | ||
|{{{tier}}} | |{{{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>}} | |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 | |||
|where=type = "{{{type|???}}}" AND slot = "{{{slot|0}}}" AND (tier = {{{tier|0}}} - 1 OR tier = {{{tier|0}}} + 1) AND NOT tier = "Epic" | |||
|delimiter= | |||
}}}} | |||
|}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=bsm2_weapons | |||
|name_F ={{{name F|}}} | |||
|name_M ={{{name M|}}} | |||
|icon_F ={{{icon F|}}} | |||
|icon_M ={{{icon M|}}} | |||
|description_F={{{description F|}}} | |||
|description_M={{{description M|}}} | |||
|flavour ={{{flavour|}}} | |||
|type={{{type|}}} | |||
|slot={{{slot|}}} | |||
|tier={{{tier|}}} | |||
|cost_F={{{cost F|}}} | |||
|cost_M={{{cost M|}}} | |||
}}[[Category:{{{type}}} {{#switch:{{{type}}} | |||
|Dart =weapons (BSM2) | |||
|Bomb =weapons (BSM2) | |||
|#default =weapons | |||
}}]][[Category:{{{slot}}} weapons]][[Category:{{#ifeq:{{{tier}}}|Epic|Epic weapons (BSM2)|Tier {{{tier}}} weapons}}]]}}{{#seo: | |||
|image={{{image M|}}} | |||
|keywords=BSM2 {{{name M|}}}, Super Monkey {{{name M|}}} | |||
}}</includeonly><noinclude>{{#cargo_declare:_table=bsm2_weapons | |||
|name_F =String | |||
|name_M =String | |||
|icon_F =File | |||
|icon_M =File | |||
|description_F=Wikitext string | |||
|description_M=Wikitext string | |||
|flavour =String | |||
|type=String | |||
|slot=String | |||
|tier=String | |||
|cost_F=Integer | |||
|cost_M=Integer | |||
}}{{/doc}}</noinclude> | |||