Template:Location infobox: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
m (Robot: Changing Category:Infobox Templates to Category:Infobox templates) |
mNo edit summary |
||
Line 2: | Line 2: | ||
| align="center" style="background-color:#cbc; border:1px solid #c8c" colspan=2 | <font size=3><font color=black>'''{{{name|{{PAGENAME}}}}}'''</font> | | align="center" style="background-color:#cbc; border:1px solid #c8c" colspan=2 | <font size=3><font color=black>'''{{{name|{{PAGENAME}}}}}'''</font> | ||
|- | |- | ||
| colspan="2" |{{#if:{{{image|}}}|[[ | | colspan="2" |{{#if:{{{image|}}}|[[File:{{{image|}}}|{{{width|256}}}px|center]]}} | ||
|- | |- | ||
| colspan="2" |<center>{{#if:{{{caption|}}}|{{{caption|}}}}}</center> | | colspan="2" |<center>{{#if:{{{caption|}}}|{{{caption|}}}}}</center> | ||
Line 35: | Line 35: | ||
{{!}} {{{latest_appearance}}} | {{!}} {{{latest_appearance}}} | ||
|}} | |}} | ||
|}<noinclude> | |}<noinclude>{{br}} | ||
==Usage Instructions== | ==Usage Instructions== | ||
Provides info about a location in any Mario game. | 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 | All rows will disappear if respective variables are not defined. Width is for image only, default 256px. | ||
<pre> | <pre> | ||
{{location-infobox | {{location-infobox | ||
|image=a file without "Image:" or "File:" preceding its name (e.g. write "Mario223.jpg") | |image=a file without "Image:" or "File:" preceding its name (e.g. write "Mario223.jpg") | ||
|caption=a caption for the image | |caption=a caption for the image | ||
|width=only use if | |width=only use if 256px is an enlargement of the original image | ||
|greaterloc=the overall area where the location is found in (i.e. Shy Guy's Toybox → Toad Town) | |greaterloc=the overall area where the location is found in (i.e. Shy Guy's Toybox → Toad Town) | ||
|capital=the capital (rarely applicable) | |capital=the capital (rarely applicable) |
Revision as of 19:03, June 26, 2017
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 256px.
{{location-infobox |image=a file without "Image:" or "File:" preceding its name (e.g. write "Mario223.jpg") |caption=a caption for the image |width=only use if 256px is an enlargement of the original image |greaterloc=the overall area where the location is found in (i.e. Shy Guy's Toybox → Toad Town) |capital=the capital (rarely applicable) |ruler=use the current/latest ruler |inhabitants=meaning species. There can be multiple types inhabitants. |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 }}