Template:Location infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(rewriting instructions)
No edit summary
Line 7: Line 7:
|-
|-
{{#if:{{{greaterloc|}}}|
{{#if:{{{greaterloc|}}}|
{{!}} '''Greater Location
{{!}} <span style="color:black">'''Greater Location
{{!}} {{{greaterloc|}}}
{{!}} {{{greaterloc|}}}
|}}
|}}
|- style="vertical-align: top"
|- style="vertical-align: top"
{{#if:{{{capital|}}}|
{{#if:{{{capital|}}}|
{{!}} '''Capital
{{!}} <span style="color:black">'''Capital
{{!}} {{{capital}}}
{{!}} {{{capital}}}
|}}
|}}
|- style="vertical-align: top"
|- style="vertical-align: top"
{{#if:{{{ruler|}}}|
{{#if:{{{ruler|}}}|
{{!}} '''Ruler
{{!}} <span style="color:black">'''Ruler
{{!}} {{{ruler}}}
{{!}} {{{ruler}}}
|}}
|}}
|- style="vertical-align: top"
|- style="vertical-align: top"
{{#if:{{{inhabitants|}}}|
{{#if:{{{inhabitants|}}}|
{{!}} '''Inhabitants
{{!}} <span style="color:black">'''Inhabitants
{{!}} {{{inhabitants}}}
{{!}} {{{inhabitants}}}
|}}
|}}
|- style="vertical-align: top"
|- style="vertical-align: top"
{{#if:{{{first_appearance|}}}|
{{#if:{{{first_appearance|}}}|
{{!}} '''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|}}}|
{{!}} '''Latest Appearance
{{!}} <span style="color:black">'''Latest Appearance
{{!}} {{{latest_appearance}}}
{{!}} {{{latest_appearance}}}
|}}
|}}

Revision as of 17:13, September 16, 2011

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 250px.

{{location-infobox
|image=a file without "Image:" or "File:" preceding its name (e.g. write "Mario223.jpg")
|captipn=a caption for the image
|width=only use if 250px 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
}}