Difference between revisions of "Template:Town"
Wikisimpsons - The Simpsons Wiki
m (→Use: Removing PAGENAME in category, replaced: {{PAGENAME}} → Category:Templates) |
Solar Dragon (talk | contribs) m |
||
(7 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
− | {| align="right" style="background: # | + | {| 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>''' | ||
− | { | + | {{#if:{{{image|}}}|{{infobox image|image={{{image}}}}}}}{{#if:{{{caption|}}}|<small>{{{caption}}}</small>}} |
− | |||
− | |||
|- | |- | ||
− | | style="background:# | + | | 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]][[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 = }}