Template:Locality: Difference between revisions

From Mallala
Nowandth (talk | contribs)
Created page with '<noinclude> This is the 'Locality' template. It should be called in the following format: <pre> {{Locality |Also known as= |Town or Locality= |Geocoordinates= |When established= …'
 
Upgrade: maps use OpenStreetMap
 
(6 intermediate revisions by 3 users not shown)
Line 12: Line 12:
</pre>
</pre>
Edit the page to see the template text.
Edit the page to see the template text.
</noinclude><includeonly>
</noinclude>
{| style="width: 30em; font-size: 90%; border: 1px solid #aaaaaa; background-color: #f9f9f9; color: black; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; text-align:left;"
<includeonly>{| class="fastfacts" border="0" cellspacing="2" cellpadding="2" width="240"
! style="text-align: center; background-color:#ccccff;" colspan="2" |<big>{{PAGENAME}}</big>
|-
|-
! Also known as
| '''Fast Facts'''
| {{#arraymap:{{{Also known as|}}}|,|x|[[AltName::x]]}}
{{#if: {{{AltName|}}} |
|-
{{!}}-
! Town or Locality
{{!}} Also known as
| [[LocationAddressTownLocality::{{{Town or Locality|}}}]]
{{!}} {{#arraymap:{{{Also known as|}}}|,|x|[[AltName::x]]}}}}  
|-
{{#if: {{{Town or Locality|}}} |
! Geocoordinates
{{!}}-
| [[LocationCoordinates::{{{Geocoordinates|}}}]]
{{!}} Town or Locality
|-
{{!}} [[LocationAddressTownLocality::{{{Town or Locality|}}}]]}}
! When established
{{#if: {{{When established|}}} |
| [[DateConstructed::{{{When established|}}}]]
{{!}}-
|-
{{!}} When established
! Established by
{{!}} [[DateConstructed::{{{When established|}}}]]}}
| [[Establishment::{{{Established by|}}}]]
{{#if: {{{Established by|}}} |
{{!}}-
{{!}} Established by
{{!}} [[Establishment::{{{Established by|}}}]]}}
|}
|}


<div id="articlemap">
{{#if:{{{Geocoordinates|}}}|{{#display_point:{{{Geocoordinates}}}|service=leaflet|height=240|width=240}}}}{{#set:LocationCoordinates={{{Geocoordinates}}}}}
</div>
[[Category:Locality]]
[[Category:Locality]]
</includeonly>
</includeonly>

Latest revision as of 23:34, 21 October 2026

This is the 'Locality' template. It should be called in the following format:

{{Locality
|Also known as=
|Town or Locality=
|Geocoordinates=
|When established=
|Established by=
}}

Edit the page to see the template text.