Navigation menu

Template:Weapon-infobox: Difference between revisions

From Metroid Wiki
mNo edit summary
(infobox)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{| width="300px" cellpadding="3" cellspacing="0" style="{{round|20px}} float:right; {{border|2}} {{background|neutral}}; font-size: 11px; margin-left:10px; margin-bottom:10px"
{| class="infobox"
|
|
{| width="100%" cellpadding="3" cellspacing="0" align="center" style="{{round}}"
{| class="infobox-sub"
! colspan="2" style="{{#if: {{{image|}}}| {{roundt}} | {{round}}}} {{border}} {{background}} font-size: 13px;" | ''{{{name|{{PAGENAME}}}}}''
! colspan="2" style="font-size: 13px; text-align: center;" | ''{{{name|{{PAGENAME}}}}}''
|-
|-
{{#if: {{{image|}}}|
{{#if: {{{image|}}}|
! colspan="2" align="center" style="{{roundb}} {{border}} {{background}}" {{!}} <div style="float:center; border-bottom:1px solid #{{mw color light}}">{{{image|}}}<br /><br /></div>
{{!}} colspan="2" style="text-align: center;" {{!}} <div style="float:center; border-bottom: 1px solid #{{mw color light}}">{{{image|}}}<br /><br /></div>
<span style="font-size: 10px">{{{caption|}}}</span>}}
<span style="font-size: 10px">{{{caption|}}}</span>}}
|}
|}
|-  
|-  
|
|
{| width="100%" cellpadding="3" cellspacing="0" style="{{round}} {{border}} {{background}}"
{| class="infobox-sub"
! style="width: 30%; border-right: 1px solid #{{mw color light}}" align="right"  {{!}} Game(s)
! 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
! Users
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}} {{{users|}}}}}
{{!}}
{{{users|}}}}}
|-
|-
{{#if:{{{location|}}}|
{{#if:{{{location|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Located in
! Located in
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}} {{{location|}}}}}
{{!}}
{{{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
! How to obtain
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}} {{{obtained|}}}}}
{{!}}
{{{obtained|}}}}}
|-
|-
{{#if:{{{authorized|}}}|
{{#if:{{{authorized|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Authorized in
! Authorized in
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}} {{{authorized|}}}}}
{{!}}
{{{authorized|}}}}}
|-
|-
{{#if:{{{ammo|}}}|
{{#if:{{{ammo|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Ammunition
! Ammunition
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}} {{{ammo|}}}}}
{{!}}
{{{ammo|}}}}}
|-
|-
{{#if:{{{combo|}}}|
{{#if:{{{combo|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Charge Combo
! Charge Combo
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}} {{{combo|}}}}}
{{!}}
{{{combo|}}}}}
|-
|-
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Properties
! Properties
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}} {{{properties|Inflicts Damage}}}
{{!}}
{{{properties|Inflicts Damage}}}
|}
|}
|}<noinclude>{{clear}}
|}
<noinclude>{{clear}}
==Usage==  
==Usage==  
This should be used on the pages of weapons such as beams or Missiles.
This should be used on the pages of weapons such as beams or Missiles.
Line 69: Line 78:
|combo=
|combo=
}}</pre>
}}</pre>
[[Category:Infobox Templates|{{PAGENAME}}]]</noinclude>
 
[[Category:Infobox Templates]]</noinclude>

Latest revision as of 23:21, 16 August 2021

Weapon-infobox
Game(s)

None

Properties

Inflicts Damage

Usage[edit source]

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=
}}