Template:Place: Difference between revisions
From Mallala
m Protected "Template:Place" ([edit=sysop] (indefinite) [move=sysop] (indefinite)) |
No edit summary |
||
| Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This is the ' | This is the 'Building' template. | ||
It should be called in the following format: | It should be called in the following format: | ||
<pre> | <pre> | ||
{{ | {{Building | ||
| | |Also known as= | ||
| | |Street number= | ||
| | |Street name= | ||
| | |Street suffix= | ||
| | |Town or Locality= | ||
| | |Geocoordinates= | ||
| | |Date constructed= | ||
| | |Built by= | ||
| | |Used for= | ||
}} | }} | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly> | </noinclude> | ||
{| | <includeonly>{| class="fastfacts" border="0" cellspacing="2" cellpadding="2" width="240" | ||
|+ '''Fast Facts''' | |||
|- | |- | ||
! Also known as | {{#if: {{{Also known as|}}} | | ||
! Also known as: | |||
{{!}} {{#arraymap:{{{Also known as|}}}|,|x|[[AltName::x]]}} | |||
! | {{!}}-}} | ||
<!-- Address section -->{{#ifeq:{{{Places category}}}|Building| | |||
| | {{#if: {{{Street name|}}}| | ||
! | ! Address: | ||
{{!}} [[LocationAddressStreetNumber::{{{Street number|}}}]] [[LocationAddressStreetName::{{{Street name|}}}]] [[LocationAddressStreetSuffix::{{{Street suffix|}}}]] | |||
{{!}}-}} | |||
}}<!-- End Address section --> | |||
| [[ | {{#if: {{{Town or Locality|}}} | | ||
! Town or Locality: | |||
! | {{!}} [[LocationAddressTownLocality::{{{Town or Locality|}}}]] | ||
{{!}}-}} | |||
| | {{#if: {{{Date constructed|}}} | | ||
! Town or Locality | ! Year constructed: | ||
{{!}} {{#set:Date approximate={{{Date approximate}}}}}{{#ifeq:{{{Date approximate|}}}|Yes|c. }}[[DateConstructed::{{{Date constructed|}}}]] | |||
{{!}}-}} | |||
! | {{#ifeq:{{{Places category}}}|Building|{{#if: {{{Date demolished|}}} | | ||
! Year demolished or re-purposed: | |||
| | {{!}} {{#set:Date approximate2={{{Date approximate2}}}}}{{#ifeq:{{{Date approximate2|}}}|Yes|c. }}[[Date demolished::{{{Date demolished|}}}]] | ||
! | {{!}}-}}}} | ||
{{#if: {{{Built by|}}} | | |||
| | ! Built by: | ||
{{!}} [[Establishment::{{{Built by|}}}]] | |||
| [[ | {{!}}-}} | ||
{{#ifeq:{{{Places category}}}|Building|{{#if: {{{Used for|}}} | | |||
! Used for: | |||
| | {{!}} [[PlaceActivity::{{{Used for|}}}]] | ||
}}}} | |||
! Date | |||
| [[ | |||
| | |||
! | |||
| | |||
| | |||
! | |||
|} | |} | ||
<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=googlemaps|types=normal|controls=zoom|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> | |||
</includeonly> | </includeonly> | ||
Revision as of 15:19, 4 March 2012
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.


Print
Subscribe by RSS