Difference between revisions of "Template:Location-infobox"

From Marioverse Wiki
Jump to navigationJump to search
m
(added diagonal location support)
 
(2 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="#10274c" style="font-size:145%;" | '''<span style="color:white;">{{{title|{{PAGENAME}}}}}</span>'''
| 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="background: #ff6666"
{{#if:{{{full_name|}}}|{{!}}- style="vertical-align: top;"
{{!}}'''Full name'''
{{!}}'''Full name'''
{{!}} {{{full_name|}}}
{{!}} {{{full_name|}}}
|}}
|}}
|align="center" colspan="2" | {{{image|}}}
{{#if:{{{other_names|}}}|{{!}}- style="vertical-align: top;"
{{#if:{{{other_names|}}}|{{!}}- style="vertical-align: top;"
{{!}}'''Other Names'''
{{!}}'''Other Names'''
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 &ndash;
*title &ndash;
Line 67: Line 74:
*points of interest&ndash;
*points of interest&ndash;
*north &ndash;
*north &ndash;
*northeast &ndash;
*east &ndash;
*east &ndash;
*southeast &ndash;
*south &ndash;
*south &ndash;
*southwest &ndash;
*west &ndash;
*west &ndash;
*northwest &ndash;
[[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 –