• Wikisimpsons needs more Featured Article, Picture, Quote, Episode and Comprehensive article nominations!
  • Wikisimpsons has a Discord server! Click here for your invite! Join to talk about the wiki, Simpsons and Tapped Out news, or just to talk to other users.
  • Make an account! It's easy, free, and your work on the wiki can be attributed to you.
TwitterFacebookDiscord

Difference between revisions of "Template:Location"

Wikisimpsons - The Simpsons Wiki
m
 
(26 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-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="center" colspan=2 bgcolor="#fada00" style="font-size:110%;" | '''{{{name}}}'''
+
|-
|- style=background:#fff4a7
+
| align="center" | '''<big>{{{name|{{PAGENAME}}}}}</big>'''
| align="center" colspan="2" | {{{image}}}<small><center>{{{image text|}}}</center></small>
+
{{#if:{{{image|}}}|{{infobox image|image={{{image}}}}}}}{{#if:{{{caption|}}}|<small>{{{caption}}}</small>}}
|- style="vertical-align: top;" | class{{{District}}}="hiddenStructure"
+
|-
| {{#if:{{{District|}}}|'''District'''|}}
+
| style="background:#{{DarkColorSwitch}}; 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'''
| {{{District|}}}
+
{| 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}}};"
|- style="vertical-align: top;" | class{{{Town}}}="hiddenStructure"
+
{{#if:{{{district|}}}|
| {{#if:{{{Town|}}}|'''Town'''|}}
+
! align="right" width="80px" {{!}} District:
| {{{Town|}}}
+
{{!}} {{{district|{{{district}}}}}} }}
|- style="vertical-align: top;" | class{{{use}}}="hiddenStructure"
+
|-
| {{#if:{{{use|}}}|'''Used for'''|}}
+
{{#if:{{{town|}}}|
| {{{use|}}}
+
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Town:
|- style="vertical-align: top;" | class{{{owner}}}="hiddenStructure"
+
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{town}}} }}
| {{#if:{{{owner|}}}|'''Owner'''|}}
+
|-
| {{{owner|}}}
+
{{#if:{{{state|}}}|
|- style="vertical-align: top;" | class{{{employees}}}="hiddenStructure"
+
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} State/Province:
| {{#if:{{{employees|}}}|'''Employees'''|}}
+
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{state}}} }}
| {{{employees|}}}
+
|-
|- style="vertical-align: top;"
+
{{#if:{{{country|}}}|
| '''First appearance'''
+
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Country:
| {{{first appearance}}}
+
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{country}}} }}
|- style="vertical-align: top;"
+
|-
 +
{{#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}}} }}
 +
|-
 +
|}
 +
|-
 
|-
 
|-
 
|}<noinclude></noinclude>
 
|}<noinclude></noinclude>
  
<includeonly>[[Category:Locations]]</includeonly>
+
<includeonly>{{#if:{{NAMESPACE}}||[[Category:Locations]]}}</includeonly><noinclude>[[Category:Templates]][[Category:Infoboxes]] [[sv:Mall:Location]]</noinclude><noinclude>
<noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
 
  
<noinclude>
 
 
== Use ==
 
== Use ==
 
<pre>
 
<pre>
Line 34: Line 54:
 
|name=  
 
|name=  
 
|image=  
 
|image=  
|District=  
+
|state=
|Town=  
+
|district=
 +
|town=
 +
|country=
 
|use=  
 
|use=  
 
|owner=  
 
|owner=  
 
|employees=
 
|employees=
|first appearance=  
+
|appearance=
 +
|mentioned=
 
}}
 
}}
 
</pre>
 
</pre>
 
</noinclude>
 
</noinclude>

Latest revision as of 11:15, March 22, 2024

Location
Location Information

Use[edit]

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