Navigation menu

Template:Weapon-infobox: Difference between revisions

From Metroid Wiki
mNo edit summary
m (Same error on this infobox, testing fix)
Line 12: Line 12:
{| width="100%" cellpadding="3" cellspacing="0" style="{{round}} {{border}} {{background}}"
{| width="100%" cellpadding="3" cellspacing="0" style="{{round}} {{border}} {{background}}"
! style="width: 30%; border-right: 1px solid #{{mw color light}}" align="right"  {{!}} Game(s)
! style="width: 30%; border-right: 1px solid #{{mw color light}}" align="right"  {{!}} Game(s)
{{!}} {{{games|''None''}}}
{{!}}  
{{{games|''None''}}}
|-
|-
{{#if:{{{users|}}}|
{{#if:{{{users|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Users
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Users
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}} {{{users|}}}}}
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}  
{{{users|}}}}}
|-
|-
{{#if:{{{location|}}}|
{{#if:{{{location|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Located in
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Located in
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}} {{{location|}}}}}
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}  
{{{location|}}}}}
|-
|-
{{#if:{{{obtained|}}}|
{{#if:{{{obtained|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} How to obtain
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} How to obtain
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}} {{{obtained|}}}}}
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}  
{{{obtained|}}}}}
|-
|-
{{#if:{{{authorized|}}}|
{{#if:{{{authorized|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Authorized in
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Authorized in
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}} {{{authorized|}}}}}
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}  
{{{authorized|}}}}}
|-
|-
{{#if:{{{ammo|}}}|
{{#if:{{{ammo|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Ammunition
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Ammunition
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}} {{{ammo|}}}}}
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}  
{{{ammo|}}}}}
|-
|-
{{#if:{{{combo|}}}|
{{#if:{{{combo|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Charge Combo
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Charge Combo
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}} {{{combo|}}}}}
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}  
{{{combo|}}}}}
|-
|-
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Properties
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Properties
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}} {{{properties|Inflicts Damage}}}
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}  
{{{properties|Inflicts Damage}}}
|}
|}
|}<noinclude>{{clear}}
|}<noinclude>{{clear}}

Revision as of 18:06, 7 April 2017

Weapon-infobox
Game(s)

None

Properties

Inflicts Damage

Usage

This should be used on the pages of weapons such as beams or Missiles.

  • Image: An image of the weapon
  • Caption: A caption accompanying the image
  • Games: Any games the weapon appeared in
  • Users: Users of the weapon (Usually just Samus)
  • Location: Where the weapon was obtained
  • Obtain: How Samus obtains the weapon
  • Authorized: Where the weapon was authorized (For Other M only)
  • Properties: Any special properties of the weapon
  • Ammo: Ammo used by the weapon, if applicable
  • Combo: A combo, if present, of the weapon
  • Sprite: A Sprite of the weapon or the weapon in use

Blank code (paste onto page):

{{Weapon-infobox
|image=
|caption=
|games=
|users=
|location=
|obtained=
|authorized=
|properties=
|ammo=
|combo=
}}