Template:SMO kingdom: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 1: Line 1:
{| id="smo-kingdom" class="infobox" style="width:80%; margin: auto; float: unset; background-color: white; text-align: left;"
{| class="infobox-wide" style="width:80%;text-align:left;background:white;border-color:darkkhaki;margin:0 auto 10px"
|-
| rowspan="5" width="281px" | {{#if:{{{image|}}}|[[File:{{{image}}}|{{{width|281}}}px]]}}
| rowspan="5" width="281px" | {{#if:{{{image|}}}|[[File:{{{image}}}|{{{width|281}}}px]]}}
| colspan="4" | <span style="font-size:1.4em;"><strong>{{{title|{{PAGETITLE}}}}}</strong></span>{{#if:{{{subtitle|}}}|<br>"''{{{subtitle}}}''"}}
| colspan="4" | <span style="font-size:1.4em;"><strong>{{{title|{{PAGETITLE}}}}}</strong></span>{{#if:{{{subtitle|}}}|<br>"''{{{subtitle}}}''"}}
Line 21: Line 20:
!Temperature
!Temperature
|{{{temperature}}}
|{{{temperature}}}
|}
|}<noinclude>
{{br}}
<templatestyles src="SMO kingdom infobox/styles.css"/><noinclude>{{br}}
==Usage instructions==
==Usage instructions==
Provides info about a kingdom in ''[[Super Mario Odyssey]]''.
Provides info about a kingdom in ''[[Super Mario Odyssey]]''.
Line 46: Line 43:
</pre>
</pre>


[[Category:Infobox templates]]</noinclude>
[[Category:Horizontal infoboxes]]</noinclude>

Revision as of 09:04, May 18, 2024

SMO kingdom
Population {{{population}}} Size {{{size}}}
Locals {{{locals}}} Currency {{{currency}}}
Industry {{{industry}}} Temperature {{{temperature}}}

Usage instructions

Provides info about a kingdom in Super Mario Odyssey.

All rows will disappear if respective variables are not defined. Width is for image only, default 256px.

{{SMO kingdom infobox
|title=the kingdom name (defaults to the article title sans identifier)
|subtitle=the subtitle for the kingdom
|image=a file without "Image:" or "File:" preceding its name (e.g. write "Mario223.jpg")
|width=only use if 256px is an enlargement of the original image 
|area=the area within the kingdom
|area_subtitle=the subtitle for the area
|population=the population of the kingdom
|size=the size of the kingdom
|locals=the locals within the kingdom
|currency=the currency of the kingdom
|industry=the industry for the kingdom
|temperature=the temperature of the kingdom
}}