Template:Location infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Text replacement - "Mario" to "Super Mario")
mNo edit summary
(6 intermediate revisions by 3 users not shown)
Line 2: Line 2:
! colspan="2" style="font-size:125%" | {{{title|{{PAGETITLE}}}}}
! colspan="2" style="font-size:125%" | {{{title|{{PAGETITLE}}}}}
|-
|-
| colspan="2" style="text-align:center" | {{#if:{{{image|}}}|[[File:{{{image|}}}|{{{width|256}}}px]]}}{{#if:{{{caption|}}}|<br>{{{caption|}}}}}
| colspan="2" style="text-align:center" | {{{image|}}}
|-
|-
{{#if:{{{first_appearance|}}}|
{{#if:{{{first_appearance|}}}|
Line 39: Line 39:
}}
}}
|}<templatestyles src="Location infobox/styles.css"/><noinclude>{{br}}
|}<templatestyles src="Location infobox/styles.css"/><noinclude>{{br}}
Provides basic information about a location within the respective ''[[Super Mario (franchise)|Super Mario]]'', ''[[Yoshi (franchise)|Yoshi]]'', ''[[Wario (franchise)|Wario]]'', and ''[[Donkey Kong (franchise)|Donkey Kong]]'' franchises.
Provides basic information about a location in ''[[Super Mario (franchise)|Super Mario]]'' media.


==Usage==
==Usage==
Line 49: Line 49:
|-
|-
|&#124;image=
|&#124;image=
|A file without "Image:" or "File:" preceding its name (e.g. write "Mario223.jpg")
|An image depicting the location
|-
|&#124;width=
|Only use if 256px is an enlargement of the original image.
|-
|&#124;caption=
|A caption for the image
|-
|-
|&#124;first_appearance=
|&#124;first_appearance=
Line 83: Line 77:
|title=
|title=
|image=
|image=
|width=
|caption=
|first_appearance=
|first_appearance=
|latest_appearance=
|latest_appearance=

Revision as of 19:38, November 21, 2023

Location infobox

Provides basic information about a location in Super Mario media.

Usage

Syntax
|title= By default, this is not necessary, as it will automatically use the article title sans identifier. For special cases, it can be manually specified.
|image= An image depicting the location
|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
|greater_location= 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
|title=
|image=
|first_appearance=
|latest_appearance=
|greater_location=
|capital=
|ruler=
|owner=
|inhabitants=
}}