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