Template:Sandbox/Innesw/Infobox Australian place-upgrade/doc

Draft
This is the draft documentation page for the updated module. It is the proposed final version, but is still subject to change.


Purpose

edit

{{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

edit

To use this template

edit
  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

edit

Parameters

edit

Required

edit

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 background colour of the infobox. The entered values for this parameter should be plain, unlinked text.

Use of the |type= parameter
Accepted value Description Colour of infobox
background
city A city.  
town A town.  
suburb The whole of a (generally urban) named postal-address area in a city or town.  
locality The whole of a (generally rural) named postal-address area.  
townandlocality A town, and the whole of a (generally rural) named postal-address area that surrounds the town and that shares its name.  
settlement A settled place that is too small to be a town.  
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.

 
region  
cadastral A land area defined for purposes of land ownership registration.  
protected A land area designated for the protection of natural or cultural heritage. No colour

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

other No colour
undefined or invalid Occurs when the parameter has been left blank, or contains a value that is not recognised.  

The |state= parameter defines the state or territory of the place'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

edit
Optional parameters
Parameter Available for |type= Description Notes Potential sources Values
name all Name of infobox's place If not present or blank, the infobox title will not be shown. If specified, will be used as the text for the URL, and in the table of nearest neighbours. Plain text.
native_name all Placename in local Indigenous Australian language(s) Name of a place in the local Aboriginal or Torres Strait Islander language, if different from name.

Native is a deprecated archaic term in the Australian context, but is used in this template for consistency with other templates. Please don't use the term in articles.

plain text, or use {{nativename}}.
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.
Prerequisite parameters:
  • native_name
plain text
native_name_footnotes all A reference demonstrating the Indigenous name Prerequisite parameters:
  • native_name
Wikitext (can contain links).
Best when used with <ref></ref> tags and a citation template.
city Recommended for suburb City name Name will be auto-linked if no wikilink is defined.
In 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 for protected areas 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).
Best when used with <ref></ref> tags and a citation template
image all Image of the place 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 place (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" 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 image wikitext (can contain links)
image_alt all Alt text for the image wikitext (can contain links)
image2 all A second image of the place In LGA articles this is typically used where a map of the LGA is required but the appropriate location map template is not available in Category:Australia location map modules. filename
image2_upright all Width of the second image of the place (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" 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 image wikitext (can contain links)
image2_alt all Alt text for the second 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 recommended for all Displays coordinates of the locality. Triggers a location map to be shown, which can be adjusted in various ways. For coordinates, use {{coord}} with display=inline,title. Please do not be overly precise.

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

Example:
{{Coord|32|45|41.3|S|151|44|38.6|E|display=inline,title}}
coord_ref recommended for all except protected Footnote demonstrating the coordinates value Prerequisite parameters:
  • coordinates
wikitext (can contain links)
Best when used with <ref></ref> tags and a citation template
pop all, not recommended for protected Population statistic (use approximate if |type=region) If left empty, population data will be displayed from Wikidata (for appropriate geography). See § PopulationFromWikidata 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 all, not recommended for 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 all, not recommended for protected Footnote demonstrating the population statistic Prerequisite parameters:
  • pop
ABS (generic)
2016 Census QuickStats
wikitext (can contain links)
Best when used with <ref></ref> tags and {{Census 2016 AUS}}
pop2 all, not recommended for 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.
Prerequisite 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 all, not recommended for 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 all, not recommended for protected Footnote demonstrating the second population statistic Prerequisite parameters:
  • pop2
ABS (generic)
2016 Census QuickStats
wikitext (can contain links)
Best when used with <ref></ref> tags and {{Census 2016 AUS}}
poprank recommended for city, should not be used for other types population rank of city within Australia Prerequisite parameters:
  • pop
List of cities in Australia by population Use eg: '1st', '15th'
density all
(recommended for city, region)
population density Will be auto-calculated if both pop and area are defined. Note that, if |pop=blank, no density will be shown. ABS unformatted number, in people/km²
density_footnotes all
(recommended for city, region)
population density footnote for references ABS wikitext (can contain links)
Best when used with <ref></ref> tags and a citation template
established all Date the location was established Options include:
  • An exact date (using {{start date}} is suggested)
  • a year, eg: 1894
  • a decade, eg: 1890s
established_footnotes all Reference demonstrating the establishment date wikitext (can contain links)
Best 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 all
(recommended for suburb, town)
Postcode(s) for the place Australia Post postcode search tool number
elevation all
(recommended for suburb, town)
The elevation, measured from sea level in metres unformatted number in metres
elevation_footnotes all
(recommended for suburb, town)
Footnote demonstrating the elevation wikitext (can contain links)
Best 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)
Best when used with <ref> </ref> tags and a citation template
timezone all
(recommended for city, suburb, town, lga, region)
Timezone of the location 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).
The utc parameter must also be set.
utc all
(recommended for city, suburb, town, lga, region)
UTC offset of the timezone The standard values are:
  • for WA +8:00
  • for SA & NT +9:30
  • for QLD, NSW, Vic. & Tas. +10:00
"+" followed by number, e.g., +8:00 (for AWST)
timezone-dst all
(recommended for city, suburb, town, lga, region)
Daylight saving timezone (where applied) 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).
The utc-dst parameter must also be set.
utc-dst all
(recommended for city, suburb, town, lga, region)
UTC offset of the daylight saving timezone The standard values are:
  • for SA +10:30
  • for NSW, Vic. & Tas. +11:00
"+" 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) all
(recommended for city, suburb, town)
Specified location(s) to display the distance and direction from Normally other cities or population centres.
See § Location#, Dist# & Dir# 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) all
(recommended for city, suburb, town)
The distance by road (not direct) from the specified location(s) Distance by road, not direct.
See § Location#, Dist# & Dir# below
Maps such as Google earth, whereis, Visit Victoria route planner unformatted number in km
dir# (up to dir5) all
(recommended for city, suburb, town)
The direction (preferably cardinal) from the specified location(s) See § Location#, Dist# & Dir# below Plain text. Normally a cardinal direction, either as an initialism (e.g. N, SE, NNW) or the word in lower case (per MOS:COMPASS; e.g., north, south-east, north-north-west).
lga all
  • recommended for city, suburb, town
  • not recommended for lga - to show adjacent LGAs, use |near-nw= etc.
Name of the local government area NSW Geographical Names Board Plain text, may be wikilinked. If no wikilink is given, the text will be automatically wikilinked.
lga2
lga3
lga4
lga5
all
  • recommended for city, suburb, town
  • not recommended for lga - to show adjacent LGAs, use |near-nw= etc.
Names of additional LGAs 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 all
(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 all
(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 all
(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 all
(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.
stategov
stategov2
stategov3
stategov4
stategov5
all
(recommended for city, suburb, town, lga, region)
The place's state government electorate(s) Plain text, can be wikilinked.
fedgov
fedgov2
fedgov3
fedgov4
all
(recommended for city, suburb, town, lga, region)
The place's federal government electorate(s) Plain text, can be wikilinked.
logo all
(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 all
(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 § Calculating "image upright" 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_caption all
(recommended for lga)
Caption for the logo image wikitext (can contain links)
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.
Best 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 all
(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 all
(recommended for suburb, town)
Maximum average annual temperature Bureau of Meteorology's climate data unformatted number, in °C
maxtemp_footnotes all
(recommended for suburb, town)
Footnote demonstrating the maximum temperature Bureau of Meteorology's climate data Wikitext, can contain templates, html, wikilinks, external links, etc.
Best when used with <ref> </ref> tags and a citation template
mintemp all
(recommended for suburb, town)
Minimum average annual temperature Bureau of Meteorology's climate data unformatted number, in °C
mintemp_footnotes all
(recommended for suburb, town)
Footnote demonstrating the minimum temperature Bureau of Meteorology's climate data wikitext (can contain links)
Best when used with <ref> </ref> tags and a citation template
rainfall all
(recommended for suburb, town)
Average annual rainfall Bureau of Meteorology's climate data unformatted number, in mm
rainfall_footnotes all
(recommended for suburb, town)
Footnote demonstrating the annual rainfall Bureau of Meteorology's climate data wikitext (can contain links)
Best when used with <ref> </ref> tags and a citation template
near-nw
near-n
near-ne
near-w
near-e
near-sw
near-s
near-se
all
(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 near-e=[[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 all
(recommended for suburb, lga)
Central to neighbours Replaces name in centre of table of near-* values. (Can also be 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)
Best 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. If the automatic categories need to be suppressed, |_noautocat= should contain text explaining why.
leave blank to categorise the article

Location map generated by coordinates

edit

The recommended and most common location map is auto-generated by |coordinates=, but can be changed or toggled off using |map_type= (see 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_type all Forces the base map of a location map, suppresses the location map completely, or sets a specific base map (or maps) to be used. Prerequisite parameters: coordinates Available options are:
  • national or australia shows a map of Australia as the base map
  • state shows the state map (based on the |state= value)
  • lga shows the LGA map (based on the |lga= value, which is a prerequisite)
  • nomap suppresses the automatically generated location map
  • any other value, which is a map name, to force a particular map (see Category:Australia location map modules for all available maps)
  • a series of map names separated by '#', to force a series of maps (selectable by the user)
  • auto or leave blank, to allow the automatically generated location map (based on the |type= value)
force_national_map all
(recommended for city, region, protected)
Equivalent to |map_type=national, forces location map to use a map of Australia as the base map Prerequisite parameters:
  • coordinates
  • |map_type=auto or left blank
yes to force map of Australia, or leave blank. Plain text, do not link. no is equivalent to blank.
use_lga_map all
(recommended for suburb, protected)
Equivalent to |map_type=lga, forces location 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.
Prerequisite parameters:
  • coordinates
  • state
  • lga
  • |map_type=auto or left blank
yes to force map of the LGA, or leave blank. Plain text, do not link. no is equivalent to blank.
alternative_location_map all Equivalent to |map_type= a map name, forces the location 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.
Prerequisite parameters:
  • coordinates
  • |map_type=auto or left blank
Name of the alternative map (see Category:Australia location map modules for all available maps). no is equivalent to blank.
relief all Forces a relief-style map, if available Prerequisite parameters:
  • coordinates
yes to force relief-style map, or leave blank. no is equivalent to blank.
pushpin_label_position all Position of the pushpin's label, in relation to the pushpin Prerequisite parameters:
  • coordinates
left, right, top, bottom
If this is not set, the default is left.
map_alt all Alt text for the location map Prerequisite parameters:
  • coordinates
wikitext (can contain links)
pushpin_map_caption all Caption for the location map, shown under the map Prerequisite parameters:
  • coordinates
Plain text or wikitext

Location map generated by wikidata

edit

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 § Location 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 article must be connected to a wikidata entry and a map border must have been created on OpenStreetMap. yes will display the map.
no will not display the map.
zoom all Change zoom size of local_map For more information, see {{Infobox mapframe}} instructions.
Prerequisite parameters:
  • local_map
Numeric value between 1 and 18. If left blank, zoom size defaults to 10.
local_map_id all
(recommended for other)
Wikidata ID for the location, if the infobox is in an article that does not connect to the location's wikidata entry Search Wikidata for an ID
Prerequisite parameters:
  • local_map
An unlinked wikidata ID, e.g. Q595259 for Raymond Terrace. The ID must begin with "Q".
local_map_caption all
(recommended for other)
Caption for the local map, shown under the map Prerequisite parameters:
  • local_map
Plain text or wikitext

Notes

edit

IUCN categories for protected areas

edit

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.

IUCN category IV (habitat/species management area)
IUCN category V (protected landscape/seascape)
IUCN category VI (protected area with sustainable use of natural resources)


Calculating "image_upright"

edit

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

edit

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

edit

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.

Location#, Dist# & Dir#

edit

This is the name of another location, and the distance and approximate direction from that 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=. Without a distance, the location will not be shown. Direction from the locations is optional, and can be specified using |dir1= through |dir5=.

Population from Wikidata

edit

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.

Deprecated Parameters

edit

The following parameters are still supported, but their use is deprecated in favour of others.

Deprecated Parameters
Parameter Preferred alternative
force_national_map |map_type=national
use_lga_map |map_type=lga
alternative_location_map = <name of map> |map_type=<name of map>

The following parameters are no longer supported by this template:
alt, imagesize, image_size, alt2, image_alt2, image2size, imagesize2, image_size2, logosize, logo_alt, official_site, short description

Where to find information

edit

Tracking categories

edit

Errors

edit
  • Category:Pages using infobox Australian place with unknown parameters (7)
    • articles with any unsupported parameter will be added to this category. This includes articles with incorrectly spelled parameters.
    • parameters previously supported, but no longer, include |alt=, |imagesize=, |image_size=, |alt2=, |image_alt2=, |image2size=, |imagesize2=, |image_size2=, |logosize=, |logo_alt=, |official_site= and |short description=.
  • Category:Pages using infobox Australian place with parameter issues (0)
    • articles that contain formatting errors in the template call
    • articles with |type= or |state= missing
    • articles with population (|pop= or |pop2=) set, but no related year (|pop_year= or |pop2_year=) is given
    • articles where a parameter with an associated reference parameter (|..._footnotes=) is given, but the reference parameter is missing (eg: |pop= is given, but no |pop_footnotes=, or |elevation= but no |elevation_footnotes=)
    • articles with density errors, ie: where |pop= and |area= are both given, but one of them is not a number (so a density cannot be calculated)
    • articles that have explicitly suppressed the automatic categories, ie: |_noautocat= is not blank

Location Maps

edit

Subpages

edit
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

edit

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

edit

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

edit

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

edit

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

TemplateData

edit
TemplateData documentation used by VisualEditor and other tools
See a monthly parameter usage report for Template:Sandbox/Innesw/Infobox Australian place-upgrade in articles based on its TemplateData.

TemplateData for Sandbox/Innesw/Infobox Australian place-upgrade

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 settlement locality townandlocality lga region cadastral protected other
Stringrequired
Namename

The name of the place. If not present or blank, the infobox title will not be shown. If specified, will be used as the text for the URL, and in the table of nearest neighbours.

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
Native name footnotesnative_name_footnotes

Footnotes for the native name. Please use references here.

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
Stringrequired
IUCN Categoryiucn_category

The International Union for Conservation of Nature (IUCN) category applicable to the protected area.

Suggested values
Ia Ib II III IV V VI
Stringoptional
IUCN Category Referenceiucn_ref

A reference for the IUCN category. Please use references here.

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
Nearest Town or Citynearest_town_or_city

If the protected area is not within a town or city, the nearest town or city to the area. Can use wikilinks. For multiple towns, use {{plainlist}}.

Stringoptional
Coordinatescoordinates

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

Stringoptional
Coordinates Footnotescoord_ref

Footnotes for the coordinates. Please use references here.

Stringoptional
Set Location Mapmap_type

Forces the location map to use a particular map.Valid values include: 'national' or 'australia' to show a map of Australia, 'state' to show the state map, 'lga' to show a map of the lga, 'nomap' to suppress the location map, or a wiki file name to use that file.

Stringoptional
Location Map Set to National Mapforce_national_map

Set to 'yes' to force the location map to use the Australian map instead of the default state map, otherwise leave blank. Equivalent to using map_type=national.

Suggested values
yes
Example
yes
Stringoptional
Location Map Set to LGA Mapuse_lga_map

Set to 'yes' to force the location map to use the LGA map instead of the default state one, otherwise leave blank. Equivalent to using map_type=lga.

Suggested values
yes
Example
yes
Stringoptional
Location Map Alternative Map Filealternative_location_map

Forces the location map to use this alternative map instead of the default state map. Equivalent to using map_type=map file name.

Fileoptional
Location Map Set to Relief Maprelief

Set to 'yes' to make the location map use a relief map, otherwise leave blank.

Suggested values
yes
Example
yes
Stringoptional
Location Map Pushpin Label Positionpushpin_label_position

Where the label should appear relative to the location map's pushpin.

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

Alternative text for the location map.

Stringoptional
Location Map Captionpushpin_map_caption

Caption for the location map.

Stringoptional
Local Map Enabledlocal_map

Set to 'yes' to display an additional map showing the OpenStreetMap relation from the related Wikidata item, otherwise leave blank. 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
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
Local Map Captionlocal_map_caption

Caption for the local map.

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 rank of the city by total population, within Australia.

Example
15th
Stringoptional
Population Wikidata Item IDwikidata

A manually selected Wikidata Item (QID) from which an automatic population will be extracted if the |pop parameter is left blank. If this value is blank (default), the Wikidata Item associated with the page using this template will be used.

Example
Q402
Stringoptional
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. Either an exact date, a year (eg: 1894) or a decade (eg: 1890s).

Stringoptional
Established Footnotesestablished_footnotes

Footnotes for the establishment date. Please use references here.

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
Location 1location1

Another location to compare with this one.

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 2location2

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 3location3

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 4location4

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 5location5

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
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 Widthlogo_upright

Width of the LGA logo, as a proportion of the default thumbnail size. Examples are 0.8 and 1.3. Do not use 'px'. Default is 1.23

Numberoptional
Logo Image Captionlogo_caption

Caption for the logo image.

Stringoptional
LGA URLurl

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

Stringoptional
Protected Area Visitationvisitation_num

The number of visitors in a recent year.

Numberoptional
Protected Area Visitation Yearvisitation_year

The year when Protected Area Visitation was counted.

Numberoptional
Protected Area Visitation Footnotesvisitation_footnotes

Footnote demonstrating the number of visitors. Please use references here.

Stringoptional
Managing Authoritymanaging_authorities

Name of the authority or organisation that manages the protected area.

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
Northwest Near Gridnear-nw

The nearest neighbour of the place to the northwest.

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
West Near Gridnear-w

The nearest neighbour of the place to the west.

Stringoptional
East Near Gridnear-e

The nearest neighbour of the place to the east.

Stringoptional
Southwest Near Gridnear-sw

The nearest neighbour of the place to the southwest.

Stringoptional
South Near Gridnear-s

The nearest neighbour of the place to the south.

Stringoptional
Southeast Near Gridnear-se

The nearest neighbour of the place to the southeast.

Stringoptional
Central Near Gridnear

Replace name as the default text in the center of the 'Near' grid (the name of the place). (Can also be used without any near-* e.g. to specify a section link to the main text for further info.)

Stringoptional
General Footnotesfootnotes

General footnotes, used to provide footnotes supporting information in parameters without a dedicated parameter for footnotes.

Stringoptional
Suppress Automatic Categories_noautocat

This should only be used when absolutely necessary, when the automatic categorisation built into this template causes errors. If the automatic categories need to be suppressed, |_noautocat should contain text explaining why. Leave blank to categorise the article.

Example
yes
Stringoptional