Template:Infobox Australian place/doc: Difference between revisions

Content deleted Content added
 
m 1 revision imported
 
(2 intermediate revisions by 2 users not shown)
Line 2:
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
{{High-use|1=14430 }}
{{Lua|Module:Infobox|Module:InfoboxImage|Module:URL|Module:Check for unknown parameters|Module:Australian place map|Module:PopulationFromWikidata}}
{{Auto short description}}
__NOTOC__
Line 11:
{{tl|Infobox Australian place}} is used to add infoboxes to articles on places in Australian states and territories. It is not limited to populated places such as cities, towns and suburbs, but may be used on any place including regions, [[Local government in Australia|local government areas]], [[Lands administrative divisions of Australia|cadastral units]], [[protected area]]s and even some areas that do not fall into any of the preceding descriptions and for which no other infobox is appropriate. It is the standard infobox used in Australian articles. Australian articles using {{tl|Infobox settlement}} should be converted to use this infobox.
 
The infobox has been extensively customised for Australia and includes automation that results in some parameters being redundant to other parameters. For example, if a population density (in the <code>{{para|density</code>}} fieldparameter) is not specified, this will be automatically generated based on the <code>{{para|pop</code>}} and <code>{{para|area</code>}} fieldsparameters. It is therefore important to read parameter descriptions thoroughly, to avoid unnecessarily providing redundant or incorrect information.
 
For infoboxes that require reformatting, general cleanup or addition of missing fieldsparameters, [[Template:Infobox Australian place/cleanup]] maycan be substed[[Help:Substitution|substituted]]. This will reformat the infobox and remove invalid fieldsparameters.
 
== Usage ==
 
=== To use this template ===
#Copy the relevant blank template from the <u>'''[[Template:Infobox Australian place/Blank|Blank infobox page]]'''</u> into the beginning of your document, remembering to put the code aton the veryline topdirectly ofbefore the article and the first wordstart of the article's on the very next linelead.
#Enter values for the fieldsparameters as outlined inunder the{{slink||Parameters}}, [[Template:Infoboxparticularly Australian place#Fields{{para|tabletype}} below]]and {{para|state}}. FieldsParameters left blank will automatically be hidden.
#Preview the page with your edits.
#Save the page with an appropriate edit summary (e.g., "<nowiki>Added {{[[Template:Infobox Australian place|Infobox Australian place]]}}</nowiki>", which will display as, "Added {{tl|Infobox Australian place}}" ).
 
=== Examples ===
Line 27:
 
== Parameters ==
Both <code>type</code> and <code>state</code> are required parameters. All other parameters used by this template are optional. The following are available:
 
{| class="wikitable plainrowheaders" style="background-color: white; width:100%;"
=== Required ===
! scope="col" style="background-color: whitesmoke;" width=15% | Parameter
These parameters must be set for every infobox as they affect the behaviour of many other parameters.
! scope="col" style="background-color: whitesmoke;" width=17% | Description
 
! scope="col" style="background-color: whitesmoke;" width=8% | Valid for<br /><small>blank = all</small>
The {{para|type}} parameter sets up the template for a specific type of location. It regulates which parameters can be used and sets the colour of the top bar of the infobox. The entered values for this parameter should be plain, unlinked text.
! scope="col" style="background-color: whitesmoke;" width=40% | Source/notes
 
! scope="col" style="background-color: whitesmoke;" width=20% | Values
{| class="wikitable plainrowheaders" style="background-color:white;"
|+ Use of the <code><nowiki>|</nowiki>{{visible anchor|type}}=</code> parameter
! scope="col" style="background-color: whitesmoke;" | Accepted value
! scope="col" style="background-color: whitesmoke;" | Description
! scope="col" style="background-color: whitesmoke;" width=20% | Colour of top bar<ref group=lower-alpha>Colour names per [http://www.color-blindness.com/color-name-hue the colour names given by colourblindness.com]</ref>
|-
|! scope="row" | {{visible anchor|type}}<code>city</code>
| A city. <!-- Description of the effects of "city" on the infobox needed -->
| infobox type
| style="background:#f9f6d2; color:#100;" | Light Goldenrod Yellow
|
| Sets up the template for a specific type of locality. Should be set to <code>other</code> when the place is not one of the defined types.
| "city", "suburb", "town", "lga", "region", "cadastral", "protected" or "other"
|-
|! scope="row" | name<code>suburb</code>
| A suburb, a form of administrative region generally used in cities and towns.<!-- Description of "suburb" and its effects on the infobox needed -->
| name of place
| style="background:#f9e2d2; color:#100;" | Antique White
|
| If this field does not exist, the template will use the name of the article. If the field exists, but the place name is not defined, the infobox title will be blank.
| plain text
|-
|! scope="row" | city<code>town</code>
| A town or other settlement. <!-- Description of the effects of "town" on the infobox needed -->
| city name
| style="background:#e9f9d2; color:#100;" | Snow Flurry
| suburb
| See [[List of cities in Australia]].In some cases it may be desirable to include the name of a non-city here. In any case, if the name is not wikilinked, it will automatically be linked.
| plain text, may be linked.
|-
|! scope="row" | {{visible anchor|state}}<code>lga</code>
| An [[Local government areas of Australia|Australian local government area]] (LGA) - a particular form of administrative region, used to create local governments. Many LGAs will use terms such as "Town of", "District Council of", "Shire of", "City of", etc., in their names.
| state abbreviation
Note that the ACT does not have any system of local government, and therefore does not have LGAs.<!-- Description of the effects of "lga" on the infobox needed -->
|
| style="background:#d2d5f9; color:#100;" | Lavender
| Abbreviation for the state. For consistency, lower case is preferred, but upper case may be used. When a state code is not applicable, "au" should be used, although the field may be left blank.
| "qld", "nsw", "act", "vic", "tas", "sa", "wa", "nt", or use "au" for Australia – plain text, do not link
|-
|! scope="row" | iucn_category<code>region</code>
| <!-- Description of "region" and its effects on the infobox needed -->
| IUCN category
| style="background:#e6c4fb; color:#100;" | Mauve
| [[protected area]]
| This field should be populated with the [[World Commission on Protected Areas#IUCN Categories of Protected Area|IUCN]] category associated with the protected area. Although optional, use of this field is strongly recommended. For more information on how this field is displayed, see [[#IUCN Categories for protected areas|IUCN Categories]] below.
| Ia, Ib, II, III, IV, V, or VI<br />(plain text, do not wikilink)
|-
|! scope="row" | iucn_ref<code>cadastral</code>
| <!-- Description of "cadastral" and its effects on the infobox needed -->
| IUCN category reference
| style="background:#ffffe0; color:#100;" | Light Yellow
| [[protected area]]
| Reference for the <code>iucn_category</code> field
| wikitext (can contain links)<br />Best when used with <nowiki><ref> </ref></nowiki> tags and {{tl|cite web}}
|-
|! scope="row" | image<code>protected</code>
| <!-- Description of "protected" and its effects on the infobox needed -->
| generic image of the locality
| style="background:transparent; color:#100;" | No colour
|
<small>(An [[IUCN protected area categories|IUCN category]] can be used to display a coloured banner - see {{slink||IUCN categories for protected areas}}.)</small>
| For cadastral units, this is typically a map showing the location of the cadastral unit within the state or territory.
| filename
|-
|! scope="row" | image_upright<code>other</code>
| <!-- Description of "other" and its effects on the infobox needed -->
| width of generic image of the locality
| style="background:transparent; color:#100;" | No colour
|
| This is an optional field. If not specified, the image width will default to {{para|upright|1.23}}, which is approximately 270px if the default thumbnail size has not been changed at [[Special:Preferences]]) The size should not be set to a value that would result in an image width greater than 300px. See [[#Calculating "image_upright"|help below]] for guidance on determining the value to be used.
| number
|-
|! scope="row" | caption''undefined''
| Occurs when the parameter has been left blank.<!-- Description of the effects of an undefined type on the infobox needed -->
| caption for the locality image
| style="background:#ccc; color:#100;" | Very Light Grey
|
| }
{{reflist|group=lower-alpha}}
| wikitext (can contain links)
 
The {{para|state}} parameter defines the state or territory of the infobox's location. It sets up the template to refer to and link to the correct state or territory throughout. The entered values for this parameter should be plain, unlinked text; for consistency, lower case is preferred. If the parameter is left blank, the infobox will default to <code>au</code> (i.e., Australia).
{| class="wikitable plainrowheaders" style="background-color:white;"
|+ Use of the <code><nowiki>|</nowiki>{{visible anchor|state}}=</code> parameter
! scope="col" style="background-color: whitesmoke;" | Accepted value
! scope="col" style="background-color: whitesmoke;" | State or territory
|-
|! scope="row" | image_alt<code>act</code>
| [[Australian Capital Territory]] (ACT)
|
|
| [[MOS:ALT|Alt text]] for the image
| wikitext (can contain links)
|-
|! scope="row" | image2<code>nsw</code>
| [[New South Wales]] (NSW)
| A second image of the locality
|
| In LGA articles this is typically used where a map of the LGA is required but the appropriate locator map template is not available in {{cl|Australia location map templates}}.
| filename
|-
|! scope="row" | image2_upright<code>nt</code>
| [[Northern Territory]] (NT)
| width of the second image of the locality
|
| This is an optional field. If not specified, the image width will default to {{para|upright|1.23}}, which is approximately 270px if the default thumbnail size has not been changed at [[Special:Preferences]]) The size should not be set to a value that would result in an image width greater than 300px. See [[#Calculating "image_upright"|help below]] for guidance on determining the value to be used.
| number
|-
|! scope="row" | caption2<code>qld</code>
| [[Queensland]] (Qld or QLD)
| caption for the second locality image
|
|
| wikitext (can contain links)
|-
|! scope="row" | image2_alt<code>sa</code>
| [[South Australia]] (SA)
|
|
| [[MOS:ALT|Alt text]] for the image
| wikitext (can contain links)
|-
|! scope="row" | coordinates<code>tas</code>
| [[Tasmania]] (Tas or TAS)
| coordinates of the locality
|
| {{UF-coord}}<br />
| Example:<br /><nowiki>{{Coord|32|45|41.3|S|151|44|38.6|E|type:city_region:AU-NSW|display=inline,title}}</nowiki>
|-
|! scope="row" | map_scale<code>vic</code>
| [[Victoria (Australia)|Victoria]] (Vic or VIC)
| changes scale of map
|
| The scale of the map linked to in the generated coordinates string can be changed from the default by setting this field.
| unformatted number. See {{tl|coord}} for examples.
|-
|! scope="row" | map_type<code>wa</code>
| [[Western Australia]] (WA)
| controls the location map
|
| set to <code>nomap</code> to suppress any automatically generated location map
| nomap, auto, or blank
|-
|! scope="row" | alternative_location_map<code>jbt</code>
| [[Jervis Bay Territory]] (JBT)
| forces locator map
|
| Forces the locator map to use an alternative, rather than the state map, regardless of the contents of <code>state</code>.
| Name of the alternative map
|-
|! scope="row" | force_national_map<code>ni</code>
| [[Norfolk Island]] (NI)
| forces locator map
| city, region, protected
| Forces the locator map to use the Australian, rather than the state map, regardless of the contents of <code>state</code>.
| "yes" or leave blank, plain text, do not link <!-- Anything in this field will force the Australian map to be used. For consistency though, let's force people to use something simple and obvious. -->
|-
|! scope="row" | use_lga_map<code>au</code>
| [[Australia]] - use when no other value is applicable.
| forces locator map
|}
| suburb, lga, protected
 
| Forces the locator map to use the lga map. For this to work, both <code>state</code> and <code>lga</code> must be set to the correct parameters.
=== Optional ===
| "yes" or leave blank, plain text, do not link <!-- Anything in this field will force the LGA map to be used. For consistency though, let's force people to use something simple and obvious. -->
{| class="wikitable plainrowheaders" style="background-color: white; width:100%;"
|+ Optional parameters
! scope="col" style="background-color: whitesmoke;" | Parameter
! scope="col" style="background-color: whitesmoke;" | Available for {{para|type}}
! scope="col" style="background-color: whitesmoke;" | Description
! scope="col" style="background-color: whitesmoke;" | Notes
! scope="col" style="background-color: whitesmoke;" | Potential sources
! scope="col" style="background-color: whitesmoke;" | Values
|-
|! scope="row" | reliefname
| all
| forces relief map
| Name of infobox's place
|
| <!-- Notes -->
|
| <!-- Potential sources -->
| "yes" or leave blank, plain text, do not link <!-- Anything in this field will force the relief map to be used. For consistency though, let's force people to use something simple and obvious. -->
| Plain text.
If this parameter is not present in the article, the template will use the name of the article. If the parameter exists, but the place name is not defined, the infobox title will be blank.
|-
|! scope="row" | pushpin_map_captionnative_name
| captionall
| Settlement name in local language(s), if different from the English name
|
| For indicating the official/defacto name in a language other than English
|
| <!-- Potential sources -->
| optional, plain text or linked
| By default, the native name is displayed in italics, followed by the language's name in parentheses.
|-
|! scope="row" | pushpin_label_positionnative_name_lang
| all
| label position
| [[ISO 639-1]] code, e.g. nys for [[Noongar language|Noongar]], for the Indigenous Australian language, if available
|
| If there are names in multiple Indigenous Australian languages, enter those names into the {{para|native_name}} parameter using <nowiki>{{lang}}</nowiki> instead.
|
 
| left, right, top, bottom<br />default: left
| <!-- Potential sources -->
| plain text
|-
|! scope="row" | map_altcity
| ??{{pb}}(recommended for suburb)
|
| City name
|
| Name will be auto-linked if no wikilink is defined.{{pb}}In some cases it may be desirable to include the name of a non-city here.
| [[MOS:ALT|Alt text]] for the location map
| [[List of cities in Australia]]
| plain text, may be linked.
|-
! scope="row" | iucn_category
| protected
| The [[World Commission on Protected Areas#IUCN Categories of Protected Area|International Union for Conservation of Nature (IUCN) category]] applicable to the [[protected area]].
| For more information on how this parameter is displayed, see [[#IUCN categories for protected areas|IUCN categories]] below.
| <!-- Potential sources -->
| Plain text, do not wikilink. Accepted values are:
* Ia
* Ib
* II
* III
* IV
* V
* VI
|-
! scope="row" | iucn_ref
| protected
| A reference demonstrating the IUCN category
| '''Prerequisite parameters:'''
* <code>iucn_category</code>
| <!-- Potential sources -->
| Wikitext (can contain links).{{pb}}Best when used with <nowiki><ref></ref></nowiki> tags and a citation template
|-
! scope="row" | image
| all
| Image of the locality
| For cadastral units, this is typically a map showing its location within the state or territory.
| <!-- Potential sources -->
| filename
|-
! scope="row" | image_upright
| all
| Width of image of the locality (in relation to default thumbnail size)
| The size should not be set to a value that would result in an image width greater than 300px. See [[#Calculating "image_upright"|help below]] for guidance on determining the value to be used, and [[WP:IMGSIZE]] for rationale.
| <!-- Potential sources -->
| Unformatted number. If not specified, the image width defaults to <code>1.23</code>, which is approximately 270px for readers that haven't changed their default thumbnail size at [[Special:Preferences]].
|-
! scope="row" | caption
| all
| Caption for the locality image
| <!-- Notes -->
| <!-- Potential sources -->
| wikitext (can contain links)
|-
|! scope="row" | local_mapimage_alt
| all
| enable map of local area
| [[MOS:ALT|Alt text]] for the image
|
| <!-- Notes -->
| Setting {{para|local_map|yes}} enables a map of the local area below the main locator map. In order for the map to display properly, the current location must be connected to a [[Wikidata]] entry and a map border must have been created on [[OpenStreetMap]]. If these have not happened, the map will not display correctly.
| <!-- Potential sources -->
| "yes" or leave blank, plain text, do not link
| wikitext (can contain links)
|-
|! scope="row" | zoomimage2
| all
| change zoom size of local map
| A second image of the locality
|
| In LGA articles this is typically used where a map of the LGA is required but the appropriate locator map template is not available in {{cl|Australia location map modules}}.
| Setting this field to a value between 1 and 18 adjusts the zoom of the displayed map. The default zoom value is 10. For more information see {{tl|Infobox mapframe}} instructions.
| <!-- Potential sources -->
| numeric value between 1 and 18.
| filename
|-
|! scope="row" | local_map_idimage2_upright
| all
| Wikidata id
| Width of the second image of the locality (in relation to default thumbnail size)
| use of infobox on "other" pages
| The size should not be set to a value that would result in an image width greater than 300px. See [[#Calculating "image_upright"|help below]] for guidance on determining the value to be used, and [[WP:IMGSIZE]] for rationale.
| Normally, this field is unnecessary. However, if it is necessary to use the infobox on a page that is not connected to a Wikidata entry, including this field with a Wikidata id (e.g. local_map_id = Q595259) will display a map for that locality, if one exists.
| <!-- Potential sources -->
| [[Wikidata]] id. e.g. Q595259
| Unformatted number. If not specified, the image width defaults to <code>1.23</code>, which is approximately 270px for readers that haven't changed their default thumbnail size at [[Special:Preferences]].
|-
|! scope="row" | nearest_town_or_citycaption2
| all
| caption for the second locality image
| <!-- Notes -->
| <!-- Potential sources -->
| wikitext (can contain links)
|-
! scope="row" | image2_alt
| all
| [[MOS:ALT|Alt text]] for the image
| <!-- Notes -->
| <!-- Potential sources -->
| wikitext (can contain links)
|-
! scope="row" | nearest_town_or_city
| protected
| nearest town or city to the area
| protected
| If the area is not within a town or city, the nearest town or city to the area can be listed here. If only one, wikilinking may be omitted as the article will be automatically linked. If there are more than one, use {{tl|Plainlist}}.
| <!-- Potential sources -->
| wikitext (can contain links)
| Wikitext (can contain links)
|-
|! scope="row" | pop{{visible anchor|coordinates}}
| ??{{pb}}(recommended for all)
| population
| Displays coordinates of the locality. Triggers a map to automatically generate (can be adjusted in various ways).
| all except protected; use approx for region
| {{UF-coord}}
| [http://www.abs.gov.au/ ABS] (generic)<br />[http://www.censusdata.abs.gov.au/census_services/getproduct/census/2016/quickstat/0?opendocument&navpos=220 2016 Census QuickStats]<br />Do not add anything else to this field (years, references etc.)
The automatic map will be of the state, with a pushpin identifying the position specified in {{Tl|coord}}. Parameters to adjust or toggle the map are under {{slink||Locator map generated by coordinates}}. A second map can be generated using wikidata as well (see {{slink||Locator map generated by wikidata}}).
| number. should be plain, either with or without a comma. i.e. 12345 or 12,345
| <!-- Potential sources -->
| Example:<br /><nowiki>{{Coord|32|45|41.3|S|151|44|38.6|E|type:city_region:AU-NSW|display=inline,title}}</nowiki>
|-
|! scope="row" | pop_yearpop
| ??{{pb}}(recommended for all except protected)
| population year
| allPopulation except protected;statistic (use approxapproximate forif {{para|type|region}})
| If left empty, population data will be displayed from Wikidata (for appropriate geography). See [[#PopulationFromWikidata|''Notes'' below]] for more information.
| [http://www.abs.gov.au/ ABS] (generic)<br />[http://www.censusdata.abs.gov.au/census_services/getproduct/census/2016/quickstat/0?opendocument&navpos=220 2016 Census QuickStats]
| Number. should be plain, either with or without a comma. i.e. 12345 or 12,345
Do not add anything else, including years or references.
|-
! scope="row" | pop_year
| ??{{pb}}(recommended for all except protected)
| Year applicable to the population figure
| '''Prerequisite parameters:'''
| number<br />When the population is for a census year, use {{tl|CensusAU}}
* pop
|[http://www.abs.gov.au/ ABS] (generic)<br />[http://www.censusdata.abs.gov.au/census_services/getproduct/census/2016/quickstat/0?opendocument&navpos=220 2016 Census QuickStats]
| Number. When the population is for a census year, use {{tl|CensusAU}}
|-
|! scope="row" | pop_footnotes
| ??{{pb}}(recommended for all except protected)
| population footnote for references
| Footnote demonstrating the population statistic
| all except protected; use approx for region
| '''Prerequisite parameters:'''
| [http://www.abs.gov.au/ ABS] (generic)<br />[http://www.censusdata.abs.gov.au/census_services/getproduct/census/2016/quickstat/0?opendocument&navpos=220 2016 Census QuickStats]
* pop
| wikitext (can contain links)<br />Best when used with <nowiki><ref> </ref></nowiki> tags and {{tl|Census 2016 AUS}}
|[http://www.abs.gov.au/ ABS] (generic)<br />[http://www.censusdata.abs.gov.au/census_services/getproduct/census/2016/quickstat/0?opendocument&navpos=220 2016 Census QuickStats]
| wikitext (can contain links){{pb}}Best when used with <nowiki><ref></ref></nowiki> tags and {{tl|Census 2016 AUS}}
|-
|! scope="row" | pop2
| ??{{pb}}(recommended for all except protected)
| 2nd population figure
| allSecond exceptpopulation protected;statistic (use approxapproximate forif {{para|type|region}})
| See [[Clarence Town, New South Wales]] for an example of when a second population figure is useful.{{pb}}'''Prerequisite parameters:'''
| [http://www.abs.gov.au/ ABS] (generic)<br />[http://www.censusdata.abs.gov.au/census_services/getproduct/census/2016/quickstat/0?opendocument&navpos=220 2016 Census QuickStats]<br />Do not add anything else to this field (years, references etc.)<br />In some articles it may be necessary to provide a second population figure. (see [[Clarence Town, New South Wales]] for an example) Use <code>pop2</code>, <code>pop2_year</code> and <code>pop2_footnotes</code> for the second figure.
* pop
| number. should be plain, either with or without a comma. i.e. 12345 or 12,345
|[http://www.abs.gov.au/ ABS] (generic)<br />[http://www.censusdata.abs.gov.au/census_services/getproduct/census/2016/quickstat/0?opendocument&navpos=220 2016 Census QuickStats]
| Number. Should be unformatted, and can be with or without a comma. i.e. 12345 or 12,345
Do not add anything else, including years or references.
|-
|! scope="row" | pop2_year
| ??{{pb}}(recommended for all except protected)
| 2nd population year
| Year applicable to the second population figure
| all except protected; use approx for region
| '''Prerequisite parameters:'''
| Year applicable to the population figure
* pop2
| number<br />When the population is for a census year, use {{tl|CensusAU}}
| [http://www.abs.gov.au/ ABS] (generic)<br />[http://www.censusdata.abs.gov.au/census_services/getproduct/census/2016/quickstat/0?opendocument&navpos=220 2016 Census QuickStats]
| Number. When the population is for a census year, use {{tl|CensusAU}}
|-
|! scope="row" | pop2_footnotes
| ??{{pb}}(recommended for all except protected)
| population footnote for <code>pop2</code> references
| Footnote demonstrating the second population statistic
| all except protected; use approx for region
| '''Prerequisite parameters:'''
* pop2
| [http://www.abs.gov.au/ ABS] (generic)<br />[http://www.censusdata.abs.gov.au/census_services/getproduct/census/2016/quickstat/0?opendocument&navpos=220 2016 Census QuickStats]
| wikitext (can contain links)<br />{{pb}}Best when used with <nowiki><ref> </ref></nowiki> tags and {{tl|Census 2016 AUS}}
|-
|! scope="row" | poprank
| ??{{pb}}(recommended for city)
| population rank
| '''Prerequisite parameters:'''
| city
* pop
| Used with <code>pop</code><br />[[List of cities in Australia by population]]
| [[List of cities in Australia by population]]
| number
|-
|! scope="row" | density
| all{{pb}}(recommended for city, region)
| population density
| Will auto-calculate if both pop and area are defined
| city, region
| [http://www.abs.gov.au/ ABS]
| unformatted number, in (people/km²)
|-
|! scope="row" | density_footnotes
| all{{pb}}(recommended for city, region)
| population density footnote for references
|
| city, region
| [http://www.abs.gov.au/ ABS]
| wikitext (can contain links)<br />{{pb}}Best when used with <nowiki><ref> </ref></nowiki> tags and {{tl|citea web}}citation template
|-
|! scope="row" | established
| all
| established
| Date the location was established
|
| Date the location was established. If the exact date is unknown, a year will suffice
| <!-- Potential sources -->
| date
|-
|! scope="row" | established_footnotes
| all
| reference(s) for establishment date
| Reference demonstrating the establishment date
|
| <!-- Notes -->
|
| <!-- Potential sources -->
| wikitext (can contain links)<br />Best when used with <nowiki><ref> </ref></nowiki> tags and {{tl|cite web}}
| wikitext (can contain links){{pb}}Best when used with <nowiki><ref> </ref></nowiki> tags and a citation template
|-
|! scope="row" | abolished
| all
| abolished
| Date the location was abolished
|
| Date the location was abolished. If the exact date is unknown, a year will suffice
| <!-- Potential sources -->
| date
|-
|! scope="row" | gazetted
| all
| Date the place name was [[Gazetteer of Australia|gazetted]]
| <!-- Notes -->
|
| <!-- Potential sources -->
|
| date
|-
|! scope="row" | postcode
| all{{pb}}(recommended for suburb, town)
|
| Postcode(s) for the place
| suburb, town
| <!-- Potential sources -->
| [http://auspost.com.au/apps/postcode.html Australia Post postcode search tool]
|[http://auspost.com.au/apps/postcode.html Australia Post postcode search tool]
| number
|-
|! scope="row" | elevation
| all{{pb}}(recommended for suburb, town)
| measured from sea level in metres
| The elevation, measured from sea level in metres
| suburb, town
| <!-- Notes -->
| [http://www.fallingrain.com/world/AS/ fallingrain.com]
| <!-- Potential sources -->
| unformatted number (m)
| unformatted number in metres
|-
|! scope="row" | elevation_footnotes
| all{{pb}}(recommended for suburb, town)
| elevation footnote for references
| Footnote demonstrating the elevation
| suburb, town
| <!-- Notes -->
| [http://www.fallingrain.com/world/AS/ fallingrain.com]
| <!-- Potential sources -->
| wikitext (can contain links)<br />Best when used with <nowiki><ref> </ref></nowiki> tags and {{tl|cite web}}
| wikitext (can contain links){{pb}}Best when used with <nowiki><ref> </ref></nowiki> tags and a citation template
|-
|! scope="row" | area
| all
| The area of the location
|
| <!-- Notes -->
| [http://www.abs.gov.au/ ABS]
| unformatted number (in km<sup>2</sup>)
|-
|! scope="row" | area_footnotes
| all
| area footnote for references
| Footnote demonstrating the area
|
| <!-- Notes -->
| [http://www.abs.gov.au/ ABS]
| wikitext (can contain links)<br />{{pb}}Best when used with <nowiki><ref> </ref></nowiki> tags and {{tl|citea web}}citation template
|-
|! scope="row" | timezone
| all{{pb}}(recommended for city, suburb, town, lga, region)
| timezone
| Timezone of the location
| city, suburb, town, lga, region
| See [[Time in Australia#Time zones and legislation|Time in Australia]]
| <!-- Potential sources -->
| plain text, link
| Plain text, linked. Either the full name or the abbreviation can be used (e.g., either <code><nowiki>[[Australian Western Standard Time]]</nowiki></code> or <code><nowiki>[[Australian Western Standard Time|AWST]]</nowiki></code> can be used).
|-
|! scope="row" | utc
| all{{pb}}(recommended for city, suburb, town, lga, region)
| utc offset
| UTC offset of the timezone
| city, suburb, town, lga, region
| <!-- Notes -->
|
| <!-- Potential sources -->
| "+" followed by number
| "+" followed by number, e.g., <code>+8:00</code> (for AWST)
|-
|! scope="row" | timezone-dst
| all{{pb}}(recommended for city, suburb, town, lga, region)
| summer timezone
| Daylight saving timezone
| city, suburb, town, lga, region
| NT, Qld and WA are the only [[States and territories of Australia#States and territories|internal states and territories]] which do not have any daylight saving timezone.
| See [[Time in Australia#Time zones and legislation|Time in Australia]]
| [[Daylight saving time in Australia]]
| plain text, link
| Plain text, linked. Either the full name or the abbreviation can be used (e.g., either <code><nowiki>[[Australian Eastern Daylight Time]]</nowiki></code> or <code><nowiki>[[Australian Eastern Daylight Time|AEDT]]</nowiki></code> can be used).
|-
|! scope="row" | utc-dst
| all{{pb}}(recommended for city, suburb, town, lga, region)
| summer utc offset
| UTC offset of the daylight saving timezone
| city, suburb, town, lga, region
| NT, Qld and WA are the only [[States and territories of Australia#States and territories|internal states and territories]] which do not have any daylight saving timezone.
|
| <!-- Potential sources -->
| "+" followed by number
| "+" followed by number, e.g., <code>+11:00</code> (for AEDT)
|-
|! scope="row" | mayor
| Mayorlga of LGA
| Mayor of the LGA
| lga
| Name of the mayor only. Do not include titles, postnominals or political party information.
| <!-- Potential sources -->
| plain text
| Plain text
|-
|! scope="row" | mayortitle
| lga
| Title of the mayor
|
| lga
| <!-- Potential sources -->
|
| Wikitext (can be wikilinked), or blank.
| Wiki text. If omitted (but mayor is provided), defaults to "[[Mayor]]". Otherwise likely to be "Lord Mayor", "President" or "Chairman" (etc.). The text can include a link to a list of mayors etc.
If left blank, will default to "[[Mayor]]".
|-
|! scope="row" | distlocation# (up to location5)
| all{{pb}}(recommended for city, suburb, town)
| ''See Notes below''
| Specified location(s) to display the distance and direction to
| city, suburb, town (other cities)
| Normally other cities or population centres.{{pb}}''See {{slink||Notes}} below''
| Distance by road, not direct – [http://www.travelmate.com.au/MapMaker/MapMaker.asp travelmate.com.au], maps, Google earth, [http://www.whereis.com.au whereis (get directions)], [http://www3.visitvictoria.com/displayObject.cfm/ObjectID.0000B41D-D36D-1A88-8B4680C476A9047C/lk.Left2_3/pg.VVHomepage/vvt.vhtml Route planner – Victoria, Australia]
| Maps such as Google Earth
| unformatted number (km)
| Plain text, may be wikilinked. If no wikilink is given, the text will be automatically wikilinked.
|-
|! scope="row" | dirdist# (up to dist5)
| all{{pb}}(recommended for city, suburb, town)
| ''See Notes below''
| The distance by road (not direct) to the specified location(s)
| city, suburb, town (other cities)
| Distance by road, not direct.{{pb}}''See {{slink||Notes}} below''
|
|Maps such as Google earth, [http://www.whereis.com.au whereis], [http://www3.visitvictoria.com/displayObject.cfm/ObjectID.0000B41D-D36D-1A88-8B4680C476A9047C/lk.Left2_3/pg.VVHomepage/vvt.vhtml Visit Victoria route planner]
| plain text, normally "N", "S", "E", "W", "NE", "SW", "SSE", "WNW" etc., or "north", "south" (lower case, per [[MOS:COMPASS]]) etc.
| unformatted number in km
|-
|! scope="row" | locationdir# (up to dir5)
| all{{pb}}(recommended for city, suburb, town)
| ''See Notes below''
| The direction (preferably cardinal) of the specified location(s), normally other cities or population centres
| city, suburb, town
| ''See {{slink||Notes}} below''
| maps, Google earth
| <!-- Potential sources -->
| plain text, may be wikilinked, automatically links the name
| Plain text. Normally a cardinal direction, either as an initialism (e.g. <code>N</code>, <code>SE</code>, <code>NWW</code>) or the word in lower case (per [[MOS:COMPASS]]; e.g., <code>north</code>, <code>south-east</code>, <code>north-west-west</code>).
|-
|! scope="row" | lga
| all{{pb}}(recommended for city, suburb, town)
| local government area
| Name of the local government area
| city, suburb, town
| This parameter will display in a way that makes little sense when {{para|type|lga}}, but it can be used if necessary.
| Name of the local government area<br />[http://www.gnb.nsw.gov.au/place_naming/placename_search NSW Geographical Names Board] (NSW only)
|[http://www.gnb.nsw.gov.au/place_naming/placename_search NSW Geographical Names Board]
| plain text, may be wikilinked, automatically links the name
| Plain text, may be wikilinked. If no wikilink is given, the text will be automatically wikilinked.
|-
|! scope="row" | lga2-{{pb}}lga3{{pb}}lga4{{pb}}lga5
| all{{pb}}(recommended for city, suburb, town)
| 2nd–5th LGAs
| Names of additional LGAs
| city, suburb, town
| This parameter displays in a way that makes no sense when {{para|type|lga}}, but it can be used if necessary.
| If more than 5 LGAs are required, use {{tl|plainlist}} as necessary. See [https://en.wikipedia.org/w/index.php?title=Hunter_Region&oldid=615428967 Hunter Region] for an example.
If more than 5 LGAs are required, use {{tl|plainlist}} as necessary. See [https://en.wikipedia.org/w/index.php?title=Hunter_Region&oldid=615428967 Hunter Region] for an example.
| plain text, link
| <!-- Potential sources -->
| Plain text, can be wikilinked. If no wikilink is given, the text will be automatically wikilinked.
|-
|! scope="row" | seat
| all{{pb}}(recommended for lga)
| LGA seat
| Council seat of the LGA
| lga
| <!-- Notes -->
|
| <!-- Potential sources -->
| plain text, link
| Plain text, can be wikilinked. If no wikilink is given, the text will be automatically wikilinked.
|-
|! scope="row" | region
| all{{pb}}(recommended for city, suburb, town, lga, cadastral, protected)
| Name of region location is in
| <!-- Notes -->
| city, suburb, town, lga, cadastral, protected
| <!-- Potential sources -->
|
| Plain text, can be wikilinked. If no wikilink is given, the text will be automatically wikilinked.
| plain text, link
|-
|! scope="row" | county
| all{{pb}}(recommended for city, suburb, town, lga)
| lands administrative division (not in all areas)
| Name of the county (a type of [[Lands administrative divisions of Australia|lands administrative division]])
| city, suburb, town, lga
| Not used in all areas.
| [[Lands administrative divisions of Australia]]<br />[http://www.gnb.nsw.gov.au/place_naming/placename_search NSW Geographical Names Board] (NSW only)
|[http://www.gnb.nsw.gov.au/place_naming/placename_search NSW Geographical Names Board]
| plain text, link
| Plain text, can be wikilinked. If no wikilink is given, the text will be automatically wikilinked.
|-
|! scope="row" | parish
| all{{pb}}(recommended for city, suburb, town)
| NSW, Qld, Vic only
| Name of the parish (a type of [[Lands administrative divisions of Australia|lands administrative division]])
| city, suburb, town
| Only used in NSW, Qld and Vic.
| [[Lands administrative divisions of Australia]]<br />[http://www.gnb.nsw.gov.au/place_naming/placename_search NSW Geographical Names Board] (NSW only)
|[http://www.gnb.nsw.gov.au/place_naming/placename_search NSW Geographical Names Board]
| plain text
| Plain text, can be wikilinked.
|-
|! scope="row" | hundred
| cadastral
| lands administrative division (not in all areas)
| Name of the hundred (a type of [[Lands administrative divisions of Australia|lands administrative division]])
| cadastral
| Not used in all areas.
|
| <!-- Potential sources -->
| plain text, link
| Plain text, can be wikilinked.
|-
|! scope="row" | former_hundred
| cadastral
| lands administrative division (not in all areas)
| Former name of the hundred (a type of [[Lands administrative divisions of Australia|lands administrative division]])
| cadastral
| Not used in all areas.
|
| <!-- Potential sources -->
| plain text, link
| Plain text, can be wikilinked.
|-
|! scope="row" | division
| cadastral
| lands administrative division (NSW only)
| Name of the division (a type of [[Lands administrative divisions of Australia|lands administrative division]])
| cadastral
| Only used in NSW - [[Landslands administrative divisions of New South Wales]]
| <!-- Potential sources -->
| plain text, link
| Plain text, can be wikilinked.
|-
|! scope="row" | stategov{{pb}}stategov2{{pb}}stategov3{{pb}}stategov4{{pb}}stategov5{{pb}}
| all{{pb}}(recommended for city, suburb, town, lga, region)
| state government electorates
| The place's state government electorate(s)
| city, suburb, town, lga, region
| <!-- Notes-->
|
| <!-- Potential sources -->
| plain text, link
| Plain text, can be wikilinked.
|-
|! scope="row" | stategov2-stategov5fedgov{{pb}}fedgov2{{pb}}fedgov3{{pb}}fedgov4{{pb}}
| all{{pb}}(recommended for city, suburb, town, lga, region)
| 2nd–5th state government electorates
| The place's federal government electorate(s)
| city, suburb, town, lga, region
| <!-- Notes-->
|
| <!-- Potential sources -->
| plain text, link
| Plain text, can be wikilinked.
|-
|! scope="row" | fedgovlogo
| all{{pb}}(recommended for lga)
| federal government electorates
| Logo of place
| city, suburb, town, lga, region
| <!-- Notes -->
|
| For LGAs, these can be sourced from individual LGA websites.
| plain text, link
| Image link (do not include "File:" or "Image:")
|-
|! scope="row" | fedgov2-fedgov4logo_upright
| all{{pb}}(recommended for lga)
| 2nd–4th federal government electorates
| Width of logo (in relation to default thumbnail size)
| city, suburb, town, lga, region
| The size should not be set to a value that would result in an logo width greater than 300px. See [[#Calculating "image_upright"|help below]] for guidance on determining the value to be used, and [[WP:IMGSIZE]] for rationale.
|
| <!-- Potential sources -->
| plain text, link
| Unformatted number. If not specified, the logo width defaults to <code>1.23</code>, which is approximately 270px for readers that haven't changed their default thumbnail size at [[Special:Preferences]].
|-
|! scope="row" | logologo_alt
| all{{pb}}(recommended for lga)
| Logo of LGA
| [[MOS:ALT|Alt text]] for the logo
| lga
| <!-- Notes-->
| Individual LGA website
| <!-- Potential sources -->
| image link
| Wikitext, can be wikilinked.
|-
|! scope="row" | logo_uprightvisitation_num
| protected
| width of LGA logo
| The number of visitors in a recent year
| lga
| <!-- Notes-->
| This is an optional field. If not specified, the image width will default to {{para|upright|0.8}}, which is approximately 176px if the default thumbnail size has not been changed at [[Special:Preferences]]) See [[#Calculating "image_upright"|help below]] for guidance on determining the value to be used.
| <!-- Potential sources -->
| number
| Unformatted number
|-
|! scope="row" | visitation_numvisitation_year
| protected
| number of visitors
| The year when <code>visitation_num</code> was counted
| protected
| '''Prerequisite parameters:'''
| The number of visitors in a recent year if known.
* visitation_num
| unformatted number, will be formatted automatically
| <!-- Potential sources -->
| Unformatted year
|-
|! scope="row" | visitation_yearvisitation_footnotes
| protected
| year of <code>visitation_num</code>
| Footnote demonstrating the number of visitors
| protected
| '''Prerequisite parameters:'''
| The year during which the number of visitors was counted
* visitation_num
| raw year<br />plain text, do not wikilink
| <!-- Potential sources -->
|-
| Wikitext, can be wikilinked.{{pb}}Best when used with <nowiki><ref> </ref></nowiki> tags and a citation template
| scope="row" | visitation_footnotes
| reference(s) for visitation figure and year
| protected
|
| wikitext (can contain links)<br />Best when used with <nowiki><ref> </ref></nowiki> tags and {{tl|cite web}}
|-
|! scope="row" | managing_authorities
| protected
| authority that manages the area
| protected
| Name of the authority or organisation that manages the area.
| <!-- Potential sources -->
| wikitext (can contain links). If an unpiped link is to be used, wikilinking may be excluded as an existing article will be wikilinked automatically.
| Wikitext, can be wikilinked. If no wikilink is given, the text will be automatically wikilinked.
|-
|! scope="row" | url
| all{{pb}}(recommended for lga, protected)
| website address
| URL for the location's individual website
| lga, protected
| Individual website for the LGA or protected area<br />(Do not use for former LGAs)
| <!-- Potential sources -->
| bare url. e.g. http://www.example.com
| Bare url, e.g., http://www.example.com
|-
|! scope="row" | maxtemp
| all{{pb}}(recommended for suburb, town)
| max average annual temperature
| Maximum average annual temperature
| suburb, town
| <!-- Notes -->
| [http://www.bom.gov.au/climate/data/ Bureau of Meteorology]
| [http://www.bom.gov.au/climate/data/ Bureau of Meteorology's climate data]
| number (°C)
| unformatted number, in °C
|-
|! scope="row" | maxtemp_footnotes
| all{{pb}}(recommended for suburb, town)
| footnote for references
| Footnote demonstrating the maximum temperature
| suburb, town
| <!-- Potential sources -->
| [http://www.bom.gov.au/climate/data/ Bureau of Meteorology]
| [http://www.bom.gov.au/climate/data/ Bureau of Meteorology's climate data]
| wikitext (can contain links)<br />Best when used with <nowiki><ref> </ref></nowiki> tags and {{tl|cite web}}
| Wikitext, can contain templates, html, wikilinks, external links, etc.{{pb}}Best when used with <nowiki><ref> </ref></nowiki> tags and a citation template
|-
|! scope="row" | mintemp
| all{{pb}}(recommended for suburb, town)
| min average annual temperature
| Minimum average annual temperature
| suburb, town
| <!-- Notes -->
| [http://www.bom.gov.au/climate/data/ Bureau of Meteorology]
|[http://www.bom.gov.au/climate/data/ Bureau of Meteorology's climate data]
| number (°C)
| unformatted number, in °C
|-
|! scope="row" | mintemp_footnotes
| all{{pb}}(recommended for suburb, town)
| footnote for references
| Footnote demonstrating the minimum temperature
| suburb, town
| <!-- Notes -->
| [http://www.bom.gov.au/climate/data Bureau of Meteorology]
|[http://www.bom.gov.au/climate/data/ Bureau of Meteorology's climate data]
| wikitext (can contain links)<br />Best when used with <nowiki><ref> </ref></nowiki> tags and {{tl|cite web}}
| wikitext (can contain links){{pb}}Best when used with <nowiki><ref> </ref></nowiki> tags and a citation template
|-
|! scope="row" | rainfall
| all{{pb}}(recommended for suburb, town)
| average annual rainfall
| Average annual rainfall
| suburb, town
| <!-- Notes -->
| [http://www.bom.gov.au/climate/data/ Bureau of Meteorology]
| [http://www.bom.gov.au/climate/data/ Bureau of Meteorology's climate data]
| unformatted number (mm)
| unformatted number, in mm
|-
|! scope="row" | rainfall_footnotes
| all{{pb}}(recommended for suburb, town)
| footnote for references
| Footnote demonstrating the annual rainfall
| suburb, town
| <!-- Notes -->
| [http://www.bom.gov.au/climate/data/ Bureau of Meteorology]
| [http://www.bom.gov.au/climate/data/ Bureau of Meteorology's climate data]
| wikitext (can contain links)<br />Best when used with <nowiki><ref> </ref></nowiki> tags and {{tl|cite web}}
| wikitext (can contain links){{pb}}Best when used with <nowiki><ref> </ref></nowiki> tags and a citation template
|-
|! scope="row" | near-n/{{pb}}near-ne/{{pb}}near-e/{{pb}}near-se/{{pb}}near-s/{{pb}}near-sw/{{pb}}near-w/{{pb}}near-nw
| neighbours all{{pb}}(recommended for suburb, lga)
| Neighbours which share borders with the infobox's location
| suburb, lga
| It is best when all listed neighbours are of the same type (e.g., suburbs around a suburb). When the place of a neighbour is instead taken by something like an ocean or another state/territory, include it in italics.
| Only places that share borders with the subject place should be included in these fields.
| <!-- Potential sources -->
| plain text, link
| Plain text, linked. Can be formatted.
For example, the LGA of the [[City of Melville]] has a neighbour to its east, the [[City of Canning]]. Canning would be entered as <code><nowiki>|near-e=[[City of Canning]]</nowiki></code> (or <code><nowiki>[[City of Canning|Canning]]</nowiki></code>, to save space). The City of Melville is also neighboured at its north by the [[Swan River (Western Australia)]]. This would be entered as <code><nowiki>|near-n=''[[Swan River (Western Australia)|Swan River]]''</nowiki></code> (in italics as it is not another LGA)
|-
|! scope="row" | near
| all{{pb}}(recommended for suburb, lga)
| Central to neighbours
| Replaces name (best used without any near-* e.g. to specify a section link to the main text for further info)
| suburb, lga
| <!-- Potential sources -->
| replaces name (best used without any near-* e.g. to specify a #link to the main text for further info)
| plain text, link (ideally to a section of the article with further information)
|-
|! scope="row" | footnotes
| all
| general footnotes
| General footnotes, used to provide footnotes supporting information in parameters without a dedicated parameter for footnotes.
|
| <!-- Notes -->
| Additional footnotes for fields that do not have their own field for footnotes
| <!-- Potential sources -->
| wikitext (can contain links)<br />Best when used with <nowiki><ref> </ref></nowiki> tags.
| wikitext (can contain links){{pb}}Best when used with <nowiki><ref> </ref></nowiki> tags.
|-
|! scope="row" | _noautocat
| all
| auto categorisation
| Prevents automatic categorisation
|
| InThis ashould veryonly limitedbe numberused ofwhen casesabsolutely necessary, when the automatic categorisation built into this template maycauses cause anomalieserrors. In such cases, this parameter may be used to prevent automatic categorisation. However, it should only be used when absolutely necessary. When it is used, aA hidden note should be included to explain why the parameter is being used in the article.
| <!-- Potential sources -->
| "yes" to not categorise, or<br />leave blank to categorise
| "yes" to not categorise
leave blank to categorise
|}
 
==== Locator map generated by coordinates ====
== Notes ==
The recommended and most common locator map is auto-generated by {{para|coordinates}}, but can be toggled off using {{para|map_type|nomap}} (see in table). All of the following parameters require {{para|coordinates}} to be properly set using {{tl|coord}}.
 
{| class="wikitable plainrowheaders" style="background-color: white; width:100%;"
=== Type ===
|+ {{tl|coord}}-generated map
The infobox type affects the colour of the top bar of the infobox.
! scope="col" style="background-color: whitesmoke;" | Parameter
{| class="wikitable plainrowheaders" style="text-align:center; width:26%;"
! scope="col" style="background-color: whitesmoke;" | Available for {{para|type}}
! scope="col" style="background-color: whitesmoke;" | Description
! scope="col" style="background-color: whitesmoke;" | Notes
! scope="col" style="background-color: whitesmoke;" | Values
|-
! scope="row" | coordinates
! scope="col" style="padding:0 8px; width:19%;" | Colour<ref group=lower-alpha>Colour names per [http://www.color-blindness.com/color-name-hue this site]</ref>
! colspan="5" | See {{slink||coordinates}} for details
! scope="col" style="padding:0 8px; width:7%;" | {{para|type}}
|-
! scope="row" | map_alt
| scope="row" style="background:#f9f6d2; color:#100;" width=10px | Light Goldenrod Yellow
| cityall
| [[MOS:ALT|Alt text]] for the location map
|-.
| '''Prerequisite parameters:'''
| scope="row" style="background:#f9e2d2; color:#100;" width=10px | Antique White
* <code>coordinates</code>
| suburb
| wikitext (can contain links)
|-
! scope="row" | map_type
| scope="row" style="background:#e9f9d2; color:#100;" width=10px | Snow Flurry (greenish)
| townall
| Toggles whether a location map is automatically generated
| '''Prerequisite parameters:'''
* <code>coordinates</code>
| Available options are:
* <code>nomap</code> to suppress automatically generated location map
* <code>auto</code> or leave it blank, to allow the automatically generated location map
|-
! scope="row" | map_scale
| scope="row" style="background:#d2d5f9; color:#100;" width=10px | Lavender
| lgaall
| Changes scale of map from the default
| '''Prerequisite parameters:'''
* <code>coordinates</code>
| Unformatted number. See {{tl|coord}} for examples.
|-
! scope="row" | force_national_map
| scope="row" style="background:#e6c4fb; color:#100;" width=10px | Mauve
| all{{pb}}(recommended for city, region, protected)
| region
| Forces locator map to use a map of Australia as a whole
| '''Prerequisite parameters:'''
* <code>coordinates</code>
| <code>yes</code> to force map of Australia, or leave blank. Plain text, do not link<!-- Anything in this parameter will force the Australian map to be used. For consistency though, let's force people to use something simple and obvious. -->
|-
! scope="row" | use_lga_map
| scope="row" style="background:#ffffe0; color:#100;" width=10px | Light Yellow
| all{{pb}}(recommended for suburb, lga, protected)
| cadastral
| Forces locator map to use the LGA's map which is available to [[Module:Location map]]
| First confirm whether there is a map for that LGA - see [[:Category:Australia location map modules]].{{pb}}'''Prerequisite parameters:'''
* <code>coordinates</code>
* <code>state</code>
* <code>lga</code>
| <code>yes</code> to force map of the LGA, or leave blank<!-- Anything in this parameter will force the LGA map to be used. For consistency though, let's force people to use something simple and obvious. -->
|-
! scope="row" | alternative_location_map
| scope="row" style="background:#ffffff; color:#100;" width=10px | No colour
| all
| protected
| Forces the locator map to use an alternative map available to [[Module:Location map]]
| It can be used to display an LGA map in infoboxes where {{para|lga}} cannot be set.{{pb}}'''Prerequisite parameters:'''
* <code>coordinates</code>
| Name of the alternative map ([[:Category:Australia location map modules]] includes all available maps)
|-
! scope="row" | relief
| scope="row" style="background:#ffffff; color:#100;" width=10px | No colour
| "other"all
| Forces relief-style map, if available
| '''Prerequisite parameters:'''
* <code>coordinates</code>
| <code>yes</code> to force relief-style map, or leave blank<!-- Anything in this parameter will force the relief map to be used. For consistency though, let's force people to use something simple and obvious. -->
|-
! scope="row" | pushpin_map_caption
| scope="row" style="background:#ccc; color:#100;" width=10px | Very Light Grey
| all
| Undefined
| The caption on the pushpin (the location of the coordinates)
| '''Prerequisite parameters:'''
* <code>coordinates</code>
| Plain text or wikitext
|-
! scope="row" | pushpin_label_position
| all
| Position of the pushpin's caption, in relation to the pushpin
| '''Prerequisite parameters:'''
* <code>coordinates</code>
| <code>left</code>, <code>right</code>, <code>top</code>, <code>bottom</code>{{pb}}If this is not set, the default is <code>left</code>
|}
 
{{reflist|group=lower-alpha}}
==== Locator map generated by wikidata ====
 
A second map can be generated using pre-defined [[wikidata]]. This can either replace, or be in addition to, the map generated by the <code>|coordinates=</code> parameter. It will display below the {{slink||Locator map generated by coordinates}} map.
 
{| class="wikitable plainrowheaders" style="background-color: white; width:100%;"
|+ [[Wikidata]]-generated map
! scope="col" style="background-color: whitesmoke;" | Parameter
! scope="col" style="background-color: whitesmoke;" | Available for {{para|type}}
! scope="col" style="background-color: whitesmoke;" | Description
! scope="col" style="background-color: whitesmoke;" | Notes
! scope="col" style="background-color: whitesmoke;" | Values
|-
! scope="row" | local_map
| all
| Enable map of local area, as defined by wikidata
| This map will display below the map generated by <code><nowiki>|</nowiki>coordinates=</code> if that map is also present. For the map to display properly, the current location must be connected to a [[wikidata]] entry and a map border must have been created on [[OpenStreetMap]].
| <code>yes</code> will display the map
|-
! scope="row" | zoom
| all
| Change zoom size of local_map
| For more information, see {{tl|Infobox mapframe}} instructions.{{pb}}'''Prerequisite parameters:'''
* <code>local_map</code>
| Numeric value between <code>1</code> and <code>18</code>. If left blank, zoom size defaults to <code>10</code>.
|-
! scope="row" | local_map_id
| all{{pb}}(recommended for other)
| Wikidata ID for the location, if the infobox is on an article that does not connect to the location's wikidata entry
| Search [https://www.wikidata.org Wikidata] for an ID{{pb}}'''Prerequisite parameters:'''
* <code>local_map</code>
| An unlinked wikidata ID, e.g. <code>Q595259</code> for [[Raymond Terrace]]. The ID will begin with "Q".
|}
 
== Notes ==
 
===IUCN categories for protected areas===
Depending on the value ofgiven thefor <code>{{para|iucn_category</code> parameter}}, one of the following banners will be displayed below the name. Valid values are Ia, Ib, II, III, IV, V and VI. For more information read the [[IUCN protected area categories]] article. If you cannot find the correct code in a [[WP:SOURCE|reliable source]], leave blank.
 
{| style="border:1px solid gray; width:300px; font-size: 90%; text-align: center; line-height: 1.5;"
Line 603 ⟶ 796:
| {{IUCN banner|VI}}
|}
<section begin=image_upright />
 
<section begin=image_upright />
=== Calculating "image_upright" ===
The <code>image_upright</code> parameter, and <code>image2_upright</code> and <code>logo_upright</code> where applicable, is/are provided so as to facilitate the use of scalable images in this infobox, in accordance with the instructions at [[WP:IMAGESIZE]], which advises against the use of "px" (for example: <code>thumb|300px</code>), as this forces a fixed image width.
Line 629 ⟶ 822:
{{div col end}}<section end=image_upright />
 
=== FootnotesFootnote fieldsand reference parameters ===
Any references shouldto besupport placeda withinparameter thereserved respectivesolely "_footnotes"for fielda andnumeric notvalue withinshould thebe fieldplaced reservedwithin solelythe forrespective a{{para|..._footnotes}} numericor value{{para|..._ref}} parameters. For example, place the reference used for the area of City X in the parameter {{{para|area_footnotes}}} parameters and not in the {{{para|area}}} parameter. Otherwise, an error may result.
 
=== Unformatted numbers and expression errors ===
Certain fieldsparameters require numeric values to be entered in an unformatted/raw fashion—i.e. 1000.0 ''not'' 1,000.0. If an expression error is present, simply remove any commas or spaces from the number.
<!-- === Maps ===
For some locations this infobox supports the display of links to the popular web mapping services Google and Bing. However, in order for this to function a valid map page containing a [[Keyhole Markup Language|KML]] format map must exist. As KML files cannot currently be uploaded, the text of those files must be copied into a Wikipedia page. By default, the infobox uses a file name with the same title as the article at the location <code>Template:Infobox Australian place/mapdata/<place name></code> e.g. [[Raymond Terrace, New South Wales]] uses [[Template:Infobox Australian place/mapdata/Raymond Terrace, New South Wales]]. A list of currently available maps may be found [[Template:Infobox Australian place/mapdata|here]]. -->
 
=== Dist#, Dir# and Location# ===
This is the distance and approximate direction fromto another location. The '#' is replaced with a number between 1 and 5. Therefore, distances for up to five locations can be listed, using the{{para|location1}} rangethrough 'dist1' – 'dist5'{{para|location5}}. DirectionThe from the locationsdistances can be specifiedlisted using 'dir1'{{para|dist1}} through 'dir5'{{para|dist5}}. andDirection from the locations canis beoptional, listedand as 'location1' – 'location5'. Each dist# mustcan be partneredspecified withusing an{{para|dir1}} appropriatethrough location#. Dir# is optional{{para|dir5}}.
 
=== Population from Wikidata {{anchor|PopulationFromWikidata}} ===
If the {{para|pop}} parameter is left empty or not supplied, the template will attempt to retrieve population data from Wikidata. For more information, see the documentation of [[Module:PopulationFromWikidata]]. This is a new feature as of June 2022 (to coincide with the release of the 2021 Australian Census data). Please report any feedback to [[Template talk:Infobox Australian place]].
 
== Where to find information ==
* [[Wikipedia:WikiProject Australian places#Useful Resources|WikiProject Australian places – Useful resources]]
* [http://www.abs.gov.au/ Australian Bureau of Statistics]
* [http://alga.asn.au/?ID=7030&Menu=56,199,415 LGA links for each state]
* [http://www.bom.gov.au/climate/data/ Climate Data Online at the Bureau of Meteorology]
 
== Tracking categories ==
 
* {{Category link with count|Australian place articles using Wikidata population values}} – articles that display population values from Wikidata, rather than directly via the {{para|pop}} parameter.
=== Deprecated fields ===
 
* {{Category link with count|Australian place articles using missing parameters}} – articles that include deprecated fields are automatically added. As of 5 April 2016, the tracked parameters are <code>imagesize</code>, <code>image2size</code>, <code>imagesize2</code>, <code>image_alt2</code>, <code>logosize</code> and <code>official_site</code>.
=== Deprecated parameters ===
* {{Category link with count|Australian place articles using missing parameters}} – articles that include deprecated parameters are automatically added. As of 5 April 2016, the tracked parameters are {{para|imagesize}}, {{para|image2size}}, {{para|imagesize2}}, {{para|image_alt2}}, {{para|logosize}} and {{para|official_site}}.
 
=== Errors ===
* {{Category link with count|Australian place articles using missing parameters}} – articles that contain general errors are automatically added.
* {{Category link with count|Australian place articles with no population year}} – articles missing the <code>{{para|pop_year</code>}} or <code>{{para|pop2_year</code>}} fieldsparameters are automatically added.
* {{Category link with count|Australian place articles with no population footnotes}} – Articlesarticles missing the <code>{{para|pop_footnotes</code>}} or <code>{{para|pop2_footnotes</code>}} fieldsparameters are automatically added.
* {{Category link with count|Australian place articles with density errors}}
* {{Category link with count|Pages using infobox Australian place with unknown parameters}} – Articlesarticles that includeusing parameters that are not included in the infobox. This category may include articles with incorrectly spelled, but valid parameters.
 
=== Temporary ===
Line 668 ⟶ 866:
: [[Template:Infobox Australian place/Blank]]
: [[Template:Infobox Australian place/Examples]]
: [[Template:Infobox Australian place/doc]]<!--
<!-- : [[Template:Infobox Australian place/KML]] -->
: [[Template:Infobox Australian place/sandbox]]
: [[Template:Infobox Australian place/sandbox/doc]]
: [[Template:Infobox Australian place/testcases]]
<!-- All subpages
{{Special:PrefixIndex/Template:Infobox Australian place}} -->
 
Line 690 ⟶ 888:
"description": "The type of place, which determines the look of the infobox. Can be empty or one of the following: 'city', 'suburb', 'town', 'lga', 'region', or 'cadastral'.",
"type": "string",
"required": false,
"suggestedvalues": [
"city",
"suburb",
"town",
"lga",
"region",
"cadastral",
"protected",
"other"
]
},
"name": {
Line 708 ⟶ 916:
"description": "The abbreviation for the state the place in located in, which can be uppercase or lowercase.",
"type": "string",
"required": false,
"suggestedvalues": [
"sa",
"vic",
"nsw",
"qld",
"nt",
"wa",
"tas",
"act",
"jbt",
"ni",
"au"
]
},
"image": {
Line 765 ⟶ 986:
},
"alternative_location_map": {
"label": "AlternativeLocator LocationMap Alternative Map File",
"description": "Forces the locator map to use this alternative map instead of the default state map.",
"type": "stringwiki-file-name",
"required": false
},
"force_national_map": {
"label": "ForceLocator Map Set to National Map",
"description": "Set to 'yes' or leave this parameter blank to force the locator map to use the Australian map instead of the default state map.",
"type": "string",
"required": false,
"example": "yes",
"default": "no",
"suggestedvalues": [
"yes",
"no"
]
},
"use_lga_map": {
"label": "ForceLocator Map Set to LGA Map",
"description": "Set to 'yes' or leave this parameter blank to force the locator map to use the LGA map instead of the default state one.",
"type": "string",
"required": false,
"example": "yes",
"default": "no",
"suggestedvalues": [
"yes",
"no"
]
},
"relief": {
"label": "Locator Map Set to Relief Map",
"description": "Set to 'yes' or leave this parameter blank to make the locator map use a relief map.",
"type": "string",
"required": false,
"example": "yes",
"default": "no",
"suggestedvalues": [
"yes",
"no"
]
},
"pushpin_map_caption": {
"label": "PushpinLocator Map Pushpin Caption",
"description": "The caption for the locator map's pushpin. Defaults to the place name.",
"type": "string",
"required": false,
"example": "Testville Testplace",
"default": "value of the 'name' parameter"
},
"pushpin_label_position": {
"label": "Locator Map Pushpin Label Position",
"description": "Where the caption should appear relative to the locator map's pushpin. Can be one of the following: 'left', 'right', 'top', or 'bottom'.",
"type": "string",
"default": "right",
"required": false,
"example": "top",
"suggestedvalues": [
"left",
"right",
"top",
"bottom"
]
},
"map_alt": {
"label": "Locator Map AltAlternative Text",
"description": "AltAlternative text for the locator map.",
"type": "string",
"required": false
Line 809 ⟶ 1,057:
"pop": {
"label": "Population",
"description": "The total population of the place. If left empty, population data will be displayed from Wikidata (for appropriate geography).",
"type": "number",
"required": false
Line 1,277 ⟶ 1,525:
"type": "string",
"required": false
},
"native_name": {
"label": "Native name",
"description": "Name in the local language if different to 'name'.",
"type": "line"
},
"native_name_lang": {
"label": "Native name language",
"description": "ISO 639-1 code for the native language, e.g. \"fr\" for French.",
"type": "string"
},
"local_map": {
"label": "Local Map Enabled",
"description": "Set to 'yes' to display an additional map showing the OpenStreetMap relation from the related Wikidata item. If no OpenStreetMap relation is specified, a point is shown from the coordinates of the related Wikidata item instead. This additional map is typically useful for showing the boundaries of area features such as administrative regions and national parks, or showing the extent of linear features such as roads and railways.",
"example": "yes",
"type": "string",
"default": "no",
"suggested": true,
"suggestedvalues": [
"yes",
"no"
]
},
"zoom": {
"label": "Local Map Zoom Level",
"description": "Defines a zoom level for the local map between level 1 (whole world) to 18 (smallest area). Most common zoom levels are between 7 (a large national park) and 13 (a school campus). If this field is not specified, the local map guesses a zoom level however the guess is typically not suitable.",
"example": "10",
"type": "number",
"suggestedvalues": [
"1",
"2",
"3",
"4",
"5",
"6",
"7",
"8",
"9",
"10",
"11",
"12",
"13",
"14",
"15",
"16",
"17",
"18"
],
"default": "10",
"suggested": true
},
"local_map_id": {
"label": "Local Map Wikidata Item ID",
"description": "A manually selected Wikidata Item (QID) from which an OpenStreetMap Relation will be extracted for display on the local map. If this value is blank (default), the Wikidata Item associated with the page using this template will be used.",
"example": "Q402",
"type": "string"
}
},
"paramOrder": [
"type",
"name",
"city",
"state",
"image",
"image_upright",
"caption",
"image_alt",
"image2",
"image2_upright",
"caption2",
"image2_alt",
"coordinates",
"alternative_location_map",
"force_national_map",
"use_lga_map",
"relief",
"pushpin_map_caption",
"pushpin_label_position",
"map_alt",
"local_map",
"zoom",
"local_map_id",
"pop",
"pop_year",
"pop_footnotes",
"pop2",
"pop2_year",
"pop2_footnotes",
"poprank",
"density",
"density_footnotes",
"established",
"abolished",
"gazetted",
"postcode",
"elevation",
"elevation_footnotes",
"area",
"area_footnotes",
"timezone",
"utc",
"timezone-dst",
"utc-dst",
"mayor",
"mayortitle",
"dist1",
"dir1",
"location1",
"dist2",
"dir2",
"location2",
"dist3",
"dir3",
"location3",
"dist4",
"dir4",
"location4",
"dist5",
"dir5",
"location5",
"lga",
"lga2",
"lga3",
"lga4",
"lga5",
"seat",
"region",
"county",
"parish",
"hundred",
"former_hundred",
"division",
"localgov",
"stategov",
"stategov2",
"stategov3",
"stategov4",
"stategov5",
"fedgov",
"fedgov2",
"fedgov3",
"fedgov4",
"logo",
"logosize",
"url",
"maxtemp",
"maxtemp_footnotes",
"mintemp",
"mintemp_footnotes",
"rainfall",
"rainfall_footnotes",
"near",
"near-n",
"near-ne",
"near-e",
"near-se",
"near-s",
"near-sw",
"near-w",
"near-nw",
"native_name",
"native_name_lang"
]
}
</templatedata>
{{Collapse bottom}}
 
<includeonly>{{Sandbox other|
| <!-- Categories below this line, please; interwikis at Wikidata -->
{{DEFAULTSORT:Australian Place}}
[[Category:Australia place infobox templates|Place]]
[[Category:City infobox templates]]
[[Category:Templates that add a tracking category|{{PAGENAME}}]]
}}</includeonly>