Difference between revisions of "Template:Location"
Wikisimpsons - The Simpsons Wiki
Solar Dragon (talk | contribs) m |
|||
(7 intermediate revisions by 5 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>}} | {{#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" | '''Location 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:{{{ | + | {{#if:{{{district|}}}| |
! align="right" width="80px" {{!}} District: | ! align="right" width="80px" {{!}} District: | ||
− | {{!}} {{{district|{{{ | + | {{!}} {{{district|{{{district}}}}}} }} |
+ | |- | ||
+ | {{#if:{{{town|}}}| | ||
+ | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Town: | ||
+ | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{town}}} }} | ||
|- | |- | ||
{{#if:{{{state|}}}| | {{#if:{{{state|}}}| | ||
Line 14: | Line 18: | ||
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{state}}} }} | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{state}}} }} | ||
|- | |- | ||
− | {{#if:{{{ | + | {{#if:{{{country|}}}| |
− | |||
− | |||
− | |||
− | |||
! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Country: | ! align="right" width="80px" style="border-top: 1px solid #aaa;" {{!}} Country: | ||
− | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{country | + | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{country}}} }} |
|- | |- | ||
{{#if:{{{use|}}}| | {{#if:{{{use|}}}| | ||
Line 34: | Line 34: | ||
{{!}} style="border-top: 1px solid #aaa;" {{!}} {{{employees}}} }} | {{!}} style="border-top: 1px solid #aaa;" {{!}} {{{employees}}} }} | ||
|- | |- | ||
− | {{#if:{{{ | + | {{#if:{{{appearance|}}}| |
− | ! align="right" width="80px" style="border-top: 1px solid #{{ | + | ! align="right" width="80px" style="border-top: 1px solid #{{DarkColorSwitch}};" {{!}} First appearance: |
− | {{!}} style="border-top: 1px solid #{{ | + | {{!}} style="border-top: 1px solid #{{DarkColorSwitch}};" {{!}} {{{appearance}}} }} |
|- | |- | ||
{{#if:{{{mentioned|}}}| | {{#if:{{{mentioned|}}}| | ||
− | ! align="right" width="80px" style="border-top: 1px solid #{{ | + | ! align="right" width="80px" style="border-top: 1px solid #{{DarkColorSwitch}};" {{!}} First mentioned: |
− | {{!}} style="border-top: 1px solid #{{ | + | {{!}} style="border-top: 1px solid #{{DarkColorSwitch}};" {{!}} {{{mentioned}}} }} |
|- | |- | ||
|} | |} | ||
Line 47: | Line 47: | ||
|}<noinclude></noinclude> | |}<noinclude></noinclude> | ||
− | <includeonly>{{#if:{{NAMESPACE}}||[[Category:Locations]]}}</includeonly> | + | <includeonly>{{#if:{{NAMESPACE}}||[[Category:Locations]]}}</includeonly><noinclude>[[Category:Templates]][[Category:Infoboxes]] [[sv:Mall:Location]]</noinclude><noinclude> |
− | <noinclude>[[Category:Templates]][[Category:Infoboxes]] [[sv:Mall:Location]]</noinclude> | ||
− | |||
== Use == | == Use == | ||
<pre> | <pre> | ||
Line 56: | Line 54: | ||
|name= | |name= | ||
|image= | |image= | ||
− | | | + | |state= |
− | | | + | |district= |
− | | | + | |town= |
+ | |country= | ||
|use= | |use= | ||
|owner= | |owner= | ||
|employees= | |employees= | ||
− | | | + | |appearance= |
|mentioned= | |mentioned= | ||
}} | }} | ||
</pre> | </pre> | ||
</noinclude> | </noinclude> |
Latest revision as of 10:15, March 22, 2024
Location |
Location Information
|
Use[edit]
{{Location |name= |image= |state= |district= |town= |country= |use= |owner= |employees= |appearance= |mentioned= }}