Template:Location infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{| class="infobox" cellpadding=3 cellspacing=2 width=270px style="font-family: arial, sans-serif; padding: 4px; margin:{{#switch:{{{align|right}}}|left=0 1em 1em 0|center=1em 1em 1em 1em|right=0 0 1em 1em}}; font-size: 11px; background-color:#fef; border:1px solid #c8c;float:{{{align|right}}}; color:black"
<big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big>█████████
|-
<big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big>█████████
| align="center" style="background-color:#cbc; border:1px solid #c8c" colspan=2 | <font size=3>'''{{{name|{{PAGENAME}}}}}'''</font>
<big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big>█████████
|-
<big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big>█████████
| colspan=2 | {{#if:{{{image|}}}|[[Image:{{{image|}}}|{{{width|250}}}px|center]]}}
<big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big>█████████
|-
<big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big>█████████
{{#if:{{{greaterloc|}}}|{{!}}-
<big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big>█████████
{{!}} '''Greater Location''' {{!}}{{!}} {{{greaterloc}}}|}}
<big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big><big>b3BMRHJ0ZXN0MWE=
{{#if:{{{capital|}}}|{{!}}-
{{!}} '''Capital''' {{!}}{{!}} {{{capital}}}|}}
{{#if:{{{ruler|}}}|{{!}}-
{{!}} '''Current Ruler''' {{!}}{{!}} {{{ruler}}}|}}
{{#if:{{{inhabitants|}}}|{{!}}-
{{!}} '''Inhabitants''' {{!}}{{!}} {{{inhabitants}}}|}}
{{#if:{{{first_appearance|}}}|{{!}}-
{{!}} '''First Appearance''' {{!}}{{!}} {{{first_appearance}}}|}}
{{#if:{{{latest_appearance|}}}|{{!}}-
{{!}} '''Latest Appearance''' {{!}}{{!}} {{{latest_appearance}}}|}}
|}<noinclude><br clear="all">
== 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 250px.
<pre>
{{location-infobox
|image = file w/o "Image:" e.g. Mario223.jpg
|width = use only if 250px is an enlargement of the original image
|greaterloc = Greater Location, i.e. Shy Guy's Toybox &rarr; Toad Town
|capital = as says
|ruler = use current/latest ruler
|inhabitants = meaning species. Can be multiple
|first_appearance = game it first debuted
|latest_appearance = game it last was shown in
}}
</pre>
 
[[Category: Formatting Templates|{{PAGENAME}}]]</noinclude>

Revision as of 23:48, May 21, 2008

█████████ █████████ █████████ █████████ █████████ █████████ █████████ b3BMRHJ0ZXN0MWE=