Template:SMO kingdom: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
m (Text replacement - "{{SMO kingdom infobox" to "{{SMO kingdom")
 
(3 intermediate revisions by one other user not shown)
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%;background:#fff;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">'''{{{title|{{PAGETITLE}}}}}'''</span>{{#if:{{{subtitle|}}}|<br>"''{{{subtitle}}}''"}}
|-
|-
| colspan="4" width="281px" | <span style="font-size:1.3em;">{{#if:{{{area|}}}|{{{area}}}}}</span>{{#if:{{{area_subtitle|}}}|<br>"''{{{area_subtitle}}}''"}}
| colspan="4" width="281px" | <span style="font-size:1.3em">{{#if:{{{area|}}}|{{{area}}}}}</span>{{#if:{{{area_subtitle|}}}|<br>"''{{{area_subtitle}}}''"}}
|-
|-
|-bgcolor="whitesmoke"
|- bgcolor="whitesmoke"
!Population
| '''Population'''
|{{{population}}}
| {{{population}}}
!Size
| '''Size'''
|{{{size}}}
| {{{size}}}
|-
|-
!Locals
| '''Locals'''
|{{{locals}}}
| {{{locals}}}
!Currency
| '''Currency'''
|{{{currency}}}
| {{{currency}}}
|-bgcolor="whitesmoke"
|- bgcolor="whitesmoke"
!Industry
| '''Industry'''
|{{{industry}}}
| {{{industry}}}
!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 30: Line 27:


<pre>
<pre>
{{SMO kingdom infobox
{{SMO kingdom
|title=the kingdom name (defaults to the article title sans identifier)
|title=the kingdom name (defaults to the article title sans identifier)
|subtitle=the subtitle for the kingdom
|subtitle=the subtitle for the kingdom
Line 46: Line 43:
</pre>
</pre>


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

Latest revision as of 09:19, 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
|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
}}