Navigation menu
Template:Weapon-infobox: Difference between revisions
From Metroid Wiki
mNo edit summary |
(infobox) |
||
(7 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{| | {| class="infobox" | ||
| | | | ||
{| class="infobox-sub" | |||
! colspan="2" style="font-size: 13px; text-align: center;" | ''{{{name|{{PAGENAME}}}}}'' | |||
|- | |- | ||
{{#if:{{{image|}}}| | {{#if: {{{image|}}}| | ||
! colspan="2" style="{{ | {{!}} 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>}} | |||
|} | |||
|- | |- | ||
| | |||
{| class="infobox-sub" | |||
{{{games|}}} | ! Game(s) | ||
{{!}} | |||
{{{games|''None''}}} | |||
|- | |- | ||
{{#if:{{{users|}}}| | {{#if:{{{users|}}}| | ||
! | ! Users | ||
{{!}} | |||
{{{users|}}}}} | {{{users|}}}}} | ||
|- | |- | ||
{{#if:{{{location|}}}| | {{#if:{{{location|}}}| | ||
! | ! Located in | ||
{{!}} | |||
{{{location|}}}}} | {{{location|}}}}} | ||
|- | |||
{{#if:{{{obtained|}}}| | |||
! How to obtain | |||
{{!}} | |||
{{{obtained|}}}}} | |||
|- | |- | ||
{{#if:{{{authorized|}}}| | {{#if:{{{authorized|}}}| | ||
! | ! Authorized in | ||
{{!}} | |||
{{{authorized|}}}}}|- | {{{authorized|}}}}} | ||
|- | |||
{{#if:{{{ammo|}}}| | {{#if:{{{ammo|}}}| | ||
! | ! Ammunition | ||
{{!}} | |||
{{{ammo|}}}}} | {{{ammo|}}}}} | ||
|- | |- | ||
{{#if:{{{combo|}}}| | {{#if:{{{combo|}}}| | ||
! | ! Charge Combo | ||
{{!}} | |||
{{{combo|}}}}} | {{{combo|}}}}} | ||
|- | |- | ||
! | ! Properties | ||
{{!}} | |||
{{{properties|Inflicts Damage}}} | {{{properties|Inflicts Damage}}} | ||
| | |} | ||
|} | |||
<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. | ||
*'''Image:''' An image of the weapon | *'''''Image:''''' An image of the weapon | ||
*'''Caption:''' A caption accompanying the image | *'''''Caption:''''' A caption accompanying the image | ||
*'''Games:''' Any games the weapon appeared in | *'''''Games:''''' Any games the weapon appeared in | ||
*'''Users:''' Users of the weapon <small>(Usually just Samus)</small> | *'''''Users:''''' Users of the weapon <small>(Usually just Samus)</small> | ||
*'''Location:''' Where the weapon was obtained | *'''''Location:''''' Where the weapon was obtained | ||
*'''Authorized:''' Where the weapon was authorized <small>(For ''Other M'' only)</small> | *'''''Obtain:''''' How Samus obtains the weapon | ||
*'''Properties:''' Any special properties of the weapon | *'''''Authorized:''''' Where the weapon was authorized <small>(For ''Other M'' only)</small> | ||
*'''Ammo:''' Ammo used by the weapon, if applicable | *'''''Properties:''''' Any special properties of the weapon | ||
*'''Combo:''' A combo, if present, of the weapon | *'''''Ammo:''''' Ammo used by the weapon, if applicable | ||
*'''Sprite:''' A Sprite of the weapon or the weapon in use | *'''''Combo:''''' A combo, if present, of the weapon | ||
*'''''Sprite:''''' A Sprite of the weapon or the weapon in use | |||
'''Blank code <small>(paste onto page)</small>:''' | '''Blank code <small>(paste onto page)</small>:''' | ||
Line 60: | Line 72: | ||
|users= | |users= | ||
|location= | |location= | ||
|obtained= | |||
|authorized= | |authorized= | ||
|properties= | |properties= | ||
Line 66: | Line 79: | ||
}}</pre> | }}</pre> | ||
[[Category:Infobox Templates]]</noinclude> | |||
[[Category:Infobox Templates |
Latest revision as of 23:21, 16 August 2021
| ||||
|
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= }}