TwitterFacebookDiscord

Difference between revisions of "Template:Location"

Wikisimpsons - The Simpsons Wiki
m
 
(17 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{| align="right" style="background: #FFEC73; border:2px solid #E0B400; width: 19%; border-top-left-radius: 5px; -moz-border-radius-topleft: 5px; -webkit-border-top-left-radius: 5px; -khtml-border-top-left-radius: 5px; -icab-border-top-left-radius: 5px; -o-border-top-left-radius: 5px; border-bottom-left-radius: 5px; -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; -khtml-border-bottom-left-radius: 5px; -icab-border-bottom-left-radius: 5px; -o-border-bottom-left-radius: 5px;; border-bottom-left-radius: 5px; -moz-border-radius-bottomleft: 5px; -webkit-border-bottom-left-radius: 5px; -khtml-border-bottom-left-radius: 5px; -icab-border-bottom-left-radius: 5px; -o-border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; -khtml-border-bottom-right-radius: 5px; -icab-border-bottom-right-radius: 5px; -o-border-bottom-right-radius: 5px;; border-radius: {{{Curve|10px}}}; -moz-border-radius: {{{Curve|10px}}}; -webkit-border-radius: {{{Curve|10px}}}; -khtml-border-radius: {{{Curve|10px}}}; -icab-border-radius: {{{Curve|10px}}}; -o-border-radius: {{{Curve|10px}}};;"
+
{| align="right" style="background:#{{LightColorSwitch}}; border:2px solid #{{DarkColorSwitch}}; width:19%; border-radius:{{{Curve|10px}}};"
 
|-
 
|-
 
| align="center" | '''<big>{{{name|{{PAGENAME}}}}}</big>'''
 
| align="center" | '''<big>{{{name|{{PAGENAME}}}}}</big>'''
{| align="center" style="background: #FFDC00; border-radius: {{{Curve|10px}}}; -moz-border-radius: {{{Curve|10px}}}; -webkit-border-radius: {{{Curve|10px}}}; -khtml-border-radius: {{{Curve|10px}}}; -icab-border-radius: {{{Curve|10px}}}; -o-border-radius: {{{Curve|10px}}};;"
+
{{#if:{{{image|}}}|{{infobox image|image={{{image}}}}}}}{{#if:{{{caption|}}}|<small>{{{caption}}}</small>}}
| align="center" style="background:#FFF88F;" | {{{image}}}{{#if:{{{caption|}}}|<small>{{{caption}}}</small>}}
 
|}
 
 
|-
 
|-
| style="background:#FFDC00; border-radius: 10px; -moz-border-radius: 10px; -webkit-border-radius: 10px; -khtml-border-radius: 10px; -icab-border-radius: 10px; -o-border-radius: 10px;;" align="center" | '''Location Information'''
+
| style="background:#{{DarkColorSwitch}}; border-radius:10px;" align="center" | '''Location Information'''
{| align="center" style="background: #FFFDF0; width: 100%; border-radius: {{{Curve|10px}}}; -moz-border-radius: {{{Curve|10px}}}; -webkit-border-radius: {{{Curve|10px}}}; -khtml-border-radius: {{{Curve|10px}}}; -icab-border-radius: {{{Curve|10px}}}; -o-border-radius: {{{Curve|10px}}};"
+
{| align="center" style="background:#FFFDF0; width:100%; border-radius:{{{Curve|10px}}};"
{{#if:{{{District|}}}|
+
{{#if:{{{district|}}}|
 
! align="right" width="80px" {{!}} District:
 
! align="right" width="80px" {{!}} District:
{{!}} {{{district|{{{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:{{{Town|}}}|
+
{{#if:{{{country|}}}|
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Town:
+
! align="right" width="80px" style="border-top:1px solid #aaa;" {{!}} Country:
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{town|{{{Town}}}}}} }}
+
{{!}} style="border-top:1px solid #aaa;" {{!}} {{{country}}} }}
 
|-
 
|-
 
{{#if:{{{use|}}}|
 
{{#if:{{{use|}}}|
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Use:
+
! align="right" width="80px" style="border-top:1px solid #aaa;" {{!}} Use:
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{use}}} }}
+
{{!}} style="border-top:1px solid #aaa;" {{!}} {{{use}}} }}
 
|-
 
|-
 
{{#if:{{{owner|}}}|
 
{{#if:{{{owner|}}}|
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Owner:
+
! align="right" width="80px" style="border-top:1px solid #aaa;" {{!}} Owner:
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{owner}}} }}
+
{{!}} style="border-top:1px solid #aaa;" {{!}} {{{owner}}} }}
 
|-
 
|-
 
{{#if:{{{employees|}}}|
 
{{#if:{{{employees|}}}|
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Employees:
+
! align="right" width="80px" style="border-top:1px solid #aaa;" {{!}} Employees:
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{employees}}} }}
+
{{!}} style="border-top:1px solid #aaa;" {{!}} {{{employees}}} }}
 
|-
 
|-
{{#if:{{{appearance|{{{first appearance|}}}}}}|
+
{{#if:{{{appearance|}}}|
! align="right" width="80px" style="border-top: 1px solid #E0B400;" {{!}} First Appearance:
+
! align="right" width="80px" style="border-top:1px solid #{{DarkColorSwitch}};" {{!}} First appearance:
{{!}} style="border-top: 1px solid #E0B400;" {{!}} {{{appearance|{{{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}}} }}
 
|-
 
|-
|}<noinclude></noinclude>
+
|}
 +
|}<includeonly>{{#if:{{NAMESPACE}}||[[Category:Locations]]}}</includeonly><noinclude>
 +
<noinclude>
  
<includeonly>{{#if:{{NAMESPACE}}||[[Category:Locations]]}}</includeonly>
 
<noinclude>[[Category:Templates]] [[sv:Mall:Location]]</noinclude>
 
 
<noinclude>
 
 
== Use ==
 
== Use ==
 
<pre>
 
<pre>
Line 45: Line 59:
 
|name=  
 
|name=  
 
|image=  
 
|image=  
|District=  
+
|state=
|Town=  
+
|district=
 +
|town=
 +
|country=
 
|use=  
 
|use=  
 
|owner=  
 
|owner=  
 
|employees=
 
|employees=
|first appearance=  
+
|appearance=
 +
|mentioned=
 
}}
 
}}
 
</pre>
 
</pre>
</noinclude>
+
[[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=
}}