Template:SMO kingdom: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
m (Text replacement - "{{SMO kingdom infobox" to "{{SMO kingdom")
 
(38 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{| class="infobox" cellpadding=2 cellspacing=2 align=right width=290px style="font-family: arial, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 11px; background-color:#fef; border:1px solid {{{border|#c8c}}}; color:gray"
{| class="infobox-wide" style="width:80%;background:#fff;border-color:darkkhaki;margin:0 auto 10px"
| align="center" colspan="4" style="background-color:#cbc; border:1px solid #c8c" | <font size=3 color=black>'''{{{kingdom|{{PAGENAME}}}}}'''</font>
| 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}}}''"}}
|-
|-
| align="center" colspan="2" |{{#if:{{{kingdom_subtitle|}}}|{{{kingdom_subtitle}}}}}
| colspan="4" width="281px" | <span style="font-size:1.3em">{{#if:{{{area|}}}|{{{area}}}}}</span>{{#if:{{{area_subtitle|}}}|<br>"''{{{area_subtitle}}}''"}}
|-
|-
| align="center" colspan="2" |{{#if:{{{image|}}}|[[File:{{{image}}}|{{{width|281}}}px|center]]}}
|- bgcolor="whitesmoke"
| '''Population'''
| {{{population}}}
| '''Size'''
| {{{size}}}
|-
|-
| align="center" colspan="2" |<font size=2 color=black>{{#if:{{{area|}}}|'''{{{area}}}'''}}</font>
| '''Locals'''
|-
| {{{locals}}}
| align="center" colspan="2" |{{#if:{{{area_subtitle|}}}|{{{area_subtitle}}}}}
| '''Currency'''
|-style="background-color:#ffe3ff"
| {{{currency}}}
{{#if:{{{population|}}}|
|- bgcolor="whitesmoke"
{{!}} <span style="color:black">'''Population
| '''Industry'''
{{!}} {{{population}}}
| {{{industry}}}
|}}
| '''Temperature'''
|- style="vertical-align: top"
| {{{temperature}}}
{{#if:{{{size|}}}|
|}<noinclude>
{{!}} <span style="color:black">'''Size
==Usage instructions==
{{!}} {{{size}}}
Provides info about a kingdom in ''[[Super Mario Odyssey]]''.
|}}
|- style="vertical-align: top; background-color:#ffe3ff"
{{#if:{{{locals|}}}|
{{!}} <span style="color:black">'''Locals
{{!}} {{{locals}}}
|}}
|- style="vertical-align: top"
{{#if:{{{currency|}}}|
{{!}} <span style="color:black">'''Currency
{{!}} {{{currency}}}
|}}
|-style="background-color:#ffe3ff"
{{#if:{{{industry|}}}|
{{!}} <span style="color:black">'''Industry
{{!}} {{{industry}}}
|}}
|- style="vertical-align: top"
{{#if:{{{temperature|}}}|
{{!}} <span style="color:black">'''Temperature
{{!}} {{{temperature}}}
|}}


|- style="vertical-align: top; background-color:#ffe3ff"
All rows will disappear if respective variables are not defined. Width is for image only, default 256px.
{{#if:{{{first_appearance|}}}|
{{!}} <span style="color:black">'''First Appearance
{{!}} {{{first_appearance}}}
|}}
|- style="vertical-align: top"
{{#if:{{{latest_appearance|}}}|
{{!}} <span style="color:black">'''Latest Appearance
{{!}} {{{latest_appearance}}}
|}}
|}<noinclude>{{br}}
==Usage Instructions==
Provides info about a location in any Mario game.


All rows will disappear if respective variables are not defined. Width is for image only, default 256px.
<pre>
<pre>
{{SMOlocation-infobox
{{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
|kingdom= the kingdom (defaults to page name)
|image=a file without "Image:" or "File:" preceding its name (e.g. write "Mario223.jpg")
|kingdom_subtitle= the subtitle for the kingdom
|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
|first_appearance= the game it first debuted in and the date in parentheses
|latest_appearance= the game it last was shown in and the date in parentheses
}}
}}
</pre>
</pre>
[[Category:Infobox templates|{{PAGENAME}}]]</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
}}