• New article from the Springfield Shopper: A Sneak Peek for “Treehouse of Horror Presents: Simpsons Wicked This Way Comes” has been released!
  • New article from the Springfield Shopper: Season 36 News: Even more Preview Images for “O C’mon All Ye Faithful” have been released!
  • New article from the Springfield Shopper: Season 36 News: The stories which the segments of “Simpsons Wicked This Way Comes” are based of have been announced!
  • 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
 
(22 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;"
+
{| 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:white
 
|align="center" colspan="2" | {{{image}}}
 
|- style="vertical-align: top;"
 
| '''country'''
 
| {{{country}}}
 
|- style="vertical-align: top;"
 
| '''state'''
 
| {{{state}}}
 
|- style="vertical-align: top;"
 
| '''county'''
 
| {{{county}}}
 
|- style="vertical-align: top;"
 
| '''founder'''
 
| {{{founder}}}
 
|- style="vertical-align: top;"
 
| '''founded'''
 
| {{{founded}}}
 
|- style="vertical-align: top;"
 
| '''incorparated'''
 
| {{{incorparated}}}
 
|- style="vertical-align: top;"
 
| '''city motto'''
 
| {{{city motto}}}
 
|- style="vertical-align: top;"
 
| '''mayor'''
 
| {{{mayor}}}
 
|- style="vertical-align: top;"
 
| '''elevation'''
 
| {{{elevation}}}
 
|- style="vertical-align: top;"
 
| '''population'''
 
| {{{population}}}
 
|- style="vertical-align: top;"
 
| '''area code'''
 
| {{{area code}}}
 
 
|-
 
|-
 +
| align="center" | '''<big>{{{name|{{PAGENAME}}}}}</big>'''
 +
{{#if:{{{image|}}}|{{infobox image|image={{{image}}}}}}}{{#if:{{{caption|}}}|<small>{{{caption}}}</small>}}
 +
|-
 +
| 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}}};"
 +
{{#if:{{{country|}}}|
 +
! align="right" width="80px" {{!}} Country:
 +
{{!}} {{{country}}} }}
 +
|-
 +
{{#if:{{{state|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} State/Province:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{state}}} }}
 +
|-
 +
{{#if:{{{county|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} County:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{county}}} }}
 +
|-
 +
{{#if:{{{founder|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Founder:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{founder}}} }}
 +
|-
 +
{{#if:{{{founded|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Founded:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{founded}}} }}
 +
|-
 +
{{#if:{{{incorporated|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Incorporated:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{incorporated}}} }}
 +
|-
 +
{{#if:{{{city motto|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} City motto:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{city motto}}} }}
 +
|-
 +
{{#if:{{{mayor|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Mayor:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{mayor}}} }}
 +
|-
 +
{{#if:{{{area|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Area:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{area}}} }}
 +
|-
 +
{{#if:{{{elevation|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Elevation:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{elevation}}} }}
 +
|-
 +
{{#if:{{{population|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Population:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{population}}} }}
 +
|-
 +
{{#if:{{{area code|}}}|
 +
! align="right" width="80px" 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|}}}|
 +
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} First appearance:
 +
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{appearance}}} }}
 
|}
 
|}
 +
|-
 +
|-
 +
|}<includeonly>[[Category:Locations]][[Category:Towns and cities]]</includeonly>
 +
<noinclude>
 +
== Use ==
 +
<pre>
 +
{{Town
 +
|name =
 +
|image =
 +
|country =
 +
|state =
 +
|founder =
 +
|founded =
 +
|incorporated =
 +
|city motto =
 +
|mayor =
 +
|area =
 +
|elevation =
 +
|population =
 +
|area code =
 +
|appearance =
 +
}}
 +
</pre>
 +
[[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 = 
}}