TwitterFacebookDiscord

Difference between revisions of "Template:Location"

Wikisimpsons - The Simpsons Wiki
m
 
(31 intermediate revisions by 10 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;clear:right;"
+
{| 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}}}<small><center>{{{image text|}}}</center></small>
 
 
|-
 
|-
! align="center" colspan="2" bgcolor="#fada00" style="font-size:110%;" | {{{use}}}
+
| align="center" | '''<big>{{{name|{{PAGENAME}}}}}</big>'''
|- style="vertical-align: top;" | class{{{District}}}="hiddenStructure"
+
{{#if:{{{image|}}}|{{infobox image|image={{{image}}}}}}}{{#if:{{{caption|}}}|<small>{{{caption}}}</small>}}
| {{#if:{{{District|}}}|'''District'''|}}
 
| {{{District|}}}
 
|- style="vertical-align: top;" | class{{{Town}}}="hiddenStructure"
 
| {{#if:{{{Town|}}}|'''Town'''|}}
 
| {{{Town|}}}
 
|- style="vertical-align: top;" | class{{{owner}}}="hiddenStructure"
 
| {{#if:{{{owner|}}}|'''Owner'''|}}
 
| {{{owner|}}}
 
|- style="vertical-align: top;" | class{{{employees}}}="hiddenStructure"
 
| {{#if:{{{employees|}}}|'''Employees'''|}}
 
| {{{employees|}}}
 
|- style="vertical-align: top;"
 
| '''First appearance'''
 
| {{{first appearance}}}
 
|- style="vertical-align: top;"
 
 
|-
 
|-
|}<noinclude></noinclude>
+
| 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>
  
<includeonly>[[Category:Locations]]</includeonly>
 
<noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
 
 
<noinclude>
 
 
== Use ==
 
== Use ==
 
<pre>
 
<pre>
Line 33: 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=
}}