Template:Site: Difference between revisions

From Mallala
Nowandth (talk | contribs)
Created page with '<noinclude> This is the 'Site' template. It should be called in the following format: <pre> {{Site |Also known as= |Street name= |Street suffix= |Town or Locality= |Geocoordinate…'
 
Nowandth (talk | contribs)
No edit summary
Line 13: Line 13:
</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|}}} |
|-
{{!}}-
! Street name
{{!}} Also known as
| [[LocationAddressStreetName::{{{Street name|}}}]]
{{!}} {{#arraymap:{{{Also known as|}}}|,|x|[[AltName::x]]}}}}  
|-
{{#if: {{{Street name|}}} |
! Street suffix
{{!}}-
| [[LocationAddressStreetSuffix::{{{Street suffix|}}}]]
{{!}} Street name
|-
{{!}} [[LocationAddressStreetName::{{{Street name|}}}]]}}
! Town or Locality
{{#if: {{{Street suffix|}}} |
| [[LocationAddressTownLocality::{{{Town or Locality|}}}]]
{{!}}-
|-
{{!}} Street suffix
! Geocoordinates
{{!}} [[LocationAddressStreetSuffix::{{{Street suffix|}}}]]}}
| [[LocationCoordinates::{{{Geocoordinates|}}}]]
{{#if: {{{Town or Locality|}}} |
|-
{{!}}-
! Used for
{{!}} Town or Locality
| [[PlaceActivity::{{{Used for|}}}]]
{{!}} [[LocationAddressTownLocality::{{{Town or Locality|}}}]]}}
{{#if: {{{Used for|}}} |
{{!}}-
{{!}} Used for
{{!}} [[PlaceActivity::{{{Used for|}}}]]}}
|}
|}


<div id="articlemap">
{{#if:{{{Geocoordinates|}}}|{{#display_point:{{{Geocoordinates}}}|service=googlemaps|types=normal|controls=small|height=240|width=240}}}}[[LocationCoordinates::{{{Geocoordinates}}}|]]
</div>
[[Category:Site]]
[[Category:Site]]
</includeonly>
</includeonly>

Revision as of 03:12, 14 September 2009

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

{{Site
|Also known as=
|Street name=
|Street suffix=
|Town or Locality=
|Geocoordinates=
|Used for=
}}

Edit the page to see the template text.