Template:DoL suburb image/doc

Purpose
This template provides a quick and easy method of directly linking to images of New South Wales towns, suburbs and localities and of providing a standardised format for the reference. The images are provided by New South Wales Land and Property Information, (formerly the Land and Property Management Authority and before that, the Department of Lands) and show the officially designated borders of the chosen locality.

In early 2008 the then Department of Lands changed urls for the imagery and broke links in several articles where the images were referenced. In the event that happens again, this template will require only the updating of the url here, without requiring changes to multiple articles.

Required parameters

 * name = This is required to form the citation title and should be the name of the locality chosen with appropriate capitalisation. The name may include spaces. eg Raymond Terrace
 * accessdate = Date accessed in the same format as used throughout the article, for example "accessdate = 29 July 2024". Must not be wikilinked.

Optional parameters

 * codename = This is required to form the url if the locality name includes spaces. Spaces cannot be used and must be replaced by "%20". eg Raymond%20Terrace. This field is not case-sensitive; i.e. Raymond%20Terrace and raymond%20terrace will produce the same result.

Single word name
produces:

{{cite web|url=https://maps.six.nsw.gov.au/?search=%7B%22name%22:%22Suburb%22,%22fields%22:{%22suburbname%22:%22toronto%22%7D%7D|title=Toronto|work=Land and Property Management Authority - Spatial Information eXchange|publisher=New South Wales Land and Property Management Authority|accessdate=22 January 2010}}

Multiple word name
will produce:

{{cite web|url=https://maps.six.nsw.gov.au/?search=%7B%22name%22:%22Suburb%22,%22fields%22:{%22suburbname%22:%22Raymond%20Terrace%22%7D%7D|title=Raymond Terrace|work=Land and Property Management Authority - Spatial Information eXchange|publisher=New South Wales Land and Property Management Authority|accessdate=22 January 2010}}

Spaces
Spaces in the citation may be eliminated where not required. For example, the above examples may be written as: