Navigation menu

Template:Room-infobox: Difference between revisions

From Metroid Wiki
m (I broke something)
(infobox)
 
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;" | ''{{#if:{{{name|}}}|{{{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
! Game
{{!}} {{{game|}}} <!-- don't change this to games Malake! -->
{{!}}
{{{game|}}} <!-- don't change this to games -->
|-
|-
{{#if:{{{location|}}}|
{{#if:{{{location|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Location
! Location
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}  
{{!}}
{{{location|}}}}}
{{{location|}}}}}
|-
|-
{{#if:{{{connected|}}}|
{{#if:{{{connected|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Connected Rooms
! Connected Rooms
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}
{{!}}
{{{connected|}}}}}
{{{connected|}}}}}
|-
|-
{{#if:{{{counterpart|}}}|
{{#if:{{{counterpart|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Counterpart
! Counterpart
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}  
{{!}}
{{{counterpart|}}}}}
{{{counterpart|}}}}}
|-
|-
{{#if:{{{items|}}}|
{{#if:{{{items|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Item(s)
! Item(s)
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}  
{{!}}
{{{items|}}}}}
{{{items|}}}}}
|-
|-
{{#if:{{{inhabitants|}}}|
{{#if:{{{inhabitants|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Inhabitants
! Inhabitants
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}  
{{!}}
{{{inhabitants|}}}}}
{{{inhabitants|}}}}}
|-
|-
{{#if:{{{music|}}}|
{{#if:{{{music|}}}|
! style="border-top: 1px solid #{{mw color light}}; border-right: 1px solid #{{mw color light}}" align="right" {{!}} Music
! Music
{{!}} style="border-top: 1px solid #{{mw color light}}" {{!}}  
{{!}}
{{{music|}}}}}
{{{music|}}}}}
|-
|-
|}
|}
|}{{#if:{{{name|}}}|{{DISPLAYTITLE:{{{name|}}}}}|}}<noinclude>{{clear}}
|}{{#if:{{{name|}}}|{{DISPLAYTITLE:{{{name|}}}}}}}
<noinclude>{{clear}}


==Usage==
==Usage==
Line 75: Line 77:




[[Category:Infobox Templates|{{PAGENAME}}]]</noinclude>
[[Category:Infobox Templates]]</noinclude>

Latest revision as of 21:46, 16 August 2021

Room-infobox
Game

Usage[edit source]

To use this template copy the following and fill in the appropriate information.

  • Image: An Image of the room, most infoboxes should have these, screenshots are preferred in most cases
  • Caption: A caption for the room, used with all images
  • Name: The name of the room, use only if their is a similarly named room in another game (e.g. Landing Site for Landing Site (Tallon IV))
  • Game: The game the room is in
  • Location: The location that the room is located (e.g. Ing Hive for Hive Temple)
  • Connected: Place any room that is connected, if it is connected via portal or elevator, place (via elevator) or (via portal) after the link
  • Counterpart: Any counterpart existing on Aether or Dark Aether (e.g. Hall of Honored Dead for Sky Temple Gateway)
  • Items: Any upgrades, keys, Artifact etc. that are found in the room
  • Music: The name and link to the soundtrack played (here's a good source)

Properly categorize the page under the location it is in (Rooms in the Sky Temple for Sanctum (Sky Temple))
Blank code (paste onto page):

{{Room-infobox
|image=
|caption=
|game=
|name=
|location=
|connected=
|counterpart=
|items=
|music=
}}