Template:Infobox Australian place/doc: Difference between revisions
(type and state marked 'required' in TemplateData) |
m (1 revision imported) |
||
(No difference)
|
Latest revision as of 07:09, 9 May 2024
This is a documentation subpage for Template:Terminate sentence It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on approximately 15,000 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
This template uses Lua: |
This template adds an automatically generated short description. If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. |
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
- 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.
- Enter values for the parameters as outlined under § Parameters, particularly
|type=
and|state=
. Parameters left blank will automatically be hidden. - Preview the page with your edits.
- 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
- Examples of this template can be found on the examples page.
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.
Accepted value | Description | Colour of top bar[lower-alpha 1] |
---|---|---|
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 |
- ↑ Colour names per the colour names given by colourblindness.com
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).
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
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 be blank. | 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}} .
Add <ref></ref> with a citation where possible. | |
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.Template:PbNative 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.Template:PbPrerequisite parameters:
|
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:
| |
iucn_ref | protected | A reference demonstrating the IUCN category | Prerequisite parameters:
|
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 location 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). | Template:UF-coord
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 § 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|type:city_region:AU-NSW|display=inline,title}} | |
coord_ref | ??Template:Pb(recommended for all except protected) | Footnote demonstrating the coordinates value | Prerequisite parameters:
|
wikitext (can contain links)Template:PbBest when used with <ref></ref> tags and a citation template | |
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:
|
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:
|
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:
|
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:
|
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:
|
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:
|
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 | 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 | allTemplate:Pb(recommended for city, suburb, town, lga, region) | UTC offset of the timezone | The standard values are:
|
"+" followed by number, e.g., +8:00 (for AWST)
| |
timezone-dst | allTemplate:Pb(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 | allTemplate:Pb(recommended for city, suburb, town, lga, region) | UTC offset of the daylight saving timezone | The standard values are:
|
"+" 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 from | 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) from 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) from 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 , NNW ) or the word in lower case (per MOS:COMPASS; e.g., north , south-east , north-north-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:
|
Unformatted year | |
visitation_footnotes | protected | Footnote demonstrating the number of visitors | Prerequisite parameters:
|
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 | 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 |
Location map generated by coordinates
The recommended and most common location 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}}.
Parameter | Available for |type=
|
Description | Notes | Values | |
---|---|---|---|---|---|
coordinates | See § coordinates for details | ||||
map_alt | all | Alt text for the location map | Prerequisite parameters:
|
wikitext (can contain links) | |
map_type | all | Toggles whether a location map is automatically generated | Prerequisite parameters:
|
Available options are:
| |
force_national_map | allTemplate:Pb(recommended for city, region, protected) | Forces location map to use a map of Australia as a whole | Prerequisite parameters:
|
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 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.Template:PbPrerequisite parameters:
|
yes to force map of the LGA, or leave blank
| |
alternative_location_map | all | 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.Template:PbPrerequisite parameters:
|
Name of the alternative map (Category:Australia location map modules includes all available maps) | |
relief | all | Forces relief-style map, if available | Prerequisite parameters:
|
yes to force relief-style map, or leave blank
| |
pushpin_map_caption | all | Caption for the location map | Prerequisite parameters:
|
Plain text or wikitext | |
pushpin_label_position | all | Position of the pushpin's caption, in relation to the pushpin | Prerequisite parameters:
|
left , right , top , bottom Template:PbIf this is not set, the default is left
|
Location 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 § Location map generated by coordinates 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:
|
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:
|
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 |
<section begin=image_upright />
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.
170px
→upright=0.75
180px
→upright=0.8
190px
→upright=0.85
200px
→upright=0.9
210px
→upright=0.95
220px
→upright=1
230px
→upright=1.05
240px
→upright=1.1
250px
→upright=1.15
260px
→upright=1.2
270px
→upright=1.23
280px
→upright=1.25
290px
→upright=1.3
300px
→upright=1.35
<section end=image_upright />
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 from 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
- Wikipedia:WikiProject Australian places#Useful Resources
- Australian Bureau of Statistics
- LGA links for each state
- Climate Data Online at the Bureau of Meteorology
Tracking categories
- Category:Australian place articles using Wikidata population values (0) – articles that display population values from Wikidata, rather than directly via the
|pop=
parameter.
Deprecated parameters
- Category:Australian place articles using missing parameters (0) – articles that include deprecated parameters are automatically added. As of 5 April 2016, the tracked parameters are
|imagesize=
,|image2size=
,|imagesize2=
,|image_alt2=
,|logosize=
and|official_site=
.
Errors
- Category:Australian place articles using missing parameters (0) – articles that contain general errors are automatically added.
- Category:Australian place articles with no population year (0) – articles missing
|pop_year=
or|pop2_year=
parameters are automatically added. - Category:Australian place articles with no population footnotes (0) – articles missing
|pop_footnotes=
or|pop2_footnotes=
parameters are automatically added. - Category:Australian place articles with density errors (0)
- Category:Pages using infobox Australian place with unknown parameters (0) – articles using parameters that are not included in the infobox. This category may include articles with incorrectly spelled parameters.
Temporary
- Category:Pages using infobox Australian place with non-lga type and suppressed location map (0)
- Category:Pages using infobox Australian place with lga type and location map (0)
- Category:Pages using infobox Australian place with an implicitly suppressed location map (0)
- Category:Pages using infobox Australian place with an explicitly suppressed location map (0)
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
|
---|
See a monthly parameter usage report for Template:Infobox Australian place in articles based on its TemplateData.
TemplateData for Infobox Australian place <templatedata> { "description": "Display information about a place in Australia in a standard infobox format.", "params": { "type": { "label": "Type", "description": "The type of place, which determines the look of the infobox. Can be empty or one of the following: 'city', 'suburb', 'town', 'lga', 'region', or 'cadastral'.", "type": "string", "required": true, "suggestedvalues": [ "city", "suburb", "town", "lga", "region", "cadastral", "protected", "other" ] }, "name": { "label": "Name", "description": "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.", "type": "string", "required": false }, "city": { "label": "City", "description": "The name of the city the place is located in, which is automatically wikilinked.", "type": "string", "required": false }, "state": { "label": "State Abbreviation", "description": "The abbreviation for the state the place in located in, which can be uppercase or lowercase.", "type": "string", "required": true, "suggestedvalues": [ "sa", "vic", "nsw", "qld", "nt", "wa", "tas", "act", "jbt", "ni", "au" ] }, "iucn_category": { "label": "IUCN Category", "description": "The International Union for Conservation of Nature (IUCN) category applicable to the protected area.", "type": "string", "required": false, "suggestedvalues": [ "Ia", "Ib", "II", "III", "IV", "V", "VI" ] }, "iucn_ref": { "label": "IUCN Category Reference", "description": "A reference for the IUCN category. Please use references here.", "type": "string", "required": false }, "image": { "label": "Image", "description": "A filename for a generic image of the locality.", "type": "string", "required": false }, "image_upright": { "label": "Image Width", "description": "Override the default width of the image, scalable.", "type": "number", "required": false }, "caption": { "label": "Caption", "description": "A caption for the image.", "type": "string", "required": false }, "image_alt": { "label": "Image Alt Text", "description": "Alt text for the image.", "type": "string", "required": false }, "image2": { "label": "Image 2", "description": "A filename for a second image of the locality. Usually used for maps, especially in LGA articles.", "type": "string", "required": false }, "image2_upright": { "label": "Image 2 Width", "description": "Override the default width of the second image, scalable.", "type": "number", "required": false }, "caption2": { "label": "Image 2 Caption", "description": "A caption for the second image.", "type": "string", "required": false }, "image2_alt": { "label": "Image 2 Alt Text", "description": "Alt text for the second image.", "type": "string", "required": false }, "nearest_town_or_city": { "label": "Nearest Town or City", "description": "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.",
"type": "string", "required": false }, "coordinates": { "label": "Coordinates", "description": "Coordinates of the locality. Use Lua error in Module:Coordinates at line 611: attempt to index field 'wikibase' (a nil value). with 'display=inlines,title'. Please don't be overly precise.", "type": "string", "required": false }, "coord_ref": { "label": "Coordinates Footnotes", "description": "Footnotes for the coordinates. Please use references here.", "type": "string", "required": false }, "alternative_location_map": { "label": "Location Map Alternative Map File", "description": "Forces the location map to use this alternative map instead of the default state map.", "type": "wiki-file-name", "required": false }, "force_national_map": { "label": "Location Map Set to National Map", "description": "Set to 'yes' to force the location map to use the Australian map instead of the default state map.", "type": "string", "required": false, "example": "yes", "default": "no", "suggestedvalues": [ "yes", "no" ] }, "use_lga_map": { "label": "Location Map Set to LGA Map", "description": "Set to 'yes' to force the location map to use the LGA map instead of the default state one.", "type": "string", "required": false, "example": "yes", "default": "no", "suggestedvalues": [ "yes", "no" ] }, "relief": { "label": "Location Map Set to Relief Map", "description": "Set to 'yes' to make the location map use a relief map.", "type": "string", "required": false, "example": "yes", "default": "no", "suggestedvalues": [ "yes", "no" ] }, "pushpin_map_caption": { "label": "Location Map Caption", "description": "Caption for the location map.", "type": "string", "required": false }, "pushpin_label_position": { "label": "Location Map Pushpin Label Position", "description": "Where the label should appear relative to the location map's pushpin.", "type": "string", "default": "right", "required": false, "example": "top", "suggestedvalues": [ "left", "right", "top", "bottom" ] }, "map_alt": { "label": "Location Map Alternative Text", "description": "Alternative text for the location map.", "type": "string", "required": false }, "pop": { "label": "Population", "description": "The total population of the place. If left empty, population data will be displayed from Wikidata (for appropriate geography).", "type": "number", "required": false }, "pop_year": { "label": "Population Year", "description": "The year in which the population measurement was taken. Template:CensusAU may be used.", "type": "number", "required": false }, "pop_footnotes": { "label": "Population Footnotes", "description": "Footnotes for the population figure. Please use references here.", "type": "string", "required": false }, "pop2": { "label": "Population 2", "description": "A second total population measurement.", "type": "number", "required": false }, "pop2_year": { "label": "Population 2 Year", "description": "The year in which the second population measurement was taken. Template:CensusAU may be used.", "type": "number", "required": false }, "pop2_footnotes": { "label": "Population 2 Footnotes", "description": "Footnotes for the second population figure. Please use references here.", "type": "string", "required": false }, "poprank": { "label": "Population Rank", "description": "Only for cities. The total population rank of the city.", "type": "number", "required": false }, "density": { "label": "Population Density", "description": "The population density of the place.", "type": "number", "required": false }, "density_footnotes": { "label": "Population Density Footnotes", "description": "Footnotes for the population density figure. Please use references here.", "type": "string", "required": false }, "established": { "aliases": [ "est" ], "label": "Established", "description": "The date the place was established.", "type": "string", "required": false }, "established_footnotes": { "label": "Established Footnotes", "description": "Footnotes for the establishment date. Please use references here.", "type": "string", "required": false }, "abolished": { "label": "Abolished", "description": "The date the place was abolished.", "type": "string", "required": false }, "gazetted": { "label": "Gazetted", "description": "The date the place was gazetted.", "type": "string", "required": false }, "postcode": { "label": "Postcode", "description": "The postcode of the place.", "type": "number", "required": false }, "elevation": { "label": "Elevation", "description": "Elevation of the place above sea level in metres.", "type": "number", "required": false }, "elevation_footnotes": { "label": "Elevation Footnotes", "description": "Footnotes for the elevation figure.", "type": "string", "required": false }, "area": { "label": "Area", "description": "Area of the place in square kilometres.", "type": "number", "required": false }, "area_footnotes": { "label": "Area Footnotes", "description": "Footnotes for the area figure.", "type": "string", "required": false }, "timezone": { "label": "Time Zone", "description": "The time zone the place is located in.", "type": "string", "required": false }, "utc": { "label": "UTC Time", "description": "The difference between UTC time and the time zone the place resides in, in the format '+' followed by a number.", "type": "string", "required": false }, "timezone-dst": { "label": "Summer Time Zone (DST)", "description": "The summer time zone the place is located in.", "type": "string", "required": false }, "utc-dst": { "label": "Summer UTC Time (DST)", "description": "The difference between UTC time and the time zone the place resides in in the summer, in the format '+' followed by a number.", "type": "string", "required": false }, "mayor": { "label": "Mayor", "description": "LGA only. The name of the mayor of the LGA.", "type": "string", "required": false }, "mayortitle": { "label": "Mayor Title", "description": "LGA only. The title of the mayor of the LGA. Defaults to 'Mayor'.", "type": "string", "required": false }, "dist1": { "label": "Distance 1", "description": "The distance by road in kilometres from location 1 to the place.", "type": "number", "required": false }, "dir1": { "label": "Direction 1", "description": "The compass direction from location 1 to the place. Examples are 'NW', 'E', and 'SSE'.", "type": "string", "required": false }, "location1": { "label": "Location 1", "description": "Another location to compare with this one.", "type": "string", "required": false }, "dist2": { "label": "Distance 2", "description": "The distance by road in kilometres from location 2 to the place.", "type": "number", "required": false }, "dir2": { "label": "Direction 2", "description": "The compass direction from location 2 to the place. Examples are 'NW', 'E', and 'SSE'.", "type": "string", "required": false }, "location2": { "label": "Location 2", "description": "Another location to compare with this one.", "type": "string", "required": false }, "dist3": { "label": "Distance 3", "description": "The distance by road in kilometres from location 3 to the place.", "type": "number", "required": false }, "dir3": { "label": "Direction 3", "description": "The compass direction from location 3 to the place. Examples are 'NW', 'E', and 'SSE'.", "type": "string", "required": false }, "location3": { "label": "Location 3", "description": "Another location to compare with this one.", "type": "string", "required": false }, "dist4": { "label": "Distance 4", "description": "The distance by road in kilometres from location 4 to the place.", "type": "number", "required": false }, "dir4": { "label": "Direction 4", "description": "The compass direction from location 4 to the place. Examples are 'NW', 'E', and 'SSE'.", "type": "string", "required": false }, "location4": { "label": "Location 4", "description": "Another location to compare with this one.", "type": "string", "required": false }, "dist5": { "label": "Distance 5", "description": "The distance by road in kilometres from location 5 to the place.", "type": "number", "required": false }, "dir5": { "label": "Direction 5", "description": "The compass direction from location 5 to the place. Examples are 'NW', 'E', and 'SSE'.", "type": "string", "required": false }, "location5": { "label": "Location 5", "description": "Another location to compare with this one.", "type": "string", "required": false }, "lga": { "label": "Local Government Area (LGA)", "description": "The name of the local government area of the place.", "type": "string", "required": false }, "lga2": { "label": "Local Government Area (LGA) 2", "description": "Another local government area of the place.", "type": "string", "required": false }, "lga3": { "label": "Local Government Area (LGA) 3", "description": "Another local government area of the place.", "type": "string", "required": false }, "lga4": { "label": "Local Government Area (LGA) 4", "description": "Another local government area of the place.", "type": "string", "required": false }, "lga5": { "label": "Local Government Area (LGA) 5", "description": "Another local government area of the place.", "type": "string", "required": false }, "seat": { "label": "Local Government Area (LGA) Seat", "description": "The local government area's seat of government.", "type": "string", "required": false }, "region": { "label": "Region", "description": "The region the LGA is in.", "type": "string", "required": false }, "county": { "label": "County", "description": "The county the place is in.", "type": "string", "required": false }, "parish": { "label": "Parish", "description": "The parish the place is in.", "type": "string", "required": false }, "hundred": { "label": "Hundred", "description": "The hundred the place is in.", "type": "string", "required": false }, "former_hundred": { "label": "Former Hundred", "description": "The former hundred the place is in.", "type": "string", "required": false }, "division": { "label": "Division", "description": "The division the place is in.", "type": "string", "required": false }, "localgov": { "label": "Local Government", "description": "The local government electorate of the place.", "type": "string", "required": false }, "stategov": { "label": "State Government", "description": "The state government electorate of the place.", "type": "string", "required": false }, "stategov2": { "label": "State Government 2", "description": "Another state government electorate of the place.", "type": "string", "required": false }, "stategov3": { "label": "State Government 3", "description": "Another state government electorate of the place.", "type": "string", "required": false }, "stategov4": { "label": "State Government 4", "description": "Another state government electorate of the place.", "type": "string", "required": false }, "stategov5": { "label": "State Government 5", "description": "Another state government electorate of the place.", "type": "string", "required": false }, "fedgov": { "label": "Federal Government", "description": "The federal government electorate of the place.", "type": "string", "required": false }, "fedgov2": { "label": "Federal Government 2", "description": "Another federal government electorate of the place.", "type": "string", "required": false }, "fedgov3": { "label": "Federal Government 3", "description": "Another federal government electorate of the place.", "type": "string", "required": false }, "fedgov4": { "label": "Federal Government 4", "description": "Another federal government electorate of the place.", "type": "string", "required": false }, "logo": { "label": "LGA Logo", "description": "A filename for the logo, if any, of the place's LGA.", "type": "string", "required": false }, "logo_upright": { "label": "LGA Logo Width", "description": "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", "type": "number", "required": false }, "logosize": { "label": "LGA Logo Size", "description": "Override the default width of the LGA logo, which is 175px.", "type": "number", "required": false }, "visitation_num": { "label": "Protected Area Visitation", "description": "The number of visitors in a recent year.", "type": "number", "required": false }, "visitation_year": { "label": "Protected Area Visitation Year", "description": "The year when Protected Area Visitation was counted.", "type": "number", "required": false }, "visitation_footnotes": { "label": "Protected Area Visitation Footnotes", "description": "Footnote demonstrating the number of visitors. Please use references here.", "type": "string", "required": false }, "managing_authorities": { "label": "Managing Authority", "description": "Name of the authority or organisation that manages the protected area.", "type": "string", "required": false }, "url": { "label": "LGA URL", "description": "The bare URL for the place's LGA's website.", "type": "string", "required": false }, "maxtemp": { "label": "Maximum Temperature", "description": "The maximum average annual temperature of the place in degrees Celsius.", "type": "number", "required": false }, "maxtemp_footnotes": { "label": "Maximum Temperature Footnotes", "description": "Footnotes for the maximum temperature figure. Please use references here.", "type": "string", "required": false }, "mintemp": { "label": "Minimum Temperature", "description": "The minimum average annual temperature of the place in degrees Celsius.", "type": "number", "required": false }, "mintemp_footnotes": { "label": "Minimum Temperature Footnotes", "description": "Footnotes for the minimum temperature figure. Please use references here.", "type": "string", "required": false }, "rainfall": { "label": "Rainfall", "description": "The average annual rainfall of the place in millimetres.", "type": "number", "required": false }, "rainfall_footnotes": { "label": "Rainfall Footnotes", "description": "Footnotes for the rainfall figure.", "type": "string", "required": false }, "near": { "label": "Central Near Grid", "description": "Replace the default text in the center of the 'Near' grid (the name of the place).", "type": "string", "required": false }, "near-n": { "label": "North Near Grid", "description": "The nearest neighbour of the place to the north.", "type": "string", "required": false }, "near-ne": { "label": "Northeast Near Grid", "description": "The nearest neighbour of the place to the northeast.", "type": "string", "required": false }, "near-e": { "label": "East Near Grid", "description": "The nearest neighbour of the place to the east.", "type": "string", "required": false }, "near-se": { "label": "Southeast Near Grid", "description": "The nearest neighbour of the place to the southeast.", "type": "string", "required": false }, "near-s": { "label": "South Near Grid", "description": "The nearest neighbour of the place to the south.", "type": "string", "required": false }, "near-sw": { "label": "Southwest Near Grid", "description": "The nearest neighbour of the place to the southwest.", "type": "string", "required": false }, "near-w": { "label": "West Near Grid", "description": "The nearest neighbour of the place to the west.", "type": "string", "required": false }, "near-nw": { "label": "Northwest Near Grid", "description": "The nearest neighbour of the place to the northwest.", "type": "string", "required": false }, "native_name": { "label": "Native name", "description": "Name in the local language if different to 'name'.", "type": "line" }, "native_name_lang": { "label": "Native name language", "description": "ISO 639-1 code for the native language, e.g. \"fr\" for French.", "type": "string" }, "footnotes": { "label": "General Footnotes", "description": "General footnotes, used to provide footnotes supporting information in parameters without a dedicated parameter for footnotes.", "type": "string", "required": false }, "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", "iucn_category", "iucn_ref", "image", "image_upright", "caption", "image_alt", "image2", "image2_upright", "caption2", "image2_alt", "nearest_town_or_city", "coordinates", "coord_ref", "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", "established_footnotes", "abolished", "gazetted", "postcode", "elevation", "elevation_footnotes", "area", "area_footnotes", "timezone", "utc", "timezone-dst", "utc-dst", "mayor", "mayortitle", "location1", "dist1", "dir1", "location2", "dist2", "dir2", "location3", "dist3", "dir3", "location4", "dist4", "dir4", "location5", "dist5", "dir5", "lga", "lga2", "lga3", "lga4", "lga5", "seat", "region", "county", "parish", "hundred", "former_hundred", "division", "localgov", "stategov", "stategov2", "stategov3", "stategov4", "stategov5", "fedgov", "fedgov2", "fedgov3", "fedgov4", "logo", "logo_upright", "logosize", "visitation_num", "visitation_year", "visitation_footnotes", "managing_authorities", "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", "footnotes" ] } </templatedata> |