Template:Infobox Australian place/doc

Revision as of 23:35, April 16, 2023 by Johnrdorazio (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


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