Template:Location infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 7: Line 7:
|-style="background-color:#ffe3ff"
|-style="background-color:#ffe3ff"
{{#if:{{{greaterloc|}}}|
{{#if:{{{greaterloc|}}}|
{{!}} <span style="color:black">'''Greater Location
{{!}} <span style="color:black">'''Greater location
{{!}} {{{greaterloc|}}}
{{!}} {{{greaterloc|}}}
|}}
|}}
Line 27: Line 27:
|- style="vertical-align: top; background-color:#ffe3ff"
|- style="vertical-align: top; background-color:#ffe3ff"
{{#if:{{{first_appearance|}}}|
{{#if:{{{first_appearance|}}}|
{{!}} <span style="color:black">'''First Appearance
{{!}} <span style="color:black">'''First appearance
{{!}} {{{first_appearance}}}
{{!}} {{{first_appearance}}}
|}}
|}}
|- style="vertical-align: top"
|- style="vertical-align: top"
{{#if:{{{latest_appearance|}}}|
{{#if:{{{latest_appearance|}}}|
{{!}} <span style="color:black">'''Latest Appearance
{{!}} <span style="color:black">'''Latest appearance
{{!}} {{{latest_appearance}}}
{{!}} {{{latest_appearance}}}
|}}
|}}
|}<noinclude>{{br}}
|}<noinclude>{{br}}
==Usage Instructions==
==Usage instructions==
Provides info about a location in any Mario game.
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.
All rows will disappear if respective variables are not defined. Width is for image only, default 256px.

Revision as of 05:52, August 13, 2018

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
|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=use the current/latest ruler
|inhabitants=meaning species. There can be multiple types 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
}}