Difference between revisions of "Template:Location-infobox"

From Marioverse Wiki
Jump to navigationJump to search
m (Undo revision 735 by Cad48 (talk))
Tag: Undo
(added diagonal location support)
 
(24 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="3" 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="3" | {{{image|}}}
|align="center" colspan="2" | {{{image|}}}
{{#if:{{{full_name|}}}|{{!}}- style="background: #ff6666"
{{#if:{{{full_name|}}}|{{!}}- style="vertical-align: top;"
{{!}}'''Full name'''
{{!}}'''Full name'''
{{!}} style="width:17em" {{!}} {{{full_name|}}}
{{!}} {{{full_name|}}}
|}}
|}}
|- style="vertical-align: top"
{{#if:{{{other_names|}}}|{{!}}- style="vertical-align: top;"
{{!}}'''Other Names'''
{{!}} {{{other_names|}}}
|}}
|- style="vertical-align: center"
{{#if:{{{greater_location|}}}|{{!}}- style="vertical-align: top;"
{{#if:{{{greater_location|}}}|{{!}}- style="vertical-align: top;"
{{!}} '''Greater location'''
{{!}} '''Greater location'''
{{!}} {{{greater_location}}}
{{!}} {{{greater_location}}}
|}}
|}}
|- style="vertical-align: top"
|- style="vertical-align: center"
{{#if:{{{inhabitants|}}}|{{!}}- style="background: #ff6666;"
{{#if:{{{inhabitants|}}}|{{!}}- style="vertical-align: top"
{{!}} '''Inhabitants'''
{{!}} '''Inhabitants'''
{{!}} {{{inhabitants}}}
{{!}} {{{inhabitants}}}
|}}
|}}
|- style="vertical-align: top"
|- style="vertical-align: center"
{{#if:{{{capital|}}}|{{!}}- style="vertical-align: top"
{{#if:{{{capital|}}}|{{!}}- style="vertical-align: top"
{{!}} '''Capital'''
{{!}} '''Capital'''
{{!}} {{{capital}}}
{{!}} {{{capital}}}
|}}
|}}
|- style="vertical-align: top"
|- style="vertical-align: center"
{{#if:{{{landmarks|}}}|{{!}}- style="background: #ff6666;"
{{#if:{{{points_of_interest|}}}|{{!}}- style="vertical-align: top"
{{!}} '''Points of Interest'''
{{!}} '''Points of Interest'''
{{!}} {{{landmarks}}}
{{!}} {{{points_of_interest}}}
|}}
|}}
 
|- style="vertical-align: center"
|- style="vertical-align: top;horizontal-align: center"
{{!}} '''Nearby Locations'''
{{!}} '''Nearby Locations'''
{{#if: {{{north|}}}|
{{!}}{{neighboring-locations
{{!}}-
|north= {{{north}}}
{{!}} width="30%" {{!}} &nbsp;
|northeast= {{{northeast}}}
{{!}} {{!}}
|east= {{{east}}}
{{{!}} width="100%" style="background:#FFF; {{roundytop|100px}}"
|southeast= {{{southeast}}}
{{!}}-
|south= {{{south}}}
{{!}} &uarr;
|southwest= {{{southwest}}}
{{!}}-
|west= {{{west}}}
{{!}} {{{north}}}}}
|northwest= {{{northwest}}}
{{!}}}
|name= {{{title}}}
{{!}} width="30%" {{!}} &nbsp;
}}
|-
|
{{#if: {{{west|}}}{{{altwest|}}}|{{{!}} width="100%" style="background:#FFF; {{roundyleft|100px}}"
{{!}}-
{{!}} &larr;
{{!}} {{{west}}}}}
{{!}}}
| '''{{{title}}}'''
|  
{{#if: {{{east|}}}|{{{!}} width="100%" style="background:#FFF; {{roundyright|100px}}"
{{!}}-
{{!}} {{{east}}}}}
{{!}} &rarr;
{{!}}}
{{#if: {{{south|}}}|
{{!}}-
{{!}} &nbsp;
{{!}}  {{!}}
{{{!}} width="100%" style="background:#FFF; {{roundybottom|100px}}"
{{!}}-
{{!}} {{{south}}}}}
{{!}}-
{{!}} &darr;
{{!}}}
{{!}} &nbsp;|
|}
|}


Line 73: Line 51:
|image=
|image=
|full_name=
|full_name=
|other_names=
|greater_location=
|greater_location=
|inhabitants=
|inhabitants=
|capital=
|capital=
|landmarks=
|points_of_interest=
|north=
|north=
|northeast=
|east=
|east=
|southeast=
|south=
|south=
|southwest=
|west=
|west=
|northwest=
}}</pre></div>
}}</pre></div>
*title &ndash;
*title &ndash;
*image &ndash;
*image &ndash;
*full name &ndash;
*full name &ndash;
*other names &ndash;
*greater location &ndash;
*greater location &ndash;
*inhabitants &ndash;
*inhabitants &ndash;
*capital &ndash;
*capital &ndash;
*landmarks &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 –