Template:Location infobox: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Doesn't work :-/)
(proof)
Line 5: Line 5:
| colspan=2 | {{#if:{{{image|}}}|[[Image:{{{image|}}}|{{{width|250}}}px|center]]}}
| colspan=2 | {{#if:{{{image|}}}|[[Image:{{{image|}}}|{{{width|250}}}px|center]]}}
|-
|-
{{#if:{{{greaterloc|}}} | {{!}}-
|{{#if:{{{greaterloc|}}} |  
{{!}} '''Greater Location''' {{!}}{{!}} {{{greaterloc}}}
|-
|}}
|'''Greater Location'''
{{#if:{{{capital|}}} | {{!}}-
|{{{greaterloc}}}}}
{{!}} '''Capital''' {{!}}{{!}} {{{capital}}}
|-
|}}
|{{#if:{{{capital|}}} |
{{#if:{{{ruler|}}} | {{!}}-
|-
{{!}} '''Current Ruler''' {{!}}{{!}} {{{ruler}}}
|'''Capital'''
|}}
|{{{capital}}}}}
{{#if:{{{inhabitants|}}} | {{!}}-
|-
{{!}} '''Inhabitants''' {{!}}{{!}} {{{inhabitants}}}
|{{#if:{{{ruler|}}} |  
|}}
|-
{{#if:{{{first_appearance|}}} | {{!}}-
|'''Current Ruler'''
{{!}} '''First Appearance''' {{!}}{{!}} {{{first_appearance}}}
|{{{ruler}}}}}
|}}
|-
{{#if:{{{latest_appearance|}}} | {{!}}-
|{{#if:{{{inhabitants|}}} |  
{{!}} '''Latest Appearance''' {{!}}{{!}} {{{latest_appearance}}}
|-
|}}
|'''Inhabitants'''
|{{{inhabitants}}}}}
|-
|{{#if:{{{first_appearance|}}} |  
|-
|'''First Appearance'''
|{{{first_appearance}}}}}
|-
|{{#if:{{{latest_appearance|}}} |  
|-
|'''Latest Appearance'''
|{{{latest_appearance}}}}}
|}<noinclude><br clear="all">
|}<noinclude><br clear="all">
== Usage Instructions ==
== Usage Instructions ==

Revision as of 17:56, December 3, 2007

Location infobox


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.

{{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 → 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
}}