Difference between revisions of "Template:Location-infobox"
From Marioverse Wiki
Jump to navigationJump to search
(Finishing up nesting) |
(added diagonal location support) |
||
(4 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''' | ||
{{!}} style=" | {{!}} {{{full_name|}}} | ||
|}} | |||
{{#if:{{{other_names|}}}|{{!}}- style="vertical-align: top;" | |||
{{!}}'''Other Names''' | |||
{{!}} {{{other_names|}}} | |||
|}} | |}} | ||
|- style="vertical-align: center" | |- style="vertical-align: center" | ||
Line 14: | Line 18: | ||
|}} | |}} | ||
|- style="vertical-align: center" | |- style="vertical-align: center" | ||
{{#if:{{{inhabitants|}}}|{{!}}- style=" | {{#if:{{{inhabitants|}}}|{{!}}- style="vertical-align: top" | ||
{{!}} '''Inhabitants''' | {{!}} '''Inhabitants''' | ||
{{!}} {{{inhabitants}}} | {{!}} {{{inhabitants}}} | ||
Line 24: | Line 28: | ||
|}} | |}} | ||
|- style="vertical-align: center" | |- style="vertical-align: center" | ||
{{#if:{{{ | {{#if:{{{points_of_interest|}}}|{{!}}- style="vertical-align: top" | ||
{{!}} '''Points of Interest''' | {{!}} '''Points of Interest''' | ||
{{!}} {{{ | {{!}} {{{points_of_interest}}} | ||
|}} | |}} | ||
|- style="vertical-align: center" | |- style="vertical-align: center" | ||
Line 32: | 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 43: | Line 51: | ||
|image= | |image= | ||
|full_name= | |full_name= | ||
|other_names= | |||
|greater_location= | |greater_location= | ||
|inhabitants= | |inhabitants= | ||
|capital= | |capital= | ||
| | |points_of_interest= | ||
|north= | |north= | ||
|northeast= | |||
|east= | |east= | ||
|southeast= | |||
|south= | |south= | ||
|southwest= | |||
|west= | |west= | ||
|northwest= | |||
}}</pre></div> | }}</pre></div> | ||
*title – | *title – | ||
*image – | *image – | ||
*full name – | *full name – | ||
*other names – | |||
*greater location – | *greater location – | ||
*inhabitants – | *inhabitants – | ||
*capital – | *capital – | ||
* | *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 –