Difference between revisions of "Template:Place"
From Mallala
m (Protected "Template:Place" ([edit=sysop] (indefinite) [move=sysop] (indefinite))) |
|||
| (4 intermediate revisions by the same user not shown) | |||
| 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 {{#switch:{{{Places category|}}} |
| − | | [[LocationAddressTownLocality::{{{ | + | | Site={{#ifeq:{{{Site type|}}}|Land section|of first land title}}{{#ifeq:{{{Site type|}}}|Landmark|created}}{{#ifeq:{{{Site type|}}}|Natural feature|named}} |
| − | + | | Locality=Established | |
| − | ! | + | | Building=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|}}} | |
| − | + | ! By: | |
| − | + | {{!}} [[Establishment::{{{Built by|}}}]] | |
| − | | | + | {{!}}-}} |
| − | |- | + | {{#ifeq:{{{Places category}}}|Building|{{#if: {{{Used for|}}} | |
| − | ! Date | + | ! Used for: |
| − | | [[ | + | {{!}} [[PlaceActivity::{{{Used for|}}}]] |
| − | + | }}}} | |
| − | ! | + | |
| − | + | ||
| − | + | ||
| − | + | ||
| − | | | + | |
| − | | | + | |
| − | ! | + | |
| − | + | ||
|} | |} | ||
| − | </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=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> | ||
| + | __NOEDITSECTION__</includeonly> | ||
Latest revision as of 06:52, 10 May 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
