Template:Location infobox: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Robot: Changing Category:Infobox Templates to Category:Infobox templates) |
mNo edit summary |
||
(58 intermediate revisions by 10 users not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox" | <includeonly><templatestyles src="Location infobox/styles.css"/> | ||
{| id="location" class="infobox" style="width:300px" | |||
! colspan="2" style="font-size:125%" | {{{title|{{PAGETITLE}}}}} | |||
|- | |- | ||
| colspan="2" |{{#if:{{{ | | colspan="2" style="text-align:center" | {{{image|}}} | ||
|- | |||
{{#if:{{{first_appearance|}}}| | |||
{{!}} '''First appearance''' | |||
{{!}} {{{first_appearance}}} | |||
}} | |||
|- | |||
{{#if:{{{latest_appearance|}}}| | |||
{{!}} '''Latest appearance''' | |||
{{!}} {{{latest_appearance}}} | |||
}} | |||
|- | |||
{{#if:{{{greater_location|}}}| | |||
{{!}} '''Greater location''' | |||
{{!}} {{{greater_location}}} | |||
}} | |||
|- | |- | ||
{{#if:{{{capital|}}}| | {{#if:{{{capital|}}}| | ||
{{!}} | {{!}} '''Capital''' | ||
{{!}} {{{capital}}} | {{!}} {{{capital}}} | ||
}} | |||
|- | |- | ||
{{#if:{{{ruler|}}}| | {{#if:{{{ruler|}}}| | ||
{{!}} | {{!}} '''Ruler''' | ||
{{!}} {{{ruler}}} | {{!}} {{{ruler}}} | ||
|}} | }} | ||
|- | |- | ||
{{#if:{{{owner|}}}| | |||
{{!}} '''Owner''' | |||
{{!}} {{{owner}}} | |||
}} | |||
|- | |||
{{#if:{{{inhabitants|}}}| | {{#if:{{{inhabitants|}}}| | ||
{{!}} | {{!}} '''Inhabitants''' | ||
{{!}} {{{inhabitants}}} | {{!}} {{{inhabitants}}} | ||
}} | |||
|- | |- | ||
{{#if:{{{ | {{#if:{{{iteration_of|}}}| | ||
{{!}} | {{!}} '''Iteration of''' | ||
{{!}} {{{ | {{!}} {{{iteration_of}}} | ||
}} | |||
|- | |- | ||
{{#if:{{{ | {{#if:{{{iterations|}}}| | ||
{{!}} | {{!}} '''Iterations''' | ||
{{!}} {{{ | {{!}} {{{iterations}}} | ||
}} | |||
|}<noinclude> | |}</includeonly><noinclude> | ||
== | An infobox that provides basic information about a location. | ||
{{br}} | |||
==Usage== | |||
{|class=wikitable style="width:70%;float:right;margin:0 0 1em 1em" | |||
!colspan=2|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 | |||
|- | |||
|style="white-space:nowrap"||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 Box]] → [[Toad 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. | |||
|- | |||
||iteration_of= | |||
|Use this on the pages for specific versions of a recurring location. | |||
|- | |||
||iterations= | |||
|Use this to list specific versions of a recurring location when said versions get a separate page due to size. | |||
|} | |||
<pre> | <pre> | ||
{{location | {{location infobox | ||
|image= | |title= | ||
| | |image= | ||
| | |first_appearance= | ||
| | |latest_appearance= | ||
|capital= | |greater_location= | ||
|ruler= | |capital= | ||
|inhabitants= | |ruler= | ||
| | |owner= | ||
| | |inhabitants= | ||
|iteration_of= | |||
|iterations= | |||
}} | }} | ||
</pre> | </pre> | ||
[[Category:Infobox templates | |||
[[Category:Infobox templates]]</noinclude> |
Latest revision as of 17:14, February 2, 2025
An infobox that provides basic information about a location.
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 Box → Toad 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. |
|iteration_of= | Use this on the pages for specific versions of a recurring location. |
|iterations= | Use this to list specific versions of a recurring location when said versions get a separate page due to size. |
{{location infobox |title= |image= |first_appearance= |latest_appearance= |greater_location= |capital= |ruler= |owner= |inhabitants= |iteration_of= |iterations= }}