Template:Location infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "|- style="vertical-align: top"" to "|-")
No edit summary
Line 5: Line 5:
|-
|-
| colspan="2" style="text-align:center" | {{#if:{{{caption|}}}|{{{caption|}}}}}
| colspan="2" style="text-align:center" | {{#if:{{{caption|}}}|{{{caption|}}}}}
|- style="vertical-align: top;background:#ffe3ff"
|- style="background:#ffe3ff"
{{#if:{{{first_appearance|}}}|
{{#if:{{{first_appearance|}}}|
{{!}} '''First appearance'''
{{!}} '''First appearance'''
Line 25: Line 25:
{{!}} {{{capital}}}
{{!}} {{{capital}}}
|}}
|}}
|- style="vertical-align: top;background:#ffe3ff"
|- style="background:#ffe3ff"
{{#if:{{{ruler|}}}|
{{#if:{{{ruler|}}}|
{{!}} '''Ruler'''
{{!}} '''Ruler'''
Line 35: Line 35:
{{!}} {{{owner}}}
{{!}} {{{owner}}}
|}}
|}}
|- style="vertical-align: top;background:#ffe3ff"
|- style="background:#ffe3ff"
{{#if:{{{inhabitants|}}}|
{{#if:{{{inhabitants|}}}|
{{!}} '''Inhabitants'''
{{!}} '''Inhabitants'''

Revision as of 15:20, April 18, 2022

Location infobox

Provides basic information about a location within the respective Mario, Yoshi, Wario, and Donkey Kong franchises.

Usage

Syntax
|name= By default, this is not necessary, as it will automatically use the article title. When this is not desirable (e.g., where there is a "(disambiguation)" tag in the article title), it can be manually specified.
|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.
|first_appearance= The debut appearance of the location and the date in parentheses
|latest_appearance= The latest appearance of the location and the date in parentheses
|greaterloc= The overall area where the location is found in (e.g. Shy Guy's Toy BoxToad Town)
|capital= The capital of the location (rarely applicable)
|ruler= The character(s) who rule or otherwise govern the area (rarely applicable)
|owner= Alternative parameter for "ruler" used for houses, businesses, and other forms of property where the term "ruler" is unfitting
|inhabitants= This specifically applies to species. There can be multiple types of inhabitants.
{{location-infobox
|name=
|image=
|caption=
|width=
|first_appearance=
|latest_appearance=
|greaterloc=
|capital=
|ruler=
|owner=
|inhabitants=
}}