TwitterFacebookDiscord

Difference between revisions of "Template:Location"

Wikisimpsons - The Simpsons Wiki
m
 
(50 intermediate revisions by 16 users not shown)
Line 1: Line 1:
{| class="infobox" cellpadding=2 cellspacing=2 align=right width=240px style="font-family: verdana, sans-serif; padding: 4px; margin: 0 0 1em 1em; font-size: 10px; background-color:#fff4a7; border:1px solid white;"
+
{| align="right" style="background:#{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}}; width:19%; border-radius:{{{Curve|10px}}};"
| align="center" colspan=2 bgcolor="#fada00" style="font-size:110%;" | '''{{{name}}}'''
 
|- style=background:#fff4a7
 
|align="center" colspan="2" | {{{image}}}
 
|- style="vertical-align: top;"
 
| '''District'''
 
| {{{District}}}
 
|- style="vertical-align: top;"
 
| '''Town'''
 
| {{{Town}}}
 
|- style="vertical-align: top;"
 
| '''use'''
 
| {{{use}}}
 
|- style="vertical-align: top;"
 
| '''owner'''
 
| {{{owner}}}
 
|- style="vertical-align: top;"
 
| '''first appearance'''
 
| {{{first appearance}}}
 
|- style="vertical-align: top;"
 
| '''see also'''
 
| {{{see also}}}
 
|- style="vertical-align: top;"
 
 
|-
 
|-
|}<noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
+
| align="center" | '''<big>{{{name|{{PAGENAME}}}}}</big>'''
 +
{{#if:{{{image|}}}|{{infobox image|image={{{image}}}}}}}{{#if:{{{caption|}}}|<small>{{{caption}}}</small>}}
 +
|-
 +
| style="background:#{{DarkColorSwitch}}; border-radius:10px;" align="center" | '''Location Information'''
 +
{| align="center" style="background:#FFFDF0; width:100%; border-radius:{{{Curve|10px}}};"
 +
{{#if:{{{district|}}}|
 +
! align="right" width="80px" {{!}} District:
 +
{{!}} {{{district}}} }}
 +
|-
 +
{{#if:{{{town|}}}|
 +
! align="right" width="80px" style="border-top:1px solid #aaa;" {{!}} Town:
 +
{{!}} style="border-top:1px solid #aaa;" {{!}} {{{town}}} }}
 +
|-
 +
{{#if:{{{region|}}}|
 +
! align="right" width="80px" style="border-top:1px solid #aaa;" {{!}} Region:
 +
{{!}} style="border-top:1px solid #aaa;" {{!}} {{{region}}} }}
 +
|-
 +
{{#if:{{{state|}}}|
 +
! align="right" width="80px" style="border-top:1px solid #aaa;" {{!}} State:
 +
{{!}} style="border-top:1px solid #aaa;" {{!}} {{{state}}} }}
 +
|-
 +
{{#if:{{{province|}}}|
 +
! align="right" width="80px" style="border-top:1px solid #aaa;" {{!}} Province:
 +
{{!}} style="border-top:1px solid #aaa;" {{!}} {{{province}}} }}
 +
|-
 +
{{#if:{{{country|}}}|
 +
! align="right" width="80px" style="border-top:1px solid #aaa;" {{!}} Country:
 +
{{!}} style="border-top:1px solid #aaa;" {{!}} {{{country}}} }}
 +
|-
 +
{{#if:{{{use|}}}|
 +
! align="right" width="80px" style="border-top:1px solid #aaa;" {{!}} Use:
 +
{{!}} style="border-top:1px solid #aaa;" {{!}} {{{use}}} }}
 +
|-
 +
{{#if:{{{owner|}}}|
 +
! align="right" width="80px" style="border-top:1px solid #aaa;" {{!}} Owner:
 +
{{!}} style="border-top:1px solid #aaa;" {{!}} {{{owner}}} }}
 +
|-
 +
{{#if:{{{employees|}}}|
 +
! align="right" width="80px" style="border-top:1px solid #aaa;" {{!}} Employees:
 +
{{!}} style="border-top:1px solid #aaa;" {{!}} {{{employees}}} }}
 +
|-
 +
{{#if:{{{appearance|}}}|
 +
! align="right" width="80px" style="border-top:1px solid #{{DarkColorSwitch}};" {{!}} First appearance:
 +
{{!}} style="border-top:1px solid #{{DarkColorSwitch}};" {{!}} {{{appearance}}} }}
 +
|-
 +
{{#if:{{{mentioned|}}}|
 +
! align="right" width="80px" style="border-top:1px solid #{{DarkColorSwitch}};" {{!}} First mentioned:
 +
{{!}} style="border-top:1px solid #{{DarkColorSwitch}};" {{!}} {{{mentioned}}} }}
 +
|-
 +
|}
 +
|}<includeonly>{{#if:{{NAMESPACE}}||[[Category:Locations]]}}</includeonly><noinclude>
 +
<noinclude>
 +
 
 +
== Use ==
 +
<pre>
 +
{{Location
 +
|name=
 +
|image=
 +
|state=
 +
|district=
 +
|town=
 +
|country=
 +
|use=
 +
|owner=
 +
|employees=
 +
|appearance=
 +
|mentioned=
 +
}}
 +
</pre>
 +
[[Category:Templates]][[Category:Infoboxes]] [[sv:Mall:Location]]</noinclude>

Latest revision as of 13:05, November 10, 2025

Location
Location Information


Use[edit]

{{Location
|name= 
|image= 
|state=
|district= 
|town= 
|country=
|use= 
|owner= 
|employees=
|appearance= 
|mentioned=
}}