Template:Infobox Australian place/doc: Difference between revisions

From Seeds of the Word, the encyclopedia of the influence of the Gospel on culture
m (1 revision imported)
No edit summary
Line 2: Line 2:
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE -->
{{High-use|1=14430 }}
{{High-use|1=14430 }}
{{Lua|Module:Infobox|Module:InfoboxImage|Module:URL|Module:Check for unknown parameters}}
{{Lua|Module:Infobox|Module:InfoboxImage|Module:URL|Module:Check for unknown parameters|Module:Australian place map|Module:PopulationFromWikidata}}
{{Auto short description}}
{{Auto short description}}
__NOTOC__
__NOTOC__
Line 11: 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.
{{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>density</code> field) is not specified, this will be automatically generated based on the <code>pop</code> and <code>area</code> fields. It is therefore important to read parameter descriptions thoroughly, to avoid unnecessarily providing redundant or incorrect information.
The infobox has been extensively customised for Australia and includes automation that results in some parameters being redundant to other parameters. For example, if population density (in the {{para|density}} parameter) is not specified, this will be automatically generated based on the {{para|pop}} and {{para|area}} parameters. 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 fields, [[Template:Infobox Australian place/cleanup]] may be substed. This will reformat the infobox and remove invalid fields.
For infoboxes that require reformatting, general cleanup or addition of missing parameters, [[Template:Infobox Australian place/cleanup]] can be [[Help:Substitution|substituted]]. This will reformat the infobox and remove invalid parameters.


== Usage ==
== Usage ==


=== To use this template ===  
=== 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 at the very top of the article and the first word of the article on the very next line.
#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 on the line directly before the start of the article's lead.
#Enter values for the fields as outlined in the [[Template:Infobox Australian place#Fields|table below]]. Fields left blank will automatically be hidden.
#Enter values for the parameters as outlined under {{slink||Parameters}}, particularly {{para|type}} and {{para|state}}. Parameters left blank will automatically be hidden.
#Preview.
#Preview the page with your edits.
#Save the page with an appropriate edit summary.
#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 ===
=== Examples ===
Line 27: Line 27:


== Parameters ==
== 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:
Both <code>type</code> and <code>state</code> are required parameters. All other parameters used by this template are optional.
{| class="wikitable plainrowheaders" style="background-color: white; width:100%;"
 
! scope="col" style="background-color: whitesmoke;" width=15% | Parameter
=== Required ===
! scope="col" style="background-color: whitesmoke;" width=17% | Description
These parameters must be set for every infobox as they affect the behaviour of many other parameters.
! scope="col" style="background-color: whitesmoke;" width=8% | Valid for<br /><small>blank = all</small>
 
! scope="col" style="background-color: whitesmoke;" width=40% | Source/notes
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=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" | <code>city</code>
| A city. <!-- Description of the effects of "city" on the infobox needed -->
| style="background:#f9f6d2; color:#100;" | Light Goldenrod Yellow
|-
! scope="row" | <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 -->
| style="background:#f9e2d2; color:#100;" | Antique White
|-
! scope="row" | <code>town</code>
| A town or other settlement. <!-- Description of the effects of "town" on the infobox needed -->
| style="background:#e9f9d2; color:#100;" | Snow Flurry
|-
! scope="row" | <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.
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
|-
! scope="row" | <code>region</code>
| <!-- Description of "region" and its effects on the infobox needed -->
| style="background:#e6c4fb; color:#100;" | Mauve
|-
! scope="row" | <code>cadastral</code>
| <!-- Description of "cadastral" and its effects on the infobox needed -->
| style="background:#ffffe0; color:#100;" | Light Yellow
|-
|-
| scope="row" | {{visible anchor|type}}
! scope="row" | <code>protected</code>
| infobox type
| <!-- Description of "protected" and its effects on the infobox needed -->
|
| style="background:transparent; color:#100;" | No colour
| 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.
<small>(An [[IUCN protected area categories|IUCN category]] can be used to display a coloured banner - see {{slink||IUCN categories for protected areas}}.)</small>
| "city", "suburb", "town", "lga", "region", "cadastral", "protected" or "other"
|-
|-
| scope="row" | name
! scope="row" | <code>other</code>
| name of place
| <!-- Description of "other" and its effects on the infobox needed -->
|
| style="background:transparent; color:#100;" | No colour
| 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
! scope="row" | ''undefined''
| city name
| Occurs when the parameter has been left blank.<!-- Description of the effects of an undefined type on the infobox needed -->
| suburb
| style="background:#ccc; color:#100;" | Very Light Grey
| 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.
{{reflist|group=lower-alpha}}
 
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" | {{visible anchor|state}}
! scope="row" | <code>act</code>
| state abbreviation
| [[Australian Capital Territory]] (ACT)
|
| 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
! scope="row" | <code>nsw</code>
| IUCN category
| [[New South Wales]] (NSW)
| [[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
! scope="row" | <code>nt</code>
| IUCN category reference
| [[Northern Territory]] (NT)
| [[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
! scope="row" | <code>qld</code>
| generic image of the locality
| [[Queensland]] (Qld or QLD)
|  
| 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
! scope="row" | <code>sa</code>
| width of generic image of the locality
| [[South Australia]] (SA)
|
| 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
! scope="row" | <code>tas</code>
| caption for the locality image
| [[Tasmania]] (Tas or TAS)
|
|
| wikitext (can contain links)
|-
|-
| scope="row" | image_alt
! scope="row" | <code>vic</code>
|
| [[Victoria (Australia)|Victoria]] (Vic or VIC)
|
| [[MOS:ALT|Alt text]] for the image
| wikitext (can contain links)
|-
|-
| scope="row" | image2
! scope="row" | <code>wa</code>
| A second image of the locality
| [[Western Australia]] (WA)
|
| 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
! scope="row" | <code>jbt</code>
| width of the second image of the locality
| [[Jervis Bay Territory]] (JBT)
|
| 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
! scope="row" | <code>ni</code>
| caption for the second locality image
| [[Norfolk Island]] (NI)
|
|
| wikitext (can contain links)
|-
|-
| scope="row" | image2_alt
! scope="row" | <code>au</code>
|  
| [[Australia]] - use when no other value is applicable.
|  
|}
| [[MOS:ALT|Alt text]] for the image
 
| wikitext (can contain links)
=== Optional ===
{| 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" | coordinates
! scope="row" | name
| coordinates of the locality
| all
|  
| Name of infobox's place
| {{UF-coord}}<br />
| <!-- Notes -->
| Example:<br /><nowiki>{{Coord|32|45|41.3|S|151|44|38.6|E|type:city_region:AU-NSW|display=inline,title}}</nowiki>
| <!-- Potential sources -->
| 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" | map_scale
! scope="row" | native_name
| changes scale of map
| all
|  
| Settlement name in local language(s), if different from the English name
| The scale of the map linked to in the generated coordinates string can be changed from the default by setting this field.
| For indicating the official/defacto name in a language other than English
| unformatted number. See {{tl|coord}} for examples.
| <!-- Potential sources -->
| By default, the native name is displayed in italics, followed by the language's name in parentheses.
|-
|-
| scope="row" | map_type
! scope="row" | native_name_lang
| controls the location map
| all
|  
| [[ISO 639-1]] code, e.g. nys for [[Noongar language|Noongar]], for the Indigenous Australian language, if available
| set to <code>nomap</code> to suppress any automatically generated location map
| If there are names in multiple Indigenous Australian languages, enter those names into the {{para|native_name}} parameter using <nowiki>{{lang}}</nowiki> instead.
| nomap, auto, or blank
 
| <!-- Potential sources -->
| plain text
|-
|-
| scope="row" | alternative_location_map
! scope="row" | city
| forces locator map
| ??{{pb}}(recommended for suburb)
|  
| City name
| Forces the locator map to use an alternative, rather than the state map, regardless of the contents of <code>state</code>.
| 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.
| Name of the alternative map
| [[List of cities in Australia]]
| plain text, may be linked.
|-
|-
| scope="row" | force_national_map
! scope="row" | iucn_category
| forces locator map
| protected
| city, region, 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]].
| Forces the locator map to use the Australian, rather than the state map, regardless of the contents of <code>state</code>.
| For more information on how this parameter is displayed, see [[#IUCN categories for protected areas|IUCN categories]] below.
| "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. -->
| <!-- Potential sources -->
| Plain text, do not wikilink. Accepted values are:
* Ia
* Ib
* II
* III
* IV
* V
* VI
|-
|-
| scope="row" | use_lga_map
! scope="row" | iucn_ref
| forces locator map
| protected
| suburb, lga, protected
| A reference demonstrating the IUCN category
| 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.
| '''Prerequisite parameters:'''
| "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. -->
* <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" | relief
! scope="row" | image
| forces relief map
| all
|  
| Image of the locality
|  
| For cadastral units, this is typically a map showing its location within the state or territory.
| "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. -->
| <!-- Potential sources -->
| filename
|-
|-
| scope="row" | pushpin_map_caption
! scope="row" | image_upright
| caption
| 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.
| optional, plain text or linked
| <!-- 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" | pushpin_label_position
! scope="row" | caption
| label position
| all
|  
| Caption for the locality image
|  
| <!-- Notes -->
| left, right, top, bottom<br />default: left
| <!-- Potential sources -->
| wikitext (can contain links)
|-
|-
| scope="row" | map_alt
! scope="row" | image_alt
|
| all
|  
| [[MOS:ALT|Alt text]] for the image
| [[MOS:ALT|Alt text]] for the location map
| <!-- Notes -->
| <!-- Potential sources -->
| wikitext (can contain links)
| wikitext (can contain links)
|-
|-
| scope="row" | local_map
! scope="row" | image2
| enable map of local area
| all
|  
| A second image of the locality
| 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.  
| 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}}.
| "yes" or leave blank, plain text, do not link
| <!-- Potential sources -->
| filename
|-
|-
| scope="row" | zoom
! scope="row" | image2_upright
| change zoom size of local map
| all
|  
| Width of the second image of the locality (in relation to default thumbnail size)
| 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.
| 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.
| numeric value between 1 and 18.
| <!-- 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" | local_map_id
! scope="row" | caption2
| Wikidata id
| all
| use of infobox on "other" pages
| caption for the second locality image
| 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.
| <!-- Notes -->
| [[Wikidata]] id. e.g. Q595259
| <!-- Potential sources -->
| wikitext (can contain links)
|-
|-
| scope="row" | nearest_town_or_city
! 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
| 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}}.
| 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}}.
| wikitext (can contain links)
| <!-- Potential sources -->
| Wikitext (can contain links)
|-
! scope="row" | {{visible anchor|coordinates}}
| ??{{pb}}(recommended for all)
| Displays coordinates of the locality. Triggers a map to automatically generate (can be adjusted in various ways).
| {{UF-coord}}
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}}).
| <!-- 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
! scope="row" | pop
| population
| ??{{pb}}(recommended for all except protected)
| all except protected; use approx for region
| Population statistic (use approximate if {{para|type|region}})
| [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.)
| If left empty, population data will be displayed from Wikidata (for appropriate geography). See [[#PopulationFromWikidata|''Notes'' below]] for more information.
| 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 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
! scope="row" | pop_year
| population year
| ??{{pb}}(recommended for all except protected)
| all except protected; use approx for region
| Year applicable to the population figure
| Year applicable to the population figure
| number<br />When the population is for a census year, use {{tl|CensusAU}}
| '''Prerequisite parameters:'''
* 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
! scope="row" | pop_footnotes
| population footnote for references
| ??{{pb}}(recommended for all except protected)
| all except protected; use approx for region
| Footnote demonstrating the population statistic
| [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]
| '''Prerequisite parameters:'''
| wikitext (can contain links)<br />Best when used with <nowiki><ref> </ref></nowiki> tags and {{tl|Census 2016 AUS}}
* 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]
| wikitext (can contain links){{pb}}Best when used with <nowiki><ref></ref></nowiki> tags and {{tl|Census 2016 AUS}}
|-
|-
| scope="row" | pop2
! scope="row" | pop2
| 2nd population figure
| ??{{pb}}(recommended for all except protected)
| all except protected; use approx for region
| Second population statistic (use approximate if {{para|type|region}})
| [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.
| See [[Clarence Town, New South Wales]] for an example of when a second population figure is useful.{{pb}}'''Prerequisite parameters:'''
| number. should be plain, either with or without a comma. i.e. 12345 or 12,345
* 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. 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
! scope="row" | pop2_year
| 2nd population year
| ??{{pb}}(recommended for all except protected)
| all except protected; use approx for region
| Year applicable to the second population figure
| Year applicable to the population figure
| '''Prerequisite parameters:'''
| number<br />When the population is for a census year, use {{tl|CensusAU}}
* 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]
| Number. When the population is for a census year, use {{tl|CensusAU}}
|-
|-
| scope="row" | pop2_footnotes
! scope="row" | pop2_footnotes
| population footnote for <code>pop2</code> references
| ??{{pb}}(recommended for all except protected)
| all except protected; use approx for region
| Footnote demonstrating the second population statistic
| '''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]
| [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 />Best when used with <nowiki><ref> </ref></nowiki> tags and {{tl|Census 2016 AUS}}
| wikitext (can contain links){{pb}}Best when used with <nowiki><ref></ref></nowiki> tags and {{tl|Census 2016 AUS}}
|-
|-
| scope="row" | poprank
! scope="row" | poprank
| ??{{pb}}(recommended for city)
| population rank
| population rank
| city
| '''Prerequisite parameters:'''
| Used with <code>pop</code><br />[[List of cities in Australia by population]]
* pop
| [[List of cities in Australia by population]]
| number
| number
|-
|-
| scope="row" | density
! scope="row" | density
| all{{pb}}(recommended for city, region)
| population density
| population density
| city, region
| Will auto-calculate if both pop and area are defined
| [http://www.abs.gov.au/ ABS]
|[http://www.abs.gov.au/ ABS]
| unformatted number (people/km²)
| unformatted number, in people/km²
|-
|-
| scope="row" | density_footnotes
! scope="row" | density_footnotes
| all{{pb}}(recommended for city, region)
| population density footnote for references
| population density footnote for references
| city, region
|
| [http://www.abs.gov.au/ ABS]
|[http://www.abs.gov.au/ ABS]
| 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" | established
! scope="row" | established
| established
| all
|
| Date the location was established
| Date the location was established. If the exact date is unknown, a year will suffice
| If the exact date is unknown, a year will suffice
| <!-- Potential sources -->
| date
| date
|-
|-
| scope="row" | established_footnotes
! scope="row" | established_footnotes
| reference(s) for establishment date
| all
|  
| Reference demonstrating the establishment date
|  
| <!-- Notes -->
| wikitext (can contain links)<br />Best when used with <nowiki><ref> </ref></nowiki> tags and {{tl|cite web}}
| <!-- Potential sources -->
| wikitext (can contain links){{pb}}Best when used with <nowiki><ref> </ref></nowiki> tags and a citation template
|-
|-
| scope="row" | abolished
! scope="row" | abolished
| abolished
| all
|
| Date the location was abolished
| Date the location was abolished. If the exact date is unknown, a year will suffice
| If the exact date is unknown, a year will suffice
| <!-- Potential sources -->
| date
| date
|-
|-
| scope="row" | gazetted
! scope="row" | gazetted
| all
| Date the place name was [[Gazetteer of Australia|gazetted]]
| Date the place name was [[Gazetteer of Australia|gazetted]]
|  
| <!-- Notes -->
|  
| <!-- Potential sources -->
| date
| date
|-
|-
| scope="row" | postcode
! scope="row" | postcode
|  
| all{{pb}}(recommended for suburb, town)
| suburb, town
| Postcode(s) for the place
| [http://auspost.com.au/apps/postcode.html Australia Post postcode search tool]
| <!-- Potential sources -->
|[http://auspost.com.au/apps/postcode.html Australia Post postcode search tool]
| number
| number
|-
|-
| scope="row" | elevation
! scope="row" | elevation
| measured from sea level in metres
| all{{pb}}(recommended for suburb, town)
| suburb, town
| The elevation, measured from sea level in metres
| [http://www.fallingrain.com/world/AS/ fallingrain.com]
| <!-- Notes -->
| unformatted number (m)
| <!-- Potential sources -->
| unformatted number in metres
|-
|-
| scope="row" | elevation_footnotes
! scope="row" | elevation_footnotes
| elevation footnote for references
| all{{pb}}(recommended for suburb, town)
| suburb, town
| Footnote demonstrating the elevation
| [http://www.fallingrain.com/world/AS/ fallingrain.com]
| <!-- Notes -->
| wikitext (can contain links)<br />Best when used with <nowiki><ref> </ref></nowiki> tags and {{tl|cite web}}
| <!-- Potential sources -->
| wikitext (can contain links){{pb}}Best when used with <nowiki><ref> </ref></nowiki> tags and a citation template
|-
|-
| scope="row" | area
! scope="row" | area
|  
| all
|  
| The area of the location
| <!-- Notes -->
| [http://www.abs.gov.au/ ABS]
| [http://www.abs.gov.au/ ABS]
| unformatted number (km<sup>2</sup>)
| unformatted number in km<sup>2</sup>
|-
|-
| scope="row" | area_footnotes
! scope="row" | area_footnotes
| area footnote for references
| all
|  
| Footnote demonstrating the area
| <!-- Notes -->
| [http://www.abs.gov.au/ ABS]
| [http://www.abs.gov.au/ ABS]
| 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" | timezone
! scope="row" | timezone
| timezone
| all{{pb}}(recommended for city, suburb, town, lga, region)
| city, suburb, town, lga, region
| Timezone of the location
| See [[Time in Australia#Time zones and legislation|Time in Australia]]
| See [[Time in Australia#Time zones and legislation|Time in Australia]]
| plain text, link
| <!-- Potential sources -->
| 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
! scope="row" | utc
| utc offset
| all{{pb}}(recommended for city, suburb, town, lga, region)
| city, suburb, town, lga, region
| UTC offset of the timezone
|  
| <!-- Notes -->
| "+" followed by number
| <!-- Potential sources -->
| "+" followed by number, e.g., <code>+8:00</code> (for AWST)
|-
|-
| scope="row" | timezone-dst
! scope="row" | timezone-dst
| summer timezone
| all{{pb}}(recommended for city, suburb, town, lga, region)
| city, suburb, town, lga, region
| Daylight saving timezone
| See [[Time in Australia#Time zones and legislation|Time in Australia]]
| 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.
| plain text, link
| [[Daylight saving time in Australia]]
| 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
! scope="row" | utc-dst
| summer utc offset
| all{{pb}}(recommended for city, suburb, town, lga, region)
| city, suburb, town, lga, region
| UTC offset of the daylight saving timezone
|  
| 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.
| "+" followed by number
| <!-- Potential sources -->
| "+" followed by number, e.g., <code>+11:00</code> (for AEDT)
|-
|-
| scope="row" | mayor
! scope="row" | mayor
| Mayor of LGA
| lga
| lga
| Mayor of the LGA
| Name of the mayor only. Do not include titles, postnominals or political party information.
| Name of the mayor only. Do not include titles, postnominals or political party information.
| plain text
| <!-- Potential sources -->
| Plain text
|-
|-
| scope="row" | mayortitle
! scope="row" | mayortitle
| lga
| Title of the mayor
| Title of the mayor
| lga
|
|  
| <!-- Potential sources -->
| 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.
| Wikitext (can be wikilinked), or blank.
If left blank, will default to "[[Mayor]]".
|-
|-
| scope="row" | dist#
! scope="row" | location# (up to location5)
| ''See Notes below''
| all{{pb}}(recommended for city, suburb, town)
| city, suburb, town (other cities)
| Specified location(s) to display the distance and direction to
| 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]
| Normally other cities or population centres.{{pb}}''See {{slink||Notes}} below''
| unformatted number (km)
| Maps such as Google Earth
| Plain text, may be wikilinked. If no wikilink is given, the text will be automatically wikilinked.
|-
|-
| scope="row" | dir#
! scope="row" | dist# (up to dist5)
| ''See Notes below''
| all{{pb}}(recommended for city, suburb, town)
| city, suburb, town (other cities)
| The distance by road (not direct) to the specified location(s)
|  
| Distance by road, not direct.{{pb}}''See {{slink||Notes}} below''
| plain text, normally "N", "S", "E", "W", "NE", "SW", "SSE", "WNW" etc., or "north", "south" (lower case, per [[MOS:COMPASS]]) etc.
|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]
| unformatted number in km
|-
|-
| scope="row" | location#
! scope="row" | dir# (up to dir5)
| ''See Notes below''
| all{{pb}}(recommended for city, suburb, town)
| city, suburb, town
| The direction (preferably cardinal) of the specified location(s), normally other cities or population centres
| maps, Google earth
| ''See {{slink||Notes}} below''
| plain text, may be wikilinked, automatically links the name
| <!-- Potential sources -->
| 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
! scope="row" | lga
| local government area
| all{{pb}}(recommended for city, suburb, town)
| city, suburb, town
| Name of the local government area
| Name of the local government area<br />[http://www.gnb.nsw.gov.au/place_naming/placename_search NSW Geographical Names Board] (NSW only)
| This parameter will display in a way that makes little sense when {{para|type|lga}}, but it can be used if necessary.
| plain text, may be wikilinked, automatically links the name
|[http://www.gnb.nsw.gov.au/place_naming/placename_search NSW Geographical Names Board]
| Plain text, may be wikilinked. If no wikilink is given, the text will be automatically wikilinked.
|-
|-
| scope="row" | lga2-lga5
! scope="row" | lga2{{pb}}lga3{{pb}}lga4{{pb}}lga5
| 2nd–5th LGAs
| all{{pb}}(recommended for city, suburb, town)
| city, suburb, town
| Names of additional LGAs
| 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.
| This parameter displays in a way that makes no sense when {{para|type|lga}}, but it can be used if necessary.
| plain text, link
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.
| <!-- Potential sources -->
| Plain text, can be wikilinked. If no wikilink is given, the text will be automatically wikilinked.
|-
|-
| scope="row" | seat
! scope="row" | seat
| LGA seat
| all{{pb}}(recommended for lga)
| lga
| Council seat of the LGA
|  
| <!-- Notes -->
| plain text, link
| <!-- Potential sources -->
| Plain text, can be wikilinked. If no wikilink is given, the text will be automatically wikilinked.
|-
|-
| scope="row" | region
! scope="row" | region
| all{{pb}}(recommended for city, suburb, town, lga, cadastral, protected)
| Name of region location is in
| Name of region location is in
| city, suburb, town, lga, cadastral, protected
| <!-- Notes -->
|  
| <!-- Potential sources -->
| plain text, link
| Plain text, can be wikilinked. If no wikilink is given, the text will be automatically wikilinked.
|-
|-
| scope="row" | county
! scope="row" | county
| lands administrative division (not in all areas)
| all{{pb}}(recommended for city, suburb, town, lga)
| city, suburb, town, lga
| Name of the county (a type of [[Lands administrative divisions of Australia|lands administrative division]])
| [[Lands administrative divisions of Australia]]<br />[http://www.gnb.nsw.gov.au/place_naming/placename_search NSW Geographical Names Board] (NSW only)
| Not used in all areas.
| plain text, link
|[http://www.gnb.nsw.gov.au/place_naming/placename_search NSW Geographical Names Board]
| Plain text, can be wikilinked. If no wikilink is given, the text will be automatically wikilinked.
|-
|-
| scope="row" | parish
! scope="row" | parish
| NSW, Qld, Vic only
| all{{pb}}(recommended for city, suburb, town)
| city, suburb, town
| Name of the parish (a type of [[Lands administrative divisions of Australia|lands administrative division]])
| [[Lands administrative divisions of Australia]]<br />[http://www.gnb.nsw.gov.au/place_naming/placename_search NSW Geographical Names Board] (NSW only)
| Only used in NSW, Qld and Vic.
| plain text
|[http://www.gnb.nsw.gov.au/place_naming/placename_search NSW Geographical Names Board]
| Plain text, can be wikilinked.
|-
|-
| scope="row" | hundred
! scope="row" | hundred
| lands administrative division (not in all areas)
| cadastral
| cadastral
| Name of the hundred (a type of [[Lands administrative divisions of Australia|lands administrative division]])
|  
| Not used in all areas.
| plain text, link
| <!-- Potential sources -->
| Plain text, can be wikilinked.
|-
|-
| scope="row" | former_hundred
! scope="row" | former_hundred
| lands administrative division (not in all areas)
| cadastral
| cadastral
| Former name of the hundred (a type of [[Lands administrative divisions of Australia|lands administrative division]])
|  
| Not used in all areas.
| plain text, link
| <!-- Potential sources -->
| Plain text, can be wikilinked.
|-
|-
| scope="row" | division
! scope="row" | division
| lands administrative division (NSW only)
| cadastral
| cadastral
| Name of the division (a type of [[Lands administrative divisions of Australia|lands administrative division]])
| [[Lands administrative divisions of New South Wales]]
| Only used in NSW - [[lands administrative divisions of New South Wales]]
| plain text, link
| <!-- Potential sources -->
| Plain text, can be wikilinked.
|-
|-
| scope="row" | stategov
! scope="row" | stategov{{pb}}stategov2{{pb}}stategov3{{pb}}stategov4{{pb}}stategov5{{pb}}
| state government electorates
| all{{pb}}(recommended for city, suburb, town, lga, region)
| city, suburb, town, lga, region
| The place's state government electorate(s)
|  
| <!-- Notes-->
| plain text, link
| <!-- Potential sources -->
| Plain text, can be wikilinked.
|-
|-
| scope="row" | stategov2-stategov5
! scope="row" | fedgov{{pb}}fedgov2{{pb}}fedgov3{{pb}}fedgov4{{pb}}
| 2nd–5th state government electorates
| all{{pb}}(recommended for city, suburb, town, lga, region)
| city, suburb, town, lga, region
| The place's federal government electorate(s)
|  
| <!-- Notes-->
| plain text, link
| <!-- Potential sources -->
| Plain text, can be wikilinked.
|-
|-
| scope="row" | fedgov
! scope="row" | logo
| federal government electorates
| all{{pb}}(recommended for lga)
| city, suburb, town, lga, region
| Logo of place
|  
| <!-- Notes -->
| plain text, link
| For LGAs, these can be sourced from individual LGA websites.
| Image link (do not include "File:" or "Image:")
|-
|-
| scope="row" | fedgov2-fedgov4
! scope="row" | logo_upright
| 2nd–4th federal government electorates
| all{{pb}}(recommended for lga)
| city, suburb, town, lga, region
| Width of logo (in relation to default thumbnail size)
|  
| 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.
| plain text, link
| <!-- Potential sources -->
| 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" | logo
! scope="row" | logo_alt
| Logo of LGA
| all{{pb}}(recommended for lga)
| lga
| [[MOS:ALT|Alt text]] for the logo
| Individual LGA website
| <!-- Notes-->
| image link
| <!-- Potential sources -->
| Wikitext, can be wikilinked.
|-
|-
| scope="row" | logo_upright
! scope="row" | visitation_num
| width of LGA logo
| protected
| lga
| The number of visitors in a recent year
| 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.
| <!-- Notes-->
| number
| <!-- Potential sources -->
| Unformatted number
|-
|-
| scope="row" | visitation_num
! scope="row" | visitation_year
| number of visitors
| protected  
| protected
| The year when <code>visitation_num</code> was counted
| The number of visitors in a recent year if known.
| '''Prerequisite parameters:'''
| unformatted number, will be formatted automatically
* visitation_num
| <!-- Potential sources -->
| Unformatted year
|-
|-
| scope="row" | visitation_year
! scope="row" | visitation_footnotes
| year of <code>visitation_num</code>
| protected  
| protected
| Footnote demonstrating the number of visitors
| The year during which the number of visitors was counted
| '''Prerequisite parameters:'''
| raw year<br />plain text, do not wikilink
* visitation_num
| <!-- Potential sources -->
| Wikitext, can be wikilinked.{{pb}}Best when used with <nowiki><ref> </ref></nowiki> tags and a citation template
|-
|-
| scope="row" | visitation_footnotes
! scope="row" | managing_authorities
| reference(s) for visitation figure and year
| protected  
| protected
|
| wikitext (can contain links)<br />Best when used with <nowiki><ref> </ref></nowiki> tags and {{tl|cite web}}
|-
| scope="row" | managing_authorities
| authority that manages the area
| authority that manages the area
| protected
| Name of the authority or organisation that manages the area.
| Name of the authority or organisation that manages the area.
| wikitext (can contain links). If an unpiped link is to be used, wikilinking may be excluded as an existing article will be wikilinked automatically.
| <!-- Potential sources -->
| Wikitext, can be wikilinked. If no wikilink is given, the text will be automatically wikilinked.
|-
|-
| scope="row" | url
! scope="row" | url
| website address
| all{{pb}}(recommended for lga, protected)
| lga, protected
| URL for the location's individual website
| Individual website for the LGA or protected area<br />(Do not use for former LGAs)
| Do not use for former LGAs
| bare url. e.g. http://www.example.com
| <!-- Potential sources -->
| Bare url, e.g., http://www.example.com
|-
|-
| scope="row" | maxtemp
! scope="row" | maxtemp
| max average annual temperature
| all{{pb}}(recommended for suburb, town)
| suburb, town
| Maximum average annual temperature
| [http://www.bom.gov.au/climate/data/ Bureau of Meteorology]
| <!-- Notes -->
| number (°C)
| [http://www.bom.gov.au/climate/data/ Bureau of Meteorology's climate data]
| unformatted number, in °C
|-
|-
| scope="row" | maxtemp_footnotes
! scope="row" | maxtemp_footnotes
| footnote for references
| all{{pb}}(recommended for suburb, town)
| suburb, town
| Footnote demonstrating the maximum temperature
| [http://www.bom.gov.au/climate/data/ Bureau of Meteorology]
| <!-- Potential sources -->
| wikitext (can contain links)<br />Best when used with <nowiki><ref> </ref></nowiki> tags and {{tl|cite web}}
| [http://www.bom.gov.au/climate/data/ Bureau of Meteorology's climate data]
| 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
! scope="row" | mintemp
| min average annual temperature
| all{{pb}}(recommended for suburb, town)
| suburb, town
| Minimum average annual temperature
| [http://www.bom.gov.au/climate/data/ Bureau of Meteorology]
| <!-- Notes -->
| number (°C)
|[http://www.bom.gov.au/climate/data/ Bureau of Meteorology's climate data]
| unformatted number, in °C
|-
|-
| scope="row" | mintemp_footnotes
! scope="row" | mintemp_footnotes
| footnote for references
| all{{pb}}(recommended for suburb, town)
| suburb, town
| Footnote demonstrating the minimum temperature
| [http://www.bom.gov.au/climate/data Bureau of Meteorology]
| <!-- Notes -->
| wikitext (can contain links)<br />Best when used with <nowiki><ref> </ref></nowiki> tags and {{tl|cite web}}
|[http://www.bom.gov.au/climate/data/ Bureau of Meteorology's climate data]
| wikitext (can contain links){{pb}}Best when used with <nowiki><ref> </ref></nowiki> tags and a citation template
|-
|-
| scope="row" | rainfall
! scope="row" | rainfall
| average annual rainfall
| all{{pb}}(recommended for suburb, town)
| suburb, town
| Average annual rainfall
| [http://www.bom.gov.au/climate/data/ Bureau of Meteorology]
| <!-- Notes -->
| unformatted number (mm)
| [http://www.bom.gov.au/climate/data/ Bureau of Meteorology's climate data]
| unformatted number, in mm
|-
|-
| scope="row" | rainfall_footnotes
! scope="row" | rainfall_footnotes
| footnote for references
| all{{pb}}(recommended for suburb, town)
| suburb, town
| Footnote demonstrating the annual rainfall
| [http://www.bom.gov.au/climate/data/ Bureau of Meteorology]
| <!-- Notes -->
| wikitext (can contain links)<br />Best when used with <nowiki><ref> </ref></nowiki> tags and {{tl|cite web}}
| [http://www.bom.gov.au/climate/data/ Bureau of Meteorology's climate data]
| wikitext (can contain links){{pb}}Best when used with <nowiki><ref> </ref></nowiki> tags and a citation template
|-
|-
| scope="row" | near-n/ne/e/se/s/sw/w/nw
! 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 (suburb, lga)
| all{{pb}}(recommended for suburb, lga)
| suburb, lga
| Neighbours which share borders with the infobox's location
| Only places that share borders with the subject place should be included in these fields.
| 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.
| plain text, link
| <!-- Potential sources -->
| 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
! scope="row" | near
| all{{pb}}(recommended for suburb, lga)
| Central to neighbours
| Central to neighbours
| suburb, lga
| Replaces name (best used without any near-* e.g. to specify a section link to the main text for further info)
| replaces name (best used without any near-* e.g. to specify a #link to the main text for further info)
| <!-- Potential sources -->
| plain text, link
| plain text, link (ideally to a section of the article with further information)
|-
|-
| scope="row" | footnotes
! scope="row" | footnotes
| general footnotes
| all
|  
| General footnotes, used to provide footnotes supporting information in parameters without a dedicated parameter for footnotes.
| Additional footnotes for fields that do not have their own field for footnotes
| <!-- Notes -->
| wikitext (can contain links)<br />Best when used with <nowiki><ref> </ref></nowiki> tags.
| <!-- Potential sources -->
| wikitext (can contain links){{pb}}Best when used with <nowiki><ref> </ref></nowiki> tags.
|-
|-
| scope="row" | _noautocat
! scope="row" | _noautocat
| auto categorisation
| all
|  
| Prevents automatic categorisation
| In a very limited number of cases, the automatic categorisation built into this template may cause anomalies. 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, a hidden note should be included to explain why the parameter is being used in the article.
| This should only be used when absolutely necessary, when the automatic categorisation built into this template causes errors. A hidden note should be included to explain why the parameter is being used in the article.
| "yes" to not categorise, or<br />leave blank to categorise
| <!-- Potential sources -->
| "yes" to not categorise
leave blank to categorise
|}
|}


== Notes ==
==== Locator map generated by coordinates ====
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}}.


=== Type ===
{| class="wikitable plainrowheaders" style="background-color: white; width:100%;"
The infobox type affects the colour of the top bar of the infobox.
|+ {{tl|coord}}-generated map
{| class="wikitable plainrowheaders" style="text-align:center; width:26%;"
! 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="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>
! scope="row" | coordinates
! scope="col" style="padding:0 8px; width:7%;" | {{para|type}}
! colspan="5" | See {{slink||coordinates}} for details
|-
|-
| scope="row" style="background:#f9f6d2; color:#100;" width=10px | Light Goldenrod Yellow
! scope="row" | map_alt
| city
| all
|-.
| [[MOS:ALT|Alt text]] for the location map
| scope="row" style="background:#f9e2d2; color:#100;" width=10px | Antique White
| '''Prerequisite parameters:'''
| suburb
* <code>coordinates</code>
| wikitext (can contain links)
|-
|-
| scope="row" style="background:#e9f9d2; color:#100;" width=10px | Snow Flurry (greenish)
! scope="row" | map_type
| town
| all
| 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" style="background:#d2d5f9; color:#100;" width=10px | Lavender
! scope="row" | map_scale
| lga
| all
| Changes scale of map from the default
| '''Prerequisite parameters:'''
* <code>coordinates</code>
| Unformatted number. See {{tl|coord}} for examples.
|-
|-
| scope="row" style="background:#e6c4fb; color:#100;" width=10px | Mauve
! scope="row" | force_national_map
| region
| all{{pb}}(recommended for city, region, protected)
| 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" style="background:#ffffe0; color:#100;" width=10px | Light Yellow
! scope="row" | use_lga_map
| cadastral
| all{{pb}}(recommended for suburb, lga, protected)
| 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" style="background:#ffffff; color:#100;" width=10px | No colour
! scope="row" | alternative_location_map
| protected
| all
| 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
| 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
| all
| 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>
|}
 
==== 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" style="background:#ffffff; color:#100;" width=10px | No colour
! scope="row" | zoom
| "other"
| 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" style="background:#ccc; color:#100;" width=10px | Very Light Grey
! scope="row" | local_map_id
| Undefined
| 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".
|}
|}
{{reflist|group=lower-alpha}}
 
== Notes ==


===IUCN categories for protected areas===
===IUCN categories for protected areas===
Depending on the value of the <code>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.
Depending on the value given for {{para|iucn_category}}, 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.  


{| style="border:1px solid gray; width:300px; font-size: 90%; text-align: center; line-height: 1.5;"
{| style="border:1px solid gray; width:300px; font-size: 90%; text-align: center; line-height: 1.5;"
Line 603: Line 796:
| {{IUCN banner|VI}}
| {{IUCN banner|VI}}
|}
|}
<section begin=image_upright />
<section begin=image_upright />
=== Calculating "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.
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: Line 822:
{{div col end}}<section end=image_upright />
{{div col end}}<section end=image_upright />


=== Footnotes fields ===
=== Footnote and reference parameters ===
Any references should be placed within the respective "_footnotes" field and not within the field reserved solely for a numeric value. For example, place the reference used for the area of City X in the parameter {{{area_footnotes}}} and not in the {{{area}}} parameter. Otherwise, an error may result.
Any references to support a parameter reserved solely for a numeric value should be placed within the respective {{para|..._footnotes}} or {{para|..._ref}} parameters. For example, place the reference used for the area of City X in the {{para|area_footnotes}} parameters and not in the {{para|area}} parameter. Otherwise, an error may result.


=== Unformatted numbers and expression errors ===
=== Unformatted numbers and expression errors ===
Certain fields 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.
Certain parameters 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 ===
<!-- === 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]]. -->
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# ===
=== Dist#, Dir# and Location# ===
This is the distance and approximate direction from another location. The '#' is replaced with a number between 1 and 5. Therefore, distances for up to five locations can be listed using the range 'dist1' – 'dist5'. Direction from the locations can be specified using 'dir1' – 'dir5' and the locations can be listed as 'location1' – 'location5'. Each dist# must be partnered with an appropriate location#. Dir# is optional.
This is the distance and approximate direction to another location. The '#' is replaced with a number between 1 and 5. Therefore, five locations can be listed, using {{para|location1}} through {{para|location5}}. The distances can be listed using {{para|dist1}} through {{para|dist5}}. Direction from the locations is optional, and can be specified using {{para|dir1}} through {{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 ==
== Where to find information ==
* [[Wikipedia:WikiProject Australian places#Useful Resources|WikiProject Australian places – Useful resources]]
* [[Wikipedia:WikiProject Australian places#Useful Resources]]
* [http://www.abs.gov.au/ Australian Bureau of Statistics]
* [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://alga.asn.au/?ID=7030&Menu=56,199,415 LGA links for each state]
* [http://www.bom.gov.au/climate/data/ Bureau of Meteorology]
* [http://www.bom.gov.au/climate/data/ Climate Data Online at the Bureau of Meteorology]


== Tracking categories ==
== Tracking categories ==


=== Deprecated fields ===
* {{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.
* {{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 ===
=== 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 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>pop_year</code> or <code>pop2_year</code> fields are automatically added.
* {{Category link with count|Australian place articles with no population year}} – articles missing {{para|pop_year}} or {{para|pop2_year}} parameters are automatically added.
* {{Category link with count|Australian place articles with no population footnotes}} – Articles missing the <code>pop_footnotes</code> or <code>pop2_footnotes</code> fields are automatically added.
* {{Category link with count|Australian place articles with no population footnotes}} – articles missing {{para|pop_footnotes}} or {{para|pop2_footnotes}} parameters are automatically added.
* {{Category link with count|Australian place articles with density errors}}
* {{Category link with count|Australian place articles with density errors}}
* {{Category link with count|Pages using infobox Australian place with unknown parameters}} – Articles that include parameters that are not included in the infobox. This category may include articles with incorrectly spelled, but valid parameters.
* {{Category link with count|Pages using infobox Australian place with unknown parameters}} – articles using parameters that are not included in the infobox. This category may include articles with incorrectly spelled parameters.


=== Temporary ===
=== Temporary ===
Line 668: Line 866:
: [[Template:Infobox Australian place/Blank]]
: [[Template:Infobox Australian place/Blank]]
: [[Template:Infobox Australian place/Examples]]
: [[Template:Infobox Australian place/Examples]]
: [[Template:Infobox Australian place/doc]]
: [[Template:Infobox Australian place/doc]]<!--
<!-- : [[Template:Infobox Australian place/KML]] -->
: [[Template:Infobox Australian place/KML]] -->
: [[Template:Infobox Australian place/sandbox]]
: [[Template:Infobox Australian place/sandbox]]
: [[Template:Infobox Australian place/sandbox/doc]]
: [[Template:Infobox Australian place/sandbox/doc]]
: [[Template:Infobox Australian place/testcases]]
: [[Template:Infobox Australian place/testcases]]
<!-- All subpages
<!-- All subpages  
{{Special:PrefixIndex/Template:Infobox Australian place}} -->
{{Special:PrefixIndex/Template:Infobox Australian place}} -->


Line 690: Line 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'.",
"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",
"type": "string",
"required": false
"required": false,
"suggestedvalues": [
"city",
"suburb",
"town",
"lga",
"region",
"cadastral",
"protected",
"other"
]
},
},
"name": {
"name": {
Line 708: Line 916:
"description": "The abbreviation for the state the place in located in, which can be uppercase or lowercase.",
"description": "The abbreviation for the state the place in located in, which can be uppercase or lowercase.",
"type": "string",
"type": "string",
"required": false
"required": false,
"suggestedvalues": [
"sa",
"vic",
"nsw",
"qld",
"nt",
"wa",
"tas",
"act",
"jbt",
"ni",
"au"
]
},
},
"image": {
"image": {
Line 765: Line 986:
},
},
"alternative_location_map": {
"alternative_location_map": {
"label": "Alternative Location Map",
"label": "Locator Map Alternative Map File",
"description": "Forces the locator map to use this alternative map instead of the default state map.",
"description": "Forces the locator map to use this alternative map instead of the default state map.",
"type": "string",
"type": "wiki-file-name",
"required": false
"required": false
},
},
"force_national_map": {
"force_national_map": {
"label": "Force National Map",
"label": "Locator 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.",
"description": "Set to 'yes' to force the locator map to use the Australian map instead of the default state map.",
"type": "string",
"type": "string",
"required": false
"required": false,
"example": "yes",
"default": "no",
"suggestedvalues": [
"yes",
"no"
]
},
},
"use_lga_map": {
"use_lga_map": {
"label": "Force LGA Map",
"label": "Locator 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.",
"description": "Set to 'yes' to force the locator map to use the LGA map instead of the default state one.",
"type": "string",
"type": "string",
"required": false
"required": false,
"example": "yes",
"default": "no",
"suggestedvalues": [
"yes",
"no"
]
},
},
"relief": {
"relief": {
"label": "Relief Map",
"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.",
"description": "Set to 'yes' to make the locator map use a relief map.",
"type": "string",
"type": "string",
"required": false
"required": false,
"example": "yes",
"default": "no",
"suggestedvalues": [
"yes",
"no"
]
},
},
"pushpin_map_caption": {
"pushpin_map_caption": {
"label": "Pushpin Map Caption",
"label": "Locator Map Pushpin Caption",
"description": "The caption for the locator map's pushpin. Defaults to the place name.",
"description": "The caption for the locator map's pushpin.",
"type": "string",
"type": "string",
"required": false
"required": false,
"example": "Testville Testplace",
"default": "value of the 'name' parameter"
},
},
"pushpin_label_position": {
"pushpin_label_position": {
"label": "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'.",
"description": "Where the caption should appear relative to the locator map's pushpin.",
"type": "string",
"type": "string",
"default": "right",
"default": "right",
"required": false
"required": false,
"example": "top",
"suggestedvalues": [
"left",
"right",
"top",
"bottom"
]
},
},
"map_alt": {
"map_alt": {
"label": "Locator Map Alt Text",
"label": "Locator Map Alternative Text",
"description": "Alt text for the locator map.",
"description": "Alternative text for the locator map.",
"type": "string",
"type": "string",
"required": false
"required": false
Line 809: Line 1,057:
"pop": {
"pop": {
"label": "Population",
"label": "Population",
"description": "The total population of the place.",
"description": "The total population of the place. If left empty, population data will be displayed from Wikidata (for appropriate geography).",
"type": "number",
"type": "number",
"required": false
"required": false
Line 1,277: Line 1,525:
"type": "string",
"type": "string",
"required": false
"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>
</templatedata>
{{Collapse bottom}}
{{Collapse bottom}}
<includeonly>{{Sandbox other|
<includeonly>{{Sandbox other|
| <!-- Categories below this line, please; interwikis at Wikidata -->
| <!-- Categories below this line, please; interwikis at Wikidata -->
{{DEFAULTSORT:Australian Place}}
{{DEFAULTSORT:Australian Place}}
[[Category:Australia infobox templates|Place]]
[[Category:Australia place infobox templates|Place]]
[[Category:City infobox templates]]
[[Category:Templates that add a tracking category|{{PAGENAME}}]]
[[Category:Templates that add a tracking category|{{PAGENAME}}]]
}}</includeonly>
}}</includeonly>

Revision as of 22:21, March 2, 2023


Template:Infobox Australian place/pagelinks

Purpose

{{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 areas, cadastral units, protected areas 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 {{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 population density (in the |density= parameter) is not specified, this will be automatically generated based on the |pop= and |area= parameters. 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 parameters, Template:Infobox Australian place/cleanup can be substituted. This will reformat the infobox and remove invalid parameters.

Usage

To use this template

  1. Copy the relevant blank template from the Blank infobox page into the beginning of your document, remembering to put the code on the line directly before the start of the article's lead.
  2. Enter values for the parameters as outlined under § Parameters, particularly |type= and |state=. Parameters left blank will automatically be hidden.
  3. Preview the page with your edits.
  4. Save the page with an appropriate edit summary (e.g., "Added {{[[Template:Infobox Australian place|Infobox Australian place]]}}", which will display as, "Added {{Infobox Australian place}}" ).

Examples

Parameters

Both type and state are required parameters. All other parameters used by this template are optional.

Required

These parameters must be set for every infobox as they affect the behaviour of many other parameters.

The |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.

Use of the |type= parameter
Accepted value Description Colour of top bar[a]
city A city. Light Goldenrod Yellow
suburb A suburb, a form of administrative region generally used in cities and towns. Antique White
town A town or other settlement. Snow Flurry
lga An 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.

Note that the ACT does not have any system of local government, and therefore does not have LGAs.

Lavender
region Mauve
cadastral Light Yellow
protected No colour

(An IUCN category can be used to display a coloured banner - see § IUCN categories for protected areas.)

other No colour
undefined Occurs when the parameter has been left blank. Very Light Grey

The |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 au (i.e., Australia).

Use of the |state= parameter
Accepted value State or territory
act Australian Capital Territory (ACT)
nsw New South Wales (NSW)
nt Northern Territory (NT)
qld Queensland (Qld or QLD)
sa South Australia (SA)
tas Tasmania (Tas or TAS)
vic Victoria (Vic or VIC)
wa Western Australia (WA)
jbt Jervis Bay Territory (JBT)
ni Norfolk Island (NI)
au Australia - use when no other value is applicable.

Optional

Optional parameters
Parameter Available for |type= Description Notes Potential sources Values
name all Name of infobox's place 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.

native_name all Settlement name in local language(s), if different from the English name For indicating the official/defacto name in a language other than English By default, the native name is displayed in italics, followed by the language's name in parentheses.
native_name_lang all ISO 639-1 code, e.g. nys for Noongar, for the Indigenous Australian language, if available If there are names in multiple Indigenous Australian languages, enter those names into the |native_name= parameter using {{lang}} instead. plain text
city ??Template:Pb(recommended for suburb) City name Name will be auto-linked if no wikilink is defined.Template:PbIn some cases it may be desirable to include the name of a non-city here. List of cities in Australia plain text, may be linked.
iucn_category protected The 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 below. Plain text, do not wikilink. Accepted values are:
  • Ia
  • Ib
  • II
  • III
  • IV
  • V
  • VI
iucn_ref protected A reference demonstrating the IUCN category Prerequisite parameters:
  • iucn_category
Wikitext (can contain links).Template:PbBest when used with <ref></ref> tags and a citation template
image all Image of the locality For cadastral units, this is typically a map showing its location within the state or territory. filename
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 help below for guidance on determining the value to be used, and WP:IMGSIZE for rationale. Unformatted number. If not specified, the image width defaults to 1.23, which is approximately 270px for readers that haven't changed their default thumbnail size at Special:Preferences.
caption all Caption for the locality image wikitext (can contain links)
image_alt all Alt text for the image wikitext (can contain links)
image2 all 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 Category:Australia location map modules. filename
image2_upright all Width of the second 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 help below for guidance on determining the value to be used, and WP:IMGSIZE for rationale. Unformatted number. If not specified, the image width defaults to 1.23, which is approximately 270px for readers that haven't changed their default thumbnail size at Special:Preferences.
caption2 all caption for the second locality image wikitext (can contain links)
image2_alt all Alt text for the image wikitext (can contain links)
nearest_town_or_city protected nearest town or city to the area 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 {{Plainlist}}. Wikitext (can contain links)
coordinates ??Template:Pb(recommended for all) Displays coordinates of the locality. Triggers a map to automatically generate (can be adjusted in various ways). For coordinates, use {{coord}} with display=inline,title. Please do not be overly precise.

The automatic map will be of the state, with a pushpin identifying the position specified in {{coord}}. Parameters to adjust or toggle the map are under § Locator map generated by coordinates. A second map can be generated using wikidata as well (see § Locator map generated by wikidata).

Example:
{{Coord|32|45|41.3|S|151|44|38.6|E|type:city_region:AU-NSW|display=inline,title}}
pop ??Template:Pb(recommended for all except protected) Population statistic (use approximate if |type=region) If left empty, population data will be displayed from Wikidata (for appropriate geography). See Notes below for more information. ABS (generic)
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.

pop_year ??Template:Pb(recommended for all except protected) Year applicable to the population figure Prerequisite parameters:
  • pop
ABS (generic)
2016 Census QuickStats
Number. When the population is for a census year, use {{CensusAU}}
pop_footnotes ??Template:Pb(recommended for all except protected) Footnote demonstrating the population statistic Prerequisite parameters:
  • pop
ABS (generic)
2016 Census QuickStats
wikitext (can contain links)Template:PbBest when used with <ref></ref> tags and {{Census 2016 AUS}}
pop2 ??Template:Pb(recommended for all except protected) Second population statistic (use approximate if |type=region) See Clarence Town, New South Wales for an example of when a second population figure is useful.Template:PbPrerequisite parameters:
  • pop
ABS (generic)
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.

pop2_year ??Template:Pb(recommended for all except protected) Year applicable to the second population figure Prerequisite parameters:
  • pop2
ABS (generic)
2016 Census QuickStats
Number. When the population is for a census year, use {{CensusAU}}
pop2_footnotes ??Template:Pb(recommended for all except protected) Footnote demonstrating the second population statistic Prerequisite parameters:
  • pop2
ABS (generic)
2016 Census QuickStats
wikitext (can contain links)Template:PbBest when used with <ref></ref> tags and {{Census 2016 AUS}}
poprank ??Template:Pb(recommended for city) population rank Prerequisite parameters:
  • pop
List of cities in Australia by population number
density allTemplate:Pb(recommended for city, region) population density Will auto-calculate if both pop and area are defined ABS unformatted number, in people/km²
density_footnotes allTemplate:Pb(recommended for city, region) population density footnote for references ABS wikitext (can contain links)Template:PbBest when used with <ref></ref> tags and a citation template
established all Date the location was established If the exact date is unknown, a year will suffice date
established_footnotes all Reference demonstrating the establishment date wikitext (can contain links)Template:PbBest when used with <ref> </ref> tags and a citation template
abolished all Date the location was abolished If the exact date is unknown, a year will suffice date
gazetted all Date the place name was gazetted date
postcode allTemplate:Pb(recommended for suburb, town) Postcode(s) for the place Australia Post postcode search tool number
elevation allTemplate:Pb(recommended for suburb, town) The elevation, measured from sea level in metres unformatted number in metres
elevation_footnotes allTemplate:Pb(recommended for suburb, town) Footnote demonstrating the elevation wikitext (can contain links)Template:PbBest when used with <ref> </ref> tags and a citation template
area all The area of the location ABS unformatted number in km2
area_footnotes all Footnote demonstrating the area ABS wikitext (can contain links)Template:PbBest when used with <ref> </ref> tags and a citation template
timezone allTemplate:Pb(recommended for city, suburb, town, lga, region) Timezone of the location See Time in Australia Plain text, linked. Either the full name or the abbreviation can be used (e.g., either [[Australian Western Standard Time]] or [[Australian Western Standard Time|AWST]] can be used).
utc allTemplate:Pb(recommended for city, suburb, town, lga, region) UTC offset of the timezone "+" followed by number, e.g., +8:00 (for AWST)
timezone-dst allTemplate:Pb(recommended for city, suburb, town, lga, region) Daylight saving timezone NT, Qld and WA are the only internal states and territories which do not have any daylight saving timezone. Daylight saving time in Australia Plain text, linked. Either the full name or the abbreviation can be used (e.g., either [[Australian Eastern Daylight Time]] or [[Australian Eastern Daylight Time|AEDT]] can be used).
utc-dst allTemplate:Pb(recommended for city, suburb, town, lga, region) UTC offset of the daylight saving timezone NT, Qld and WA are the only internal states and territories which do not have any daylight saving timezone. "+" followed by number, e.g., +11:00 (for AEDT)
mayor lga Mayor of the LGA Name of the mayor only. Do not include titles, postnominals or political party information. Plain text
mayortitle lga Title of the mayor Wikitext (can be wikilinked), or blank.

If left blank, will default to "Mayor".

location# (up to location5) allTemplate:Pb(recommended for city, suburb, town) Specified location(s) to display the distance and direction to Normally other cities or population centres.Template:PbSee § Notes below Maps such as Google Earth Plain text, may be wikilinked. If no wikilink is given, the text will be automatically wikilinked.
dist# (up to dist5) allTemplate:Pb(recommended for city, suburb, town) The distance by road (not direct) to the specified location(s) Distance by road, not direct.Template:PbSee § Notes below Maps such as Google earth, whereis, Visit Victoria route planner unformatted number in km
dir# (up to dir5) allTemplate:Pb(recommended for city, suburb, town) The direction (preferably cardinal) of the specified location(s), normally other cities or population centres See § Notes below Plain text. Normally a cardinal direction, either as an initialism (e.g. N, SE, NWW) or the word in lower case (per MOS:COMPASS; e.g., north, south-east, north-west-west).
lga allTemplate:Pb(recommended for city, suburb, town) Name of the local government area This parameter will display in a way that makes little sense when |type=lga, but it can be used if necessary. NSW Geographical Names Board Plain text, may be wikilinked. If no wikilink is given, the text will be automatically wikilinked.
lga2Template:Pblga3Template:Pblga4Template:Pblga5 allTemplate:Pb(recommended for city, suburb, town) Names of additional LGAs This parameter displays in a way that makes no sense when |type=lga, but it can be used if necessary.

If more than 5 LGAs are required, use {{plainlist}} as necessary. See Hunter Region for an example.

Plain text, can be wikilinked. If no wikilink is given, the text will be automatically wikilinked.
seat allTemplate:Pb(recommended for lga) Council seat of the LGA Plain text, can be wikilinked. If no wikilink is given, the text will be automatically wikilinked.
region allTemplate:Pb(recommended for city, suburb, town, lga, cadastral, protected) Name of region location is in Plain text, can be wikilinked. If no wikilink is given, the text will be automatically wikilinked.
county allTemplate:Pb(recommended for city, suburb, town, lga) Name of the county (a type of lands administrative division) Not used in all areas. NSW Geographical Names Board Plain text, can be wikilinked. If no wikilink is given, the text will be automatically wikilinked.
parish allTemplate:Pb(recommended for city, suburb, town) Name of the parish (a type of lands administrative division) Only used in NSW, Qld and Vic. NSW Geographical Names Board Plain text, can be wikilinked.
hundred cadastral Name of the hundred (a type of lands administrative division) Not used in all areas. Plain text, can be wikilinked.
former_hundred cadastral Former name of the hundred (a type of lands administrative division) Not used in all areas. Plain text, can be wikilinked.
division cadastral Name of the division (a type of lands administrative division) Only used in NSW - lands administrative divisions of New South Wales Plain text, can be wikilinked.
stategovTemplate:Pbstategov2Template:Pbstategov3Template:Pbstategov4Template:Pbstategov5Template:Pb allTemplate:Pb(recommended for city, suburb, town, lga, region) The place's state government electorate(s) Plain text, can be wikilinked.
fedgovTemplate:Pbfedgov2Template:Pbfedgov3Template:Pbfedgov4Template:Pb allTemplate:Pb(recommended for city, suburb, town, lga, region) The place's federal government electorate(s) Plain text, can be wikilinked.
logo allTemplate:Pb(recommended for lga) Logo of place For LGAs, these can be sourced from individual LGA websites. Image link (do not include "File:" or "Image:")
logo_upright allTemplate:Pb(recommended for lga) Width of logo (in relation to default thumbnail size) The size should not be set to a value that would result in an logo width greater than 300px. See help below for guidance on determining the value to be used, and WP:IMGSIZE for rationale. Unformatted number. If not specified, the logo width defaults to 1.23, which is approximately 270px for readers that haven't changed their default thumbnail size at Special:Preferences.
logo_alt allTemplate:Pb(recommended for lga) Alt text for the logo Wikitext, can be wikilinked.
visitation_num protected The number of visitors in a recent year Unformatted number
visitation_year protected The year when visitation_num was counted Prerequisite parameters:
  • visitation_num
Unformatted year
visitation_footnotes protected Footnote demonstrating the number of visitors Prerequisite parameters:
  • visitation_num
Wikitext, can be wikilinked.Template:PbBest when used with <ref> </ref> tags and a citation template
managing_authorities protected authority that manages the area Name of the authority or organisation that manages the area. Wikitext, can be wikilinked. If no wikilink is given, the text will be automatically wikilinked.
url allTemplate:Pb(recommended for lga, protected) URL for the location's individual website Do not use for former LGAs Bare url, e.g., http://www.example.com
maxtemp allTemplate:Pb(recommended for suburb, town) Maximum average annual temperature Bureau of Meteorology's climate data unformatted number, in °C
maxtemp_footnotes allTemplate:Pb(recommended for suburb, town) Footnote demonstrating the maximum temperature Bureau of Meteorology's climate data Wikitext, can contain templates, html, wikilinks, external links, etc.Template:PbBest when used with <ref> </ref> tags and a citation template
mintemp allTemplate:Pb(recommended for suburb, town) Minimum average annual temperature Bureau of Meteorology's climate data unformatted number, in °C
mintemp_footnotes allTemplate:Pb(recommended for suburb, town) Footnote demonstrating the minimum temperature Bureau of Meteorology's climate data wikitext (can contain links)Template:PbBest when used with <ref> </ref> tags and a citation template
rainfall allTemplate:Pb(recommended for suburb, town) Average annual rainfall Bureau of Meteorology's climate data unformatted number, in mm
rainfall_footnotes allTemplate:Pb(recommended for suburb, town) Footnote demonstrating the annual rainfall Bureau of Meteorology's climate data wikitext (can contain links)Template:PbBest when used with <ref> </ref> tags and a citation template
near-nTemplate:Pbnear-neTemplate:Pbnear-eTemplate:Pbnear-seTemplate:Pbnear-sTemplate:Pbnear-swTemplate:Pbnear-wTemplate:Pbnear-nw allTemplate:Pb(recommended for suburb, lga) Neighbours which share borders with the infobox's location 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. 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 |near-e=[[City of Canning]] (or [[City of Canning|Canning]], to save space). The City of Melville is also neighboured at its north by the Swan River (Western Australia). This would be entered as |near-n=''[[Swan River (Western Australia)|Swan River]]'' (in italics as it is not another LGA)

near allTemplate: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) plain text, link (ideally to a section of the article with further information)
footnotes all General footnotes, used to provide footnotes supporting information in parameters without a dedicated parameter for footnotes. wikitext (can contain links)Template:PbBest when used with <ref> </ref> tags.
_noautocat all Prevents automatic categorisation This should only be used when absolutely necessary, when the automatic categorisation built into this template causes errors. A hidden note should be included to explain why the parameter is being used in the article. "yes" to not categorise

leave blank to categorise

Locator map generated by coordinates

The recommended and most common locator map is auto-generated by |coordinates=, but can be toggled off using |map_type=nomap (see in table). All of the following parameters require |coordinates= to be properly set using {{coord}}.

{{coord}}-generated map
Parameter Available for |type= Description Notes Values
coordinates See § coordinates for details
map_alt all Alt text for the location map Prerequisite parameters:
  • coordinates
wikitext (can contain links)
map_type all Toggles whether a location map is automatically generated Prerequisite parameters:
  • coordinates
Available options are:
  • nomap to suppress automatically generated location map
  • auto or leave it blank, to allow the automatically generated location map
map_scale all Changes scale of map from the default Prerequisite parameters:
  • coordinates
Unformatted number. See {{coord}} for examples.
force_national_map allTemplate:Pb(recommended for city, region, protected) Forces locator map to use a map of Australia as a whole Prerequisite parameters:
  • coordinates
yes to force map of Australia, or leave blank. Plain text, do not link
use_lga_map allTemplate:Pb(recommended for suburb, lga, protected) 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.Template:PbPrerequisite parameters:
  • coordinates
  • state
  • lga
yes to force map of the LGA, or leave blank
alternative_location_map all 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 |lga= cannot be set.Template:PbPrerequisite parameters:
  • coordinates
Name of the alternative map (Category:Australia location map modules includes all available maps)
relief all Forces relief-style map, if available Prerequisite parameters:
  • coordinates
yes to force relief-style map, or leave blank
pushpin_map_caption all The caption on the pushpin (the location of the coordinates) Prerequisite parameters:
  • coordinates
Plain text or wikitext
pushpin_label_position all Position of the pushpin's caption, in relation to the pushpin Prerequisite parameters:
  • coordinates
left, right, top, bottomTemplate:PbIf this is not set, the default is left

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 |coordinates= parameter. It will display below the § Locator map generated by coordinates map.

Wikidata-generated map
Parameter Available for |type= Description Notes Values
local_map all Enable map of local area, as defined by wikidata This map will display below the map generated by |coordinates= 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. yes will display the map
zoom all Change zoom size of local_map For more information, see {{Infobox mapframe}} instructions.Template:PbPrerequisite parameters:
  • local_map
Numeric value between 1 and 18. If left blank, zoom size defaults to 10.
local_map_id allTemplate: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 Wikidata for an IDTemplate:PbPrerequisite parameters:
  • local_map
An unlinked wikidata ID, e.g. Q595259 for Raymond Terrace. The ID will begin with "Q".

Notes

IUCN categories for protected areas

Depending on the value given for |iucn_category=, 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.

Template:IUCN banner
Template:IUCN banner
Template:IUCN banner
Template:IUCN banner
Template:IUCN banner
Template:IUCN banner
Template:IUCN banner


Calculating "image_upright"

The image_upright parameter, and image2_upright and logo_upright 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: thumb|300px), as this forces a fixed image width.

Scalable images respect the user's base preference, which may have been selected for that user's particular devices. Module:InfoboxImage, which is used in this infobox, accommodates the use of scaling. However, setting the appropriate scale is slightly more complex than setting a raw "px" value. This guide provides a quick conversion table to make the process of setting a scale easier. It is based on a default thumbnail setting of 220px.

  • 170pxupright=0.75
  • 180pxupright=0.8
  • 190pxupright=0.85
  • 200pxupright=0.9
  • 210pxupright=0.95
  • 220pxupright=1
  • 230pxupright=1.05
  • 240pxupright=1.1
  • 250pxupright=1.15
  • 260pxupright=1.2
  • 270pxupright=1.23
  • 280pxupright=1.25
  • 290pxupright=1.3
  • 300pxupright=1.35

Footnote and reference parameters

Any references to support a parameter reserved solely for a numeric value should be placed within the respective |..._footnotes= or |..._ref= parameters. For example, place the reference used for the area of City X in the |area_footnotes= parameters and not in the |area= parameter. Otherwise, an error may result.

Unformatted numbers and expression errors

Certain parameters 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.

Dist#, Dir# and Location#

This is the distance and approximate direction to another location. The '#' is replaced with a number between 1 and 5. Therefore, five locations can be listed, using |location1= through |location5=. The distances can be listed using |dist1= through |dist5=. Direction from the locations is optional, and can be specified using |dir1= through |dir5=.

Population from Wikidata

If the |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

Tracking categories

Deprecated parameters

Errors

Temporary

Subpages

Template:Infobox Australian place
Template:Infobox Australian place/Blank
Template:Infobox Australian place/Examples
Template:Infobox Australian place/doc
Template:Infobox Australian place/sandbox
Template:Infobox Australian place/sandbox/doc
Template:Infobox Australian place/testcases

Microformat

The HTML markup produced by this template includes an hCard microformat, which makes the place-name and location parsable by computers, either acting automatically to catalogue articles across Wikipedia, or via a browser tool operated by a person, to (for example) add the subject to an address book. Within the hCard is a Geo microformat, which additionally makes the coordinates (latitude & longitude) parsable, so that they can be, say, looked up on a map, or downloaded to a GPS unit. For more information about the use of microformats on Wikipedia, please see the microformat project.

Sub-templates

If the place or venue has "established", "founded", "opened" or similar dates, use {{start date}} for the earliest of those dates unless the date is before 1583 CE.

If it has a URL, use {{URL}}.

Please do not remove instances of these sub-templates.

Classes

hCard uses HTML classes including:

  • adr
  • agent
  • category
  • county-name
  • extended-address
  • fn
  • label
  • locality
  • nickname
  • note
  • org
  • region
  • street-address
  • uid
  • url
  • vcard

Geo is produced by calling {{coord}}, and uses HTML classes:

  • geo
  • latitude
  • longitude

Please do not rename or remove these classes nor collapse nested elements which use them.

Precision

When giving coordinates, please use an appropriate level of precision. Do not use {{coord}}'s |name= parameter.

TemplateData

TemplateData documentation used by VisualEditor and other tools
Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Infobox Australian place

Display information about a place in Australia in a standard infobox format.

Template parameters

ParameterDescriptionTypeStatus
Typetype

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'.

Suggested values
city suburb town lga region cadastral protected other
Stringoptional
Namename

The name of the place. If this parameter is left empty, the infobox title will be blank, while if this parameter is not called at all, it defaults to the name of the article.

Stringoptional
Citycity

The name of the city the place is located in, which is automatically wikilinked.

Stringoptional
State Abbreviationstate

The abbreviation for the state the place in located in, which can be uppercase or lowercase.

Suggested values
sa vic nsw qld nt wa tas act jbt ni au
Stringoptional
Imageimage

A filename for a generic image of the locality.

Stringoptional
Image Widthimage_upright

Override the default width of the image, scalable.

Numberoptional
Captioncaption

A caption for the image.

Stringoptional
Image Alt Textimage_alt

Alt text for the image.

Stringoptional
Image 2image2

A filename for a second image of the locality. Usually used for maps, especially in LGA articles.

Stringoptional
Image 2 Widthimage2_upright

Override the default width of the second image, scalable.

Numberoptional
Image 2 Captioncaption2

A caption for the second image.

Stringoptional
Image 2 Alt Textimage2_alt

Alt text for the second image.

Stringoptional
Coordinatescoordinates

Coordinates of the locality. Use {{coord}} with 'display=inlines,title'. Please don't be overly precise.

Stringoptional
Locator Map Alternative Map Filealternative_location_map

Forces the locator map to use this alternative map instead of the default state map.

Fileoptional
Locator Map Set to National Mapforce_national_map

Set to 'yes' to force the locator map to use the Australian map instead of the default state map.

Suggested values
yes no
Default
no
Example
yes
Stringoptional
Locator Map Set to LGA Mapuse_lga_map

Set to 'yes' to force the locator map to use the LGA map instead of the default state one.

Suggested values
yes no
Default
no
Example
yes
Stringoptional
Locator Map Set to Relief Maprelief

Set to 'yes' to make the locator map use a relief map.

Suggested values
yes no
Default
no
Example
yes
Stringoptional
Locator Map Pushpin Captionpushpin_map_caption

The caption for the locator map's pushpin.

Default
value of the 'name' parameter
Example
Testville Testplace
Stringoptional
Locator Map Pushpin Label Positionpushpin_label_position

Where the caption should appear relative to the locator map's pushpin.

Suggested values
left right top bottom
Default
right
Example
top
Stringoptional
Locator Map Alternative Textmap_alt

Alternative text for the locator map.

Stringoptional
Local Map Enabledlocal_map

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.

Suggested values
yes no
Default
no
Example
yes
Stringsuggested
Local Map Zoom Levelzoom

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.

Suggested values
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
Default
10
Example
10
Numbersuggested
Local Map Wikidata Item IDlocal_map_id

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
Stringoptional
Populationpop

The total population of the place. If left empty, population data will be displayed from Wikidata (for appropriate geography).

Numberoptional
Population Yearpop_year

The year in which the population measurement was taken. {{CensusAU}} may be used.

Numberoptional
Population Footnotespop_footnotes

Footnotes for the population figure. Please use references here.

Stringoptional
Population 2pop2

A second total population measurement.

Numberoptional
Population 2 Yearpop2_year

The year in which the second population measurement was taken. {{CensusAU}} may be used.

Numberoptional
Population 2 Footnotespop2_footnotes

Footnotes for the second population figure. Please use references here.

Stringoptional
Population Rankpoprank

Only for cities. The total population rank of the city.

Numberoptional
Population Densitydensity

The population density of the place.

Numberoptional
Population Density Footnotesdensity_footnotes

Footnotes for the population density figure. Please use references here.

Stringoptional
Establishedestablished est

The date the place was established.

Stringoptional
Abolishedabolished

The date the place was abolished.

Stringoptional
Gazettedgazetted

The date the place was gazetted.

Stringoptional
Postcodepostcode

The postcode of the place.

Numberoptional
Elevationelevation

Elevation of the place above sea level in metres.

Numberoptional
Elevation Footnoteselevation_footnotes

Footnotes for the elevation figure.

Stringoptional
Areaarea

Area of the place in square kilometres.

Numberoptional
Area Footnotesarea_footnotes

Footnotes for the area figure.

Stringoptional
Time Zonetimezone

The time zone the place is located in.

Stringoptional
UTC Timeutc

The difference between UTC time and the time zone the place resides in, in the format '+' followed by a number.

Stringoptional
Summer Time Zone (DST)timezone-dst

The summer time zone the place is located in.

Stringoptional
Summer UTC Time (DST)utc-dst

The difference between UTC time and the time zone the place resides in in the summer, in the format '+' followed by a number.

Stringoptional
Mayormayor

LGA only. The name of the mayor of the LGA.

Stringoptional
Mayor Titlemayortitle

LGA only. The title of the mayor of the LGA. Defaults to 'Mayor'.

Stringoptional
Distance 1dist1

The distance by road in kilometres from location 1 to the place.

Numberoptional
Direction 1dir1

The compass direction from location 1 to the place. Examples are 'NW', 'E', and 'SSE'.

Stringoptional
Location 1location1

Another location to compare with this one.

Stringoptional
Distance 2dist2

The distance by road in kilometres from location 2 to the place.

Numberoptional
Direction 2dir2

The compass direction from location 2 to the place. Examples are 'NW', 'E', and 'SSE'.

Stringoptional
Location 2location2

Another location to compare with this one.

Stringoptional
Distance 3dist3

The distance by road in kilometres from location 3 to the place.

Numberoptional
Direction 3dir3

The compass direction from location 3 to the place. Examples are 'NW', 'E', and 'SSE'.

Stringoptional
Location 3location3

Another location to compare with this one.

Stringoptional
Distance 4dist4

The distance by road in kilometres from location 4 to the place.

Numberoptional
Direction 4dir4

The compass direction from location 4 to the place. Examples are 'NW', 'E', and 'SSE'.

Stringoptional
Location 4location4

Another location to compare with this one.

Stringoptional
Distance 5dist5

The distance by road in kilometres from location 5 to the place.

Numberoptional
Direction 5dir5

The compass direction from location 5 to the place. Examples are 'NW', 'E', and 'SSE'.

Stringoptional
Location 5location5

Another location to compare with this one.

Stringoptional
Local Government Area (LGA)lga

The name of the local government area of the place.

Stringoptional
Local Government Area (LGA) 2lga2

Another local government area of the place.

Stringoptional
Local Government Area (LGA) 3lga3

Another local government area of the place.

Stringoptional
Local Government Area (LGA) 4lga4

Another local government area of the place.

Stringoptional
Local Government Area (LGA) 5lga5

Another local government area of the place.

Stringoptional
Local Government Area (LGA) Seatseat

The local government area's seat of government.

Stringoptional
Regionregion

The region the LGA is in.

Stringoptional
Countycounty

The county the place is in.

Stringoptional
Parishparish

The parish the place is in.

Stringoptional
Hundredhundred

The hundred the place is in.

Stringoptional
Former Hundredformer_hundred

The former hundred the place is in.

Stringoptional
Divisiondivision

The division the place is in.

Stringoptional
Local Governmentlocalgov

The local government electorate of the place.

Stringoptional
State Governmentstategov

The state government electorate of the place.

Stringoptional
State Government 2stategov2

Another state government electorate of the place.

Stringoptional
State Government 3stategov3

Another state government electorate of the place.

Stringoptional
State Government 4stategov4

Another state government electorate of the place.

Stringoptional
State Government 5stategov5

Another state government electorate of the place.

Stringoptional
Federal Governmentfedgov

The federal government electorate of the place.

Stringoptional
Federal Government 2fedgov2

Another federal government electorate of the place.

Stringoptional
Federal Government 3fedgov3

Another federal government electorate of the place.

Stringoptional
Federal Government 4fedgov4

Another federal government electorate of the place.

Stringoptional
LGA Logologo

A filename for the logo, if any, of the place's LGA.

Stringoptional
LGA Logo Sizelogosize

Override the default width of the LGA logo, which is 175px.

Numberoptional
LGA URLurl

The bare URL for the place's LGA's website.

Stringoptional
Maximum Temperaturemaxtemp

The maximum average annual temperature of the place in degrees Celsius.

Numberoptional
Maximum Temperature Footnotesmaxtemp_footnotes

Footnotes for the maximum temperature figure. Please use references here.

Stringoptional
Minimum Temperaturemintemp

The minimum average annual temperature of the place in degrees Celsius.

Numberoptional
Minimum Temperature Footnotesmintemp_footnotes

Footnotes for the minimum temperature figure. Please use references here.

Stringoptional
Rainfallrainfall

The average annual rainfall of the place in millimetres.

Numberoptional
Rainfall Footnotesrainfall_footnotes

Footnotes for the rainfall figure.

Stringoptional
Central Near Gridnear

Replace the default text in the center of the 'Near' grid (the name of the place).

Stringoptional
North Near Gridnear-n

The nearest neighbour of the place to the north.

Stringoptional
Northeast Near Gridnear-ne

The nearest neighbour of the place to the northeast.

Stringoptional
East Near Gridnear-e

The nearest neighbour of the place to the east.

Stringoptional
Southeast Near Gridnear-se

The nearest neighbour of the place to the southeast.

Stringoptional
South Near Gridnear-s

The nearest neighbour of the place to the south.

Stringoptional
Southwest Near Gridnear-sw

The nearest neighbour of the place to the southwest.

Stringoptional
West Near Gridnear-w

The nearest neighbour of the place to the west.

Stringoptional
Northwest Near Gridnear-nw

The nearest neighbour of the place to the northwest.

Stringoptional
Native namenative_name

Name in the local language if different to 'name'.

Lineoptional
Native name languagenative_name_lang

ISO 639-1 code for the native language, e.g. "fr" for French.

Stringoptional