Template:Location infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "; background-color:" to ";background:")
m (Text replacement - "; border" to ";border")
Line 1: Line 1:
{| class="infobox" style="width:265px;background:#fef; border:1px solid {{{border|#c8c}}}"
{| class="infobox" style="width:265px;background:#fef;border:1px solid {{{border|#c8c}}}"
| align="center" style="background-color:#cbc; border:1px solid #c8c" colspan=2 | <font size=3><font color=black>'''{{{name|{{PAGENAME}}}}}'''</font>
| align="center" style="background-color:#cbc;border:1px solid #c8c" colspan=2 | <font size=3><font color=black>'''{{{name|{{PAGENAME}}}}}'''</font>
|-
|-
| colspan="2" |{{#if:{{{image|}}}|[[File:{{{image|}}}|{{{width|256}}}px|center]]}}
| colspan="2" |{{#if:{{{image|}}}|[[File:{{{image|}}}|{{{width|256}}}px|center]]}}

Revision as of 05:19, April 27, 2021

Location infobox

Usage instructions

Provides info about a location in any Mario game.

All rows will disappear if respective variables are not defined. Width is for image only, default 256px.

{{location-infobox
|name=Changes the name in the infobox to remove title identifiers
|image=A file without "Image:" or "File:" preceding its name (e.g. write "Mario223.jpg")
|caption=A caption for the image
|width=Only use if 256px is an enlargement of the original image.
|greaterloc=The overall area where the location is found in (i.e. Shy Guy's Toybox → Toad Town)
|capital=The capital (rarely applicable)
|ruler=The current/latest ruler
|inhabitants=Meaning species. There can be multiple types of inhabitants.
|first_appearance=The game it first debuted in and the date in parentheses
|latest_appearance=The game it last was shown in and the date in parentheses
}}