Template:SMO kingdom: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(Undo revision 2330226 by Alex95 (talk) Never mind. Metro Kingdom seems to be the exception.) |
m (Text replacement - "{{SMO kingdom infobox" to "{{SMO kingdom") |
||
(39 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
{| class="infobox" | {| 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]]}} | ||
| colspan="4" | <span style="font-size:1.4em">'''{{{title|{{PAGETITLE}}}}}'''</span>{{#if:{{{subtitle|}}}|<br>"''{{{subtitle}}}''"}} | |||
|- | |- | ||
| colspan=" | | colspan="4" width="281px" | <span style="font-size:1.3em">{{#if:{{{area|}}}|{{{area}}}}}</span>{{#if:{{{area_subtitle|}}}|<br>"''{{{area_subtitle}}}''"}} | ||
|- | |- | ||
| | |- bgcolor="whitesmoke" | ||
| '''Population''' | |||
| {{{population}}} | |||
| '''Size''' | |||
| {{{size}}} | |||
|- | |- | ||
| '''Locals''' | |||
| | | {{{locals}}} | ||
| '''Currency''' | |||
| | | {{{currency}}} | ||
|- bgcolor="whitesmoke" | |||
| '''Industry''' | |||
| {{{industry}}} | |||
| '''Temperature''' | |||
| {{{temperature}}} | |||
|}<noinclude> | |||
==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. | |||
<pre> | <pre> | ||
{{ | {{SMO kingdom | ||
|image= a file without "Image:" or "File:" preceding its name (e.g. write "Mario223.jpg") | |title=the kingdom name (defaults to the article title sans identifier) | ||
|width= only use if 256px is an enlargement of the original image | |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=the area within the kingdom | ||
|area_subtitle= the subtitle for the area | |area_subtitle=the subtitle for the area | ||
|population= the population of the kingdom | |population=the population of the kingdom | ||
|size= the size of the kingdom | |size=the size of the kingdom | ||
|locals= the locals within the kingdom | |locals=the locals within the kingdom | ||
|currency= the currency of the kingdom | |currency=the currency of the kingdom | ||
|industry= the industry for the kingdom | |industry=the industry for the kingdom | ||
|temperature= the temperature of the kingdom | |temperature=the temperature of the kingdom | ||
}} | }} | ||
</pre> | </pre> | ||
[[Category: | |||
[[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 }}