Template:Place: Difference between revisions

From Mallala
Nowandth (talk | contribs)
Created page with '<noinclude> This is the 'Place' template. It should be called in the following format: <pre> {{Place |1= |2= |3= |4= |5= |6= |7= |8= |9= |10= |11= |12= |13= |14= }} </pre> Edit t…'
 
Upgrade: maps use OpenStreetMap
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the 'Place' template.
This is the 'Building' template.
It should be called in the following format:
It should be called in the following format:
<pre>
<pre>
{{Place
{{Building
|1=
|Also known as=
|2=
|Street number=
|3=
|Street name=
|4=
|Street suffix=
|5=
|Town or Locality=
|6=
|Geocoordinates=
|7=
|Date constructed=
|8=
|Built by=
|9=
|Used for=
|10=
|11=
|12=
|13=
|14=
}}
}}
</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>
|+ '''Fast Facts'''
|-
|-
! Also known as
{{#if: {{{Also known as|}}} |
| {{#arraymap:{{{1|}}}|,|x|[[AltName::x]]}}
! Also known as:
|-
{{!}} {{#arraymap:{{{Also known as|}}}|,|x|[[AltName::x]]}}
! Type of place
{{!}}-}}
| [[PlaceSubCategory::{{{2|}}}]]
<!-- Address section -->{{#ifeq:{{{Places category}}}|Building|
|-
{{#if: {{{Street name|}}}|
! Street number
! Address:
| [[LocationAddressStreetNumber::{{{3|}}}]]
{{!}} [[LocationAddressStreetNumber::{{{Street number|}}}]] [[LocationAddressStreetName::{{{Street name|}}}]] [[LocationAddressStreetSuffix::{{{Street suffix|}}}]]
|-
{{!}}-}}
! Street name
}}<!-- End Address section -->
| [[LocationAddressStreetName::{{{4|}}}]]
{{#if: {{{Town or Locality|}}} |
|-
! Town or Locality:
! Street suffix
{{!}} [[LocationAddressTownLocality::{{{Town or Locality|}}}]]
| [[LocationAddressStreetSuffix::{{{5|}}}]]
{{!}}-}}
|-
{{#if: {{{Date constructed|}}} |
! Town or Locality
! Year {{#switch:{{{Places category|}}}
| [[LocationAddressTownLocality::{{{6|}}}]]
| Site={{#ifeq:{{{Site type|}}}|Land section|of first land title}}{{#ifeq:{{{Site type|}}}|Landmark|created}}{{#ifeq:{{{Site type|}}}|Natural feature|named}}
|-
| Locality=Established
! Location Geo-coordinates
| Building=constructed}}:
| [[LocationCoordinates::{{{7|}}}]]
{{!}} {{#set:Date approximate={{{Date approximate}}}}}{{#ifeq:{{{Date approximate|}}}|Yes|c.&nbsp;}}[[DateConstructed::{{{Date constructed|}}}]]
|-
{{!}}-}}
! Date discovered
{{#ifeq:{{{Places category}}}|Building|{{#if: {{{Date demolished|}}} |
| [[DateDiscovered::{{{8|}}}]]
! Year demolished or re-purposed:
|-
{{!}} {{#set:Date approximate2={{{Date approximate2}}}}}{{#ifeq:{{{Date approximate2|}}}|Yes|c.&nbsp;}}[[Date demolished‎::{{{Date demolished‎|}}}]]
! Discovered by
{{!}}-}}}}
| [[PlaceDiscovery::{{{9|}}}]]
{{#if: {{{Built by|}}} |
|-
! By:
! Built by
{{!}} [[Establishment::{{{Built by|}}}]]
| [[Establishment::{{{10|}}}]]
{{!}}-}}
|-
{{#ifeq:{{{Places category}}}|Building|{{#if: {{{Used for|}}} |
! Date constructed
! Used for:
| [[DateConstructed::{{{11|}}}]]
{{!}} [[PlaceActivity::{{{Used for|}}}]]
|-
}}}}
! Date opened
| [[DateStart::{{{12|}}}]]
|-
! Used for
| [[PlaceActivity::{{{13|}}}]]
|-
! Date demolished
| [[DateEnd::{{{14|}}}]]
|}
|}
</includeonly>
 
<div id="articlemap">
{{#if:{{{Geocoordinates|{{#geocode: {{{Street number|}}} {{{Street name|}}} {{{Street suffix|}}} {{{Town or Locality|}}} }}}}}|{{#display_point:{{{Geocoordinates|{{#geocode: {{{Street number|}}} {{{Street name|}}} {{{Street suffix|}}} {{{Town or Locality|{{SITENAME}}}}} }}}}}|service=leaflet|height=240|width=240}}}}{{#set:LocationCoordinates={{{Geocoordinates|{{#geocode: {{{Street number|}}} {{{Street name|}}} {{{Street suffix|}}} {{{Town or Locality|{{SITENAME}}}}} }}}}}}}
</div>
{{#set:Places category={{{Places category}}}}}{{#set:SiteType={{{Site type}}}}}{{#ifeq:{{{Places category}}}|Site|[[Category:{{{Site type|Site}}}]]|[[Category:{{{Places category}}}]]}}<big>
__NOEDITSECTION__</includeonly>

Latest revision as of 23:34, 21 October 2026

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

{{Building
|Also known as=
|Street number=
|Street name=
|Street suffix=
|Town or Locality=
|Geocoordinates=
|Date constructed=
|Built by=
|Used for=
}}

Edit the page to see the template text.