Difference between revisions of "Template:Location-infobox"
From Marioverse Wiki
Jump to navigationJump to search
LadySophie (talk | contribs) |
(added diagonal location support) |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{| class="infobox" cellpadding=2 cellspacing=2 align={{{align|right}}} width=280px style="font-family: verdana, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 10px; background-color: ghostwhite; border:1px solid #8a8; color:black" | <includeonly>{| class="infobox" cellpadding=2 cellspacing=2 align={{{align|right}}} width=280px style="font-family: verdana, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 10px; background-color: ghostwhite; border:1px solid #8a8; color:black" | ||
| align="center" colspan="2" bgcolor="# | | align="center" colspan="2" bgcolor="#ff6666" style="font-size:145%;" | '''<span style="color:white;">{{{title|{{PAGENAME}}}}}</span>''' | ||
|- | |- | ||
|align="center" colspan="2" | {{{image|}}} | |align="center" colspan="2" | {{{image|}}} | ||
{{#if:{{{full_name|}}}|{{!}}- style=" | {{#if:{{{full_name|}}}|{{!}}- style="vertical-align: top;" | ||
{{!}}'''Full name''' | {{!}}'''Full name''' | ||
{{!}} {{{full_name|}}} | |||
|}} | |}} | ||
{{#if:{{{other_names|}}}|{{!}}- style="vertical-align: top;" | |||
{{#if:{{{other_names|}}}|{{!}}- style=" | |||
{{!}}'''Other Names''' | {{!}}'''Other Names''' | ||
{{!}} {{{other_names|}}} | |||
|}} | |}} | ||
|- style="vertical-align: center" | |- style="vertical-align: center" | ||
Line 37: | Line 36: | ||
{{!}}{{neighboring-locations | {{!}}{{neighboring-locations | ||
|north= {{{north}}} | |north= {{{north}}} | ||
|northeast= {{{northeast}}} | |||
|east= {{{east}}} | |east= {{{east}}} | ||
|southeast= {{{southeast}}} | |||
|south= {{{south}}} | |south= {{{south}}} | ||
|southwest= {{{southwest}}} | |||
|west= {{{west}}} | |west= {{{west}}} | ||
|northwest= {{{northwest}}} | |||
|name= {{{title}}} | |name= {{{title}}} | ||
}} | }} | ||
Line 54: | Line 57: | ||
|points_of_interest= | |points_of_interest= | ||
|north= | |north= | ||
|northeast= | |||
|east= | |east= | ||
|southeast= | |||
|south= | |south= | ||
|southwest= | |||
|west= | |west= | ||
|northwest= | |||
}}</pre></div> | }}</pre></div> | ||
*title – | *title – | ||
Line 67: | Line 74: | ||
*points of interest– | *points of interest– | ||
*north – | *north – | ||
*northeast – | |||
*east – | *east – | ||
*southeast – | |||
*south – | *south – | ||
*southwest – | |||
*west – | *west – | ||
*northwest – | |||
[[Category:Infobox templates]]</noinclude> | [[Category:Infobox templates]]</noinclude> |
Latest revision as of 13:07, 2 June 2021
{{location-infobox |title= |image= |full_name= |other_names= |greater_location= |inhabitants= |capital= |points_of_interest= |north= |northeast= |east= |southeast= |south= |southwest= |west= |northwest= }}
- title –
- image –
- full name –
- other names –
- greater location –
- inhabitants –
- capital –
- points of interest–
- north –
- northeast –
- east –
- southeast –
- south –
- southwest –
- west –
- northwest –