• New article from the Springfield Shopper: Season 36 News: A new episode title, “Homer and Her Sisters”, has been announced!
  • New article from the Springfield Shopper: The Simpsons are trapped on a flight from Hell this December!
  • 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:Town"

Wikisimpsons - The Simpsons Wiki
m
 
(8 intermediate revisions by 5 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-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" | '''<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}}}
 
|}
 
 
|-
 
|-
| 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" | '''Town/City Information'''
+
| 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" | '''Town/City 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}}}; -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:{{{country|}}}|
 
{{#if:{{{country|}}}|
Line 13: Line 11:
 
|-
 
|-
 
{{#if:{{{state|}}}|
 
{{#if:{{{state|}}}|
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} State:
+
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} State/Province:
 
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{state}}} }}
 
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{state}}} }}
 
|-
 
|-
Line 55: Line 53:
 
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Area code:
 
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Area code:
 
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{area code}}} }}
 
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{area code}}} }}
 +
|-
 +
{{#if:{{{mentioned|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #E0B400;" {{!}} First mentioned:
 +
{{!}} style="border-top: 1px solid #E0B400;" {{!}} {{{mentioned}}} }}
 
|-
 
|-
 
{{#if:{{{appearance|}}}|
 
{{#if:{{{appearance|}}}|
Line 83: Line 85:
 
}}
 
}}
 
</pre>
 
</pre>
[[Category:Templates|{{PAGENAME}}]][[sv:Mall:Town]]</noinclude>
+
[[Category:Templates]][[Category:Infoboxes]][[sv:Mall:Town]]</noinclude>

Latest revision as of 11:24, March 3, 2022

Town
Town/City Information

Use[edit]

{{Town
|name = 
|image = 
|country = 
|state = 
|founder = 
|founded = 
|incorporated = 
|city motto = 
|mayor = 
|area =
|elevation = 
|population = 
|area code = 
|appearance = 
}}