Template:Weapon-infobox: Difference between revisions
From Metroid Wiki
Metroidking (talk | contribs) mNo edit summary |
(infobox) |
||
(13 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|}}}| | |||
{{!}} 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" | |||
! Game(s) | |||
{{!}} | |||
{{{games|''None''}}} | |||
|- | |- | ||
{{#if:{{{users|}}}| | {{#if:{{{users|}}}| | ||
! Users | ! Users | ||
{{!}} | {{!}} | ||
}} | {{{users|}}}}} | ||
|- | |||
{{#if:{{{location|}}}| | {{#if:{{{location|}}}| | ||
! Located in | ! Located in | ||
{{!}} | {{!}} | ||
}} | {{{location|}}}}} | ||
{{#if:{{{ | |- | ||
{{! | {{#if:{{{obtained|}}}| | ||
! | ! How to obtain | ||
{{!}} | {{!}} | ||
}} | {{{obtained|}}}}} | ||
|- | |||
{{#if:{{{authorized|}}}| | |||
! Authorized in | |||
{{!}} | |||
{{{authorized|}}}}} | |||
|- | |||
{{#if:{{{ammo|}}}| | {{#if:{{{ammo|}}}| | ||
! Ammunition | ! Ammunition | ||
{{!}} | {{!}} | ||
}} | {{{ammo|}}}}} | ||
{{#if:{{{ | |- | ||
{{#if:{{{combo|}}}| | |||
! Charge Combo | ! Charge Combo | ||
{{!}} | {{!}} | ||
}} | {{{combo|}}}}} | ||
|}<noinclude>{{clear}} | |- | ||
! Properties | |||
{{!}} | |||
{{{properties|Inflicts Damage}}} | |||
|} | |||
|} | |||
<noinclude>{{clear}} | |||
==Usage== | ==Usage== | ||
This should be used on the pages of weapons such as beams or | 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 <small>(Usually just Samus)</small> | |||
*'''''Location:''''' Where the weapon was obtained | |||
*'''''Obtain:''''' How Samus obtains the weapon | |||
*'''''Authorized:''''' Where the weapon was authorized <small>(For ''Other M'' only)</small> | |||
*'''''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 <small>(paste onto page)</small>:''' | |||
<pre>{{Weapon-infobox | <pre>{{Weapon-infobox | ||
|image= | |image= | ||
Line 44: | Line 72: | ||
|users= | |users= | ||
|location= | |location= | ||
|obtained= | |||
|authorized= | |||
|properties= | |properties= | ||
|ammo= | |ammo= | ||
| | |combo= | ||
}}</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= }}