• 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
 
(18 intermediate revisions by 9 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;" |class{{{Country}}}="hiddenStructure"
 
| {{#if:{{{Country|}}}|'''Country'''|}}
 
| {{{Country|}}}
 
|- style="vertical-align: top;" | class{{{District}}}="hiddenStructure"
 
| {{#if:{{{District|}}}|'''District'''|}}
 
| {{{District|}}}
 
|- style="vertical-align: top;" | class{{{County}}}="hiddenStructure"
 
| {{#if:{{{County|}}}|'''County'''|}}
 
| {{{County|}}}
 
|- style="vertical-align: top;" | class{{{Founder}}}="hiddenStructure"
 
| {{#if:{{{Founder|}}}|'''Founder'''|}}
 
| {{{Founder|}}}
 
|- style="vertical-align: top;" | class{{{Founded}}}="hiddenStructure"
 
| {{#if:{{{Founded|}}}|'''Founded'''|}}
 
| {{{Founded|}}}
 
|- style="vertical-align: top;" | class{{{Incorporated}}}="hiddenStructure"
 
| {{#if:{{{Incorporated|}}}|'''Incorporated'''|}}
 
| {{{Incorporated|}}}
 
|- style="vertical-align: top;" | class{{{City Motto}}}="hiddenStructure"
 
| {{#if:{{{City Motto|}}}|'''City Motto'''|}}
 
| {{{City Motto|}}}
 
|- style="vertical-align: top;" | class{{{Mayor}}}="hiddenStructure"
 
| {{#if:{{{Mayor|}}}|'''Mayor'''|}}
 
| {{{mayor|}}}
 
|- style="vertical-align: top;"
 
| '''Elevation'''
 
| {{{elevation}}}
 
|- style="vertical-align: top;" | class{{{Elevation}}}="hiddenStructure"
 
| {{#if:{{{Elevation|}}}|'''Elevation'''|}}
 
| {{{Elevation|}}}
 
|- style="vertical-align: top;" | class{{{Area Code}}}="hiddenStructure"
 
| {{#if:{{{Area Code|}}}|'''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}}} }}
 
|}
 
|}
<noinclude>[[Category:Templates|{{PAGENAME}}]]</noinclude>
+
|-
 +
|-
 +
|}<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 = 
}}