• New article from the Springfield Shopper: Season 36 News: A new episode title, “Homer and Her Sisters”, has 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
 
(12 intermediate revisions by 7 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:#fff4a7
 
|align="center" colspan="2" | {{{image}}}
 
|- style="vertical-align: top;" | class{{{country}}}="hiddenStructure"
 
| {{#if:{{{country|}}}|'''Country'''|}}
 
| {{{country|}}}
 
|- style="vertical-align: top;" | class{{{state}}}="hiddenStructure"
 
| {{#if:{{{state|}}}|'''State'''|}}
 
| {{{state|}}}
 
|- 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;" | class{{{elevation}}}="hiddenStructure"
 
| {{#if:{{{elevation|}}}|'''Elevation'''|}}
 
| {{{elevation|}}}
 
|- style="vertical-align: top;" | class{{{population}}}="hiddenStructure"
 
| {{#if:{{{population|}}}|'''Population'''|}}
 
| {{{population|}}}
 
|- style="vertical-align: top;" | class{{{area code}}}="hiddenStructure"
 
| {{#if:{{{area code|}}}|'''Area Code'''|}}
 
| {{{area code|}}}
 
|- style="vertical-align: top;" | class{{{appearance}}}="hiddenStructure"
 
| {{#if:{{{appearance|}}}|'''First Appearance'''|}}
 
| {{{appearance|}}}
 
 
|-
 
|-
 +
| 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>
 
<noinclude>
 
== Use ==
 
== Use ==
Line 54: Line 78:
 
|city motto =  
 
|city motto =  
 
|mayor =  
 
|mayor =  
 +
|area =
 
|elevation =  
 
|elevation =  
 
|population =  
 
|population =  
Line 60: Line 85:
 
}}
 
}}
 
</pre>
 
</pre>
[[Category:Templates|{{PAGENAME}}]]</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 = 
}}