Template:BSM2 weapon info: Difference between revisions
mNo edit summary |
added navigation links for prev/next upgrades |
||
| Line 6: | Line 6: | ||
|[[File:{{{image M}}}|70x70px]] | |[[File:{{{image M}}}|70x70px]] | ||
|- | |- | ||
| {{{description M}}}<br><small>{{{flavour}}}</small> | |{{{description M}}}<br><small>{{{flavour}}}</small> | ||
|} | |} | ||
|- | |- | ||
| Line 30: | Line 30: | ||
|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 --> | |||
|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) | |||
|delimiter= | |||
}} | |||
|}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=bsm2_weapons | |}{{#ifeq:{{NAMESPACENUMBER}}|0|{{#cargo_store:_table=bsm2_weapons | ||
|name_F ={{{name F|}}} | |name_F ={{{name F|}}} | ||
| Line 51: | Line 59: | ||
}}]][[Category:{{{slot}}} weapons]][[Category:{{#ifeq:{{{tier}}}|Epic|Epic weapons (BSM2)|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|}}}, | |keywords=BSM2 {{{name M|}}}, Super Monkey {{{name M|}}} | ||
}}</includeonly><noinclude | }}</includeonly><noinclude>{{#cargo_declare:_table=bsm2_weapons | ||
|name_F =String | |name_F =String | ||
|name_M =String | |name_M =String | ||
| Line 68: | Line 75: | ||
|cost_F=Integer | |cost_F=Integer | ||
|cost_M=Integer | |cost_M=Integer | ||
}} | }}{{/doc}}</noinclude> | ||