Navigation menu

Template:Inventory: Difference between revisions

From Metroid Wiki
mNo edit summary
(mw-collapsible)
Line 1: Line 1:
{{#vardefine:{{{refname|Inventory Ref}}}|{{cite|{{{entry}}}| {{#switch: {{{game|}}}|mp1=Inventory "{{{name|}}}"|mph=Inventory "{{{name|}}}"|mp2=Inventory "{{{name|}}}"|mp3=Inventory "{{{name|}}}"|#default=Inventory}} |{{#switch: {{{game|}}}|mp1=[[Metroid Prime (game)|Metroid Prime]]|mph=[[Metroid Prime Hunters]]|mp2=[[Metroid Prime 2: Echoes]]|mp3=[[Metroid Prime 3: Corruption]]|#default=[[Metroid Prime (game)|Metroid Prime]]}}}}}}<div class="NavFrame" valign="top" align="left" style="{{#switch:{{lc:{{{position|}}}}}|1|1st|first|one|top={{roundt}}|2|2nd|center|middle|mid={{round|0px}}|3|3rd|last|bottom={{roundb}}|{{round}}}} {{background|neutral}} {{border|2}}; width:60%; padding:3px; margin:0px">
{{#vardefine:{{{refname|Inventory Ref}}}|{{cite|{{{entry}}}| {{#switch: {{{game|}}}|mp1=Inventory "{{{name|}}}"|mph=Inventory "{{{name|}}}"|mp2=Inventory "{{{name|}}}"|mp3=Inventory "{{{name|}}}"|#default=Inventory}} |{{#switch: {{{game|}}}|mp1=[[Metroid Prime (game)|Metroid Prime]]|mph=[[Metroid Prime Hunters]]|mp2=[[Metroid Prime 2: Echoes]]|mp3=[[Metroid Prime 3: Corruption]]|#default=[[Metroid Prime (game)|Metroid Prime]]}}}}}}<div class="mw-collapsible outer-box mw-collapsed" style="{{#switch:{{lc:{{{position|}}}}}|1|1st|first|one|top={{roundt}}|2|2nd|center|middle|mid={{round|0px}}|3|3rd|last|bottom={{roundb}}|{{round}}}} {{background|neutral}} {{border|2}}; width:60%">
<div class="NavHead" style="{{round}} {{background}} {{border}}; width:98%; padding-left:2%; text-align: center">Inventory data from {{#switch: {{{game|}}}|mp|mp1={{mp1}} |mph={{mph}}|mp2={{mp2}}|mp3={{mp3}}|#default=a game}}: '''''{{{name|{{PAGENAME}}}}}'''''</div><div class="NavContent" style="padding:0px; width:100%; margin:0px; border:0px; display: none">
<div class="mw-collapsible-header" style="border-radius:15px; {{background}} {{border}}; width:98%; padding-left:2%; text-align: center">Inventory data from {{#switch: {{{game|}}}|mp|mp1={{mp1}} |mph={{mph}}|mp2={{mp2}}|mp3={{mp3}}|#default=a game}}: '''''{{{name|{{PAGENAME}}}}}'''''</div><div class="mw-collapsible-content" style="padding:0px; width:100%; margin:0px; border:0px;">
{| style="padding:0px; width:100%; border:0px solid; margin:0px;"
{| style="padding:0px; width:100%; border:0px solid; margin:0px;"
|-
|-

Revision as of 23:56, 16 August 2021

Inventory data from a game: Inventory
{{{entry}}}[1]

Code

Full code (paste onto page):

{{inventory
|name=
|data=
|game=
|image=
}}

Usage

This template allows us to display the inventory data for various weapon systems and upgrades in the Metroid Prime games. This is an extremely important template, but it is somewhat abstract to use. It has the following parameters.

  • Name: Inventory Name (e.g. "Missile" for Missile's Inventory data). This defaults to the pagename, and does not have to be added if the name of the page sufficiently describes the subject.
  • Data: Text that appears in Samus' inventory. Write it out exactly as written in the inventory, even if it has spelling or grammatical errors. Automatically cites the source.
  • Game: Abbreviation for game (see below).
  • Image: The image displayed. If multiple images appear, place the image that appears to the right in this slot.



  1. "{{{entry}}}" — Inventory (Metroid Prime)