Template:Infobox Australian place/doc: Difference between revisions
Adminpeter (talk | contribs) m (1 revision imported) |
GOTV>Samwilson |
||
Line 1: | Line 1: | ||
<includeonly>{{ | <includeonly>{{redirect|WP:IAP|text=For the essay, see [[Wikipedia:Ignore all precedent]] ([[WP:IAPD]])}}</includeonly>{{Documentation subpage}} | ||
<!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE --> | ||
{{High-use| | {{High-use|1=14430 }} | ||
{{Lua|Module:Infobox|Module:InfoboxImage|Module:URL|Module:Check for unknown parameters}} | {{Lua|Module:Infobox|Module:InfoboxImage|Module:URL|Module:Check for unknown parameters|Module:Australian place map|Module:PopulationFromWikidata}} | ||
{{ | {{Auto short description}} | ||
__NOTOC__ | __NOTOC__ | ||
<includeonly>{{Shortcut | <includeonly>{{Shortcut|WP:IAP}}</includeonly> | ||
{{Infobox Australian place/pagelinks}} | {{Infobox Australian place/pagelinks}} | ||
== Purpose == | == Purpose == | ||
{{tl|Infobox Australian place}} is used to add infoboxes to articles on | {{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 been extensively customised for Australia and includes automation that results in some parameters being redundant to other parameters. For example | The infobox has been extensively customised for Australia and includes automation that results in some parameters being redundant to other parameters. For example, if population density (in the {{para|density}} parameter) is not specified, this will be automatically generated based on the {{para|pop}} and {{para|area}} parameters. It is therefore important to read parameter descriptions thoroughly, to avoid unnecessarily providing redundant or incorrect information. | ||
For infoboxes that require reformatting, general cleanup or addition of missing parameters, [[Template:Infobox Australian place/cleanup]] can be [[Help:Substitution|substituted]]. This will reformat the infobox and remove invalid parameters. | |||
== Usage == | == Usage == | ||
=== To use this template === | === To use this template === | ||
#Copy the relevant blank template from the <u>'''[[Template:Infobox Australian place/Blank|Blank infobox page]]'''</u> into the beginning of your document, remembering to put the code | #Copy the relevant blank template from the <u>'''[[Template:Infobox Australian place/Blank|Blank infobox page]]'''</u> into the beginning of your document, remembering to put the code on the line directly before the start of the article's lead. | ||
#Enter values for the | #Enter values for the parameters as outlined under {{slink||Parameters}}, particularly {{para|type}} and {{para|state}}. Parameters left blank will automatically be hidden. | ||
#Preview. | #Preview the page with your edits. | ||
#Save the page with an appropriate edit summary. | #Save the page with an appropriate edit summary (e.g., "<nowiki>Added {{[[Template:Infobox Australian place|Infobox Australian place]]}}</nowiki>", which will display as, "Added {{tl|Infobox Australian place}}" ). | ||
=== Examples === | === Examples === | ||
* Examples of this template can found on the [[Template:Infobox Australian place/Examples|examples page]]. | * Examples of this template can be found on the [[Template:Infobox Australian place/Examples|examples page]]. | ||
== Parameters == | == Parameters == | ||
Both <code>type</code> and <code>state</code> are required parameters. All other parameters used by this template are optional. The | 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> | |||
|- | |||
! scope="row" | <code>city</code> | |||
| A city. <!-- Description of the effects of "city" on the infobox needed --> | |||
| style="background:#f9f6d2; color:#100;" | Light Goldenrod Yellow | |||
|- | |||
! scope="row" | <code>suburb</code> | |||
| A suburb, a form of administrative region generally used in cities and towns.<!-- Description of "suburb" and its effects on the infobox needed --> | |||
| style="background:#f9e2d2; color:#100;" | Antique White | |||
|- | |||
! scope="row" | <code>town</code> | |||
| A town or other settlement. <!-- Description of the effects of "town" on the infobox needed --> | |||
| style="background:#e9f9d2; color:#100;" | Snow Flurry | |||
|- | |||
! scope="row" | <code>lga</code> | |||
| An [[Local government areas of Australia|Australian local government area]] (LGA) - a particular form of administrative region, used to create local governments. Many LGAs will use terms such as "Town of", "District Council of", "Shire of", "City of", etc., in their names. | |||
Note that the ACT does not have any system of local government, and therefore does not have LGAs.<!-- Description of the effects of "lga" on the infobox needed --> | |||
| style="background:#d2d5f9; color:#100;" | Lavender | |||
|- | |||
! scope="row" | <code>region</code> | |||
| <!-- Description of "region" and its effects on the infobox needed --> | |||
| style="background:#e6c4fb; color:#100;" | Mauve | |||
|- | |||
! scope="row" | <code>cadastral</code> | |||
| <!-- Description of "cadastral" and its effects on the infobox needed --> | |||
| style="background:#ffffe0; color:#100;" | Light Yellow | |||
|- | |||
! scope="row" | <code>protected</code> | |||
| <!-- 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> | |||
|- | |||
! scope="row" | <code>other</code> | |||
| <!-- Description of "other" and its effects on the infobox needed --> | |||
| style="background:transparent; color:#100;" | No colour | |||
|- | |||
! scope="row" | ''undefined'' | |||
| 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 | |||
|- | |||
! scope="row" | <code>act</code> | |||
| [[Australian Capital Territory]] (ACT) | |||
|- | |||
! scope="row" | <code>nsw</code> | |||
| [[New South Wales]] (NSW) | |||
|- | |||
! scope="row" | <code>nt</code> | |||
| [[Northern Territory]] (NT) | |||
|- | |||
! scope="row" | <code>qld</code> | |||
| [[Queensland]] (Qld or QLD) | |||
|- | |||
! scope="row" | <code>sa</code> | |||
| [[South Australia]] (SA) | |||
|- | |||
! scope="row" | <code>tas</code> | |||
| [[Tasmania]] (Tas or TAS) | |||
|- | |||
! scope="row" | <code>vic</code> | |||
| [[Victoria (Australia)|Victoria]] (Vic or VIC) | |||
|- | |||
! scope="row" | <code>wa</code> | |||
| [[Western Australia]] (WA) | |||
|- | |||
! scope="row" | <code>jbt</code> | |||
| [[Jervis Bay Territory]] (JBT) | |||
|- | |||
! scope="row" | <code>ni</code> | |||
| [[Norfolk Island]] (NI) | |||
|- | |||
! scope="row" | <code>au</code> | |||
| [[Australia]] - use when no other value is applicable. | |||
|} | |||
=== Optional === | |||
{| class="wikitable plainrowheaders" style="background-color: white; width:100%;" | {| class="wikitable plainrowheaders" style="background-color: white; width:100%;" | ||
! scope="col" style="background-color: whitesmoke;" | |+ Optional parameters | ||
! scope="col" style="background-color: whitesmoke;" | ! scope="col" style="background-color: whitesmoke;" | Parameter | ||
! scope="col" style="background-color: whitesmoke;" | ! scope="col" style="background-color: whitesmoke;" | Available for {{para|type}} | ||
! scope="col" style="background-color: whitesmoke;" | ! scope="col" style="background-color: whitesmoke;" | Description | ||
! scope="col" style="background-color: whitesmoke;" | ! scope="col" style="background-color: whitesmoke;" | Notes | ||
! scope="col" style="background-color: whitesmoke;" | Potential sources | |||
! scope="col" style="background-color: whitesmoke;" | Values | |||
|- | |||
! scope="row" | name | |||
| 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. | |||
|- | |- | ||
! scope="row" | 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. | ||
| <!-- Potential sources --> | |||
| plain text | |||
|- | |- | ||
! scope="row" | native_name_lang | |||
| | | all | ||
| | | [[ISO 639-1]] code, e.g. nys for [[Noongar language|Noongar]], for the Indigenous Australian language, if available | ||
| If | | If there are names in multiple Indigenous Australian languages, enter those names into the {{para|native_name}} parameter using <nowiki>{{lang}}</nowiki> instead.{{pb}}''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.{{pb}}'''Prerequisite parameters:''' | ||
*native_name | |||
| <!-- Potential sources --> | |||
| plain text | | plain text | ||
|- | |- | ||
! scope="row" | city | |||
| | | ??{{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. | | 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 | | For cadastral units, this is typically a map showing its location within the state or territory. | ||
| <!-- Potential sources --> | |||
| filename | | 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. | |||
| number | | <!-- 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) | | wikitext (can contain links) | ||
|- | |- | ||
! scope="row" | image_alt | |||
| | | all | ||
| [[MOS:ALT|Alt text]] for the image | | [[MOS:ALT|Alt text]] for the image | ||
| <!-- Notes --> | |||
| <!-- Potential sources --> | |||
| wikitext (can contain links) | | wikitext (can contain links) | ||
|- | |- | ||
! scope="row" | image2 | |||
| all | |||
| A second image of the locality | | 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}}. | |||
| 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 | | <!-- Potential sources --> | ||
| filename | | filename | ||
|- | |- | ||
! scope="row" | 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 [[#Calculating "image_upright"|help below]] for guidance on determining the value to be used, and [[WP:IMGSIZE]] for rationale. | |||
| number | | <!-- 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" | caption2 | |||
| all | |||
| caption for the second locality image | | caption for the second locality image | ||
| | | <!-- Notes --> | ||
| | | <!-- Potential sources --> | ||
| wikitext (can contain links) | | wikitext (can contain links) | ||
|- | |- | ||
! scope="row" | image2_alt | |||
| | | all | ||
| [[MOS:ALT|Alt text]] for the image | | [[MOS:ALT|Alt text]] for the image | ||
| <!-- Notes --> | |||
| <!-- Potential sources --> | |||
| wikitext (can contain links) | | wikitext (can contain links) | ||
|- | |- | ||
! scope="row" | nearest_town_or_city | |||
| protected | |||
| | |||
| nearest town or city to the area | | nearest town or city to the area | ||
| If the area is not within a town or city, the nearest town or city to the area can be listed here. If only one, wikilinking may be omitted as the article will be automatically linked. If there are more than one, use {{tl|Plainlist}}. | | If the area is not within a town or city, the nearest town or city to the area can be listed here. If only one, wikilinking may be omitted as the article will be automatically linked. If there are more than one, use {{tl|Plainlist}}. | ||
| | | <!-- Potential sources --> | ||
| Wikitext (can contain links) | |||
|- | |||
! scope="row" | {{visible anchor|coordinates}} | |||
| ??{{pb}}(recommended for all) | |||
| Displays coordinates of the locality. Triggers a map to automatically generate (can be adjusted in various ways). | |||
| {{UF-coord}} | |||
The automatic map will be of the state, with a pushpin identifying the position specified in {{Tl|coord}}. Parameters to adjust or toggle the map are under {{slink||Locator map generated by coordinates}}. A second map can be generated using wikidata as well (see {{slink||Locator map generated by wikidata}}). | |||
| <!-- Potential sources --> | |||
| Example:<br /><nowiki>{{Coord|32|45|41.3|S|151|44|38.6|E|type:city_region:AU-NSW|display=inline,title}}</nowiki> | |||
|- | |- | ||
! scope="row" | pop | |||
| | | ??{{pb}}(recommended for all except protected) | ||
| Population statistic (use approximate if {{para|type|region}}) | |||
| [http://www.abs.gov.au/ ABS] (generic)<br />[http://www.censusdata.abs.gov.au/census_services/getproduct/census/ | | 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 | | 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}} | |||
|- | |- | ||
! scope="row" | pop_footnotes | |||
| | | ??{{pb}}(recommended for all except protected) | ||
| Footnote demonstrating the population statistic | |||
| [http://www.abs.gov.au/ ABS] (generic)<br />[http://www.censusdata.abs.gov.au/census_services/getproduct/census/ | | '''Prerequisite parameters:''' | ||
| wikitext (can contain links) | * pop | ||
|[http://www.abs.gov.au/ ABS] (generic)<br />[http://www.censusdata.abs.gov.au/census_services/getproduct/census/2016/quickstat/0?opendocument&navpos=220 2016 Census QuickStats] | |||
| wikitext (can contain links){{pb}}Best when used with <nowiki><ref></ref></nowiki> tags and {{tl|Census 2016 AUS}} | |||
|- | |- | ||
! scope="row" | pop2 | |||
| | | ??{{pb}}(recommended for all except protected) | ||
| Second population statistic (use approximate if {{para|type|region}}) | |||
| [http://www.abs.gov.au/ ABS] (generic)<br />[http://www.censusdata.abs.gov.au/census_services/getproduct/census/ | | 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. | |||
|- | |- | ||
! scope="row" | pop2_year | |||
| | | ??{{pb}}(recommended for all except protected) | ||
| Year applicable to the second population figure | |||
| Year applicable to the 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}} | |||
|- | |- | ||
! scope="row" | pop2_footnotes | |||
| | | ??{{pb}}(recommended for all except protected) | ||
| Footnote demonstrating the second population statistic | |||
| [http://www.abs.gov.au/ ABS] (generic)<br />[http://www.censusdata.abs.gov.au/census_services/getproduct/census/ | | '''Prerequisite parameters:''' | ||
| wikitext (can contain links) | * 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}}Best when used with <nowiki><ref></ref></nowiki> tags and {{tl|Census 2016 AUS}} | |||
|- | |- | ||
! scope="row" | poprank | |||
| ??{{pb}}(recommended for city) | |||
| population rank | | population rank | ||
| | | '''Prerequisite parameters:''' | ||
| | * pop | ||
| [[List of cities in Australia by population]] | |||
| number | | number | ||
|- | |- | ||
! scope="row" | density | |||
| all{{pb}}(recommended for city, region) | |||
| population density | | population density | ||
| | | Will auto-calculate if both pop and area are defined | ||
| [http://www.abs.gov.au/ ABS] | |[http://www.abs.gov.au/ ABS] | ||
| unformatted number | | unformatted number, in people/km² | ||
|- | |- | ||
! scope="row" | density_footnotes | |||
| all{{pb}}(recommended for city, region) | |||
| population density footnote for references | | population density footnote for references | ||
| | | | ||
| [http://www.abs.gov.au/ ABS] | |[http://www.abs.gov.au/ ABS] | ||
| wikitext (can contain links) | | wikitext (can contain links){{pb}}Best when used with <nowiki><ref></ref></nowiki> tags and a citation template | ||
|- | |- | ||
! scope="row" | established | |||
| | | all | ||
| Date the location was established | |||
| Date the location was established | | If the exact date is unknown, a year will suffice | ||
| <!-- Potential sources --> | |||
| date | | date | ||
|- | |- | ||
! scope="row" | established_footnotes | |||
| | | all | ||
| | | Reference demonstrating the establishment date | ||
| | | <!-- Notes --> | ||
| wikitext (can contain links) | | <!-- Potential sources --> | ||
| wikitext (can contain links){{pb}}Best when used with <nowiki><ref> </ref></nowiki> tags and a citation template | |||
|- | |- | ||
! scope="row" | abolished | |||
| | | all | ||
| Date the location was abolished | |||
| Date the location was abolished | | If the exact date is unknown, a year will suffice | ||
| <!-- Potential sources --> | |||
| date | | date | ||
|- | |- | ||
! scope="row" | gazetted | |||
| all | |||
| Date the place name was [[Gazetteer of Australia|gazetted]] | | Date the place name was [[Gazetteer of Australia|gazetted]] | ||
| | | <!-- Notes --> | ||
| | | <!-- Potential sources --> | ||
| date | | date | ||
|- | |- | ||
! scope="row" | postcode | |||
| | | all{{pb}}(recommended for suburb, town) | ||
| Postcode(s) for the place | |||
| [http://auspost.com.au/apps/postcode.html Australia Post postcode search tool] | | <!-- Potential sources --> | ||
|[http://auspost.com.au/apps/postcode.html Australia Post postcode search tool] | |||
| number | | number | ||
|- | |- | ||
! scope="row" | elevation | |||
| measured from sea level in metres | | all{{pb}}(recommended for suburb, town) | ||
| | | The elevation, measured from sea level in metres | ||
| | | <!-- Notes --> | ||
| unformatted number | | <!-- Potential sources --> | ||
| unformatted number in metres | |||
|- | |- | ||
! scope="row" | elevation_footnotes | |||
| | | all{{pb}}(recommended for suburb, town) | ||
| Footnote demonstrating the elevation | |||
| | | <!-- Notes --> | ||
| wikitext (can contain links) | | <!-- Potential sources --> | ||
| wikitext (can contain links){{pb}}Best when used with <nowiki><ref> </ref></nowiki> tags and a citation template | |||
|- | |- | ||
! scope="row" | area | |||
| | | all | ||
| | | The area of the location | ||
| <!-- Notes --> | |||
| [http://www.abs.gov.au/ ABS] | | [http://www.abs.gov.au/ ABS] | ||
| unformatted number | | unformatted number in km<sup>2</sup> | ||
|- | |- | ||
! scope="row" | area_footnotes | |||
| area | | all | ||
| | | Footnote demonstrating the area | ||
| <!-- Notes --> | |||
| [http://www.abs.gov.au/ ABS] | | [http://www.abs.gov.au/ ABS] | ||
| wikitext (can contain links) | | wikitext (can contain links){{pb}}Best when used with <nowiki><ref> </ref></nowiki> tags and a citation template | ||
|- | |- | ||
! scope="row" | timezone | |||
| | | all{{pb}}(recommended for city, suburb, town, lga, region) | ||
| Timezone of the location | |||
| See [[Time in Australia#Time zones and legislation|Time in Australia]] | | See [[Time in Australia#Time zones and legislation|Time in Australia]] | ||
| | | <!-- Potential sources --> | ||
| Plain text, linked. Either the full name or the abbreviation can be used (e.g., either <code><nowiki>[[Australian Western Standard Time]]</nowiki></code> or <code><nowiki>[[Australian Western Standard Time|AWST]]</nowiki></code> can be used). | |||
|- | |- | ||
! scope="row" | utc | |||
| | | all{{pb}}(recommended for city, suburb, town, lga, region) | ||
| UTC offset of the timezone | |||
| | | <!-- Notes --> | ||
| "+" followed by number | | <!-- Potential sources --> | ||
| "+" followed by number, e.g., <code>+8:00</code> (for AWST) | |||
|- | |- | ||
! scope="row" | timezone-dst | |||
| | | 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). | |||
|- | |- | ||
! scope="row" | utc-dst | |||
| | | 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. | ||
| "+" followed by number | | <!-- Potential sources --> | ||
| "+" followed by number, e.g., <code>+11:00</code> (for AEDT) | |||
|- | |- | ||
! scope="row" | mayor | |||
| Mayor of LGA | | lga | ||
| Mayor of the LGA | |||
| Name of the mayor only. Do not include titles, postnominals or political party information. | | Name of the mayor only. Do not include titles, postnominals or political party information. | ||
| | | <!-- Potential sources --> | ||
| Plain text | |||
|- | |- | ||
! scope="row" | mayortitle | |||
| lga | |||
| Title of the mayor | | Title of the mayor | ||
| | | | ||
| | | <!-- Potential sources --> | ||
| | | Wikitext (can be wikilinked), or blank. | ||
If left blank, will default to "[[Mayor]]". | |||
|- | |- | ||
! scope="row" | location# (up to location5) | |||
| ''See Notes below'' | | 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. | |||
|- | |- | ||
! scope="row" | dist# (up to dist5) | |||
| | | 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 | |||
|- | |- | ||
! scope="row" | dir# (up to dir5) | |||
| ''See Notes below'' | | 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>). | |||
|- | |- | ||
! scope="row" | lga | |||
| | | all{{pb}}(recommended for city, suburb, town) | ||
| Name of the local government area | |||
| 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. | |||
|- | |- | ||
! scope="row" | lga2{{pb}}lga3{{pb}}lga4{{pb}}lga5 | |||
| | | all{{pb}}(recommended for city, suburb, town) | ||
| Names of additional LGAs | |||
| If more than 5 LGAs are required, use {{tl|plainlist}} as necessary. See [https://en.wikipedia.org/w/index.php?title=Hunter_Region&oldid=615428967 Hunter Region] for an example. | | This parameter displays in a way that makes no sense when {{para|type|lga}}, but it can be used if necessary. | ||
| | If more than 5 LGAs are required, use {{tl|plainlist}} as necessary. See [https://en.wikipedia.org/w/index.php?title=Hunter_Region&oldid=615428967 Hunter Region] for an example. | ||
| <!-- Potential sources --> | |||
| Plain text, can be wikilinked. If no wikilink is given, the text will be automatically wikilinked. | |||
|- | |- | ||
! scope="row" | seat | |||
| LGA | | 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. | |||
|- | |- | ||
! scope="row" | region | |||
| all{{pb}}(recommended for city, suburb, town, lga, cadastral, protected) | |||
| Name of region location is in | | Name of region location is in | ||
| | | <!-- Notes --> | ||
| | | <!-- Potential sources --> | ||
| | | Plain text, can be wikilinked. If no wikilink is given, the text will be automatically wikilinked. | ||
|- | |- | ||
! scope="row" | county | |||
| | | all{{pb}}(recommended for city, suburb, town, lga) | ||
| Name of the county (a type of [[Lands administrative divisions of Australia|lands administrative division]]) | |||
| [[Lands administrative divisions of Australia]] | | 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. | |||
|- | |- | ||
! scope="row" | parish | |||
| | | all{{pb}}(recommended for city, suburb, town) | ||
| Name of the parish (a type of [[Lands administrative divisions of Australia|lands administrative division]]) | |||
| [[Lands administrative divisions of Australia]] | | 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. | |||
|- | |- | ||
! scope="row" | hundred | |||
| lands administrative division | | 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. | |||
|- | |- | ||
! scope="row" | former_hundred | |||
| lands administrative division | | 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. | |||
|- | |- | ||
! scope="row" | division | |||
| lands administrative division | | cadastral | ||
| | | Name of the division (a type of [[Lands administrative divisions of Australia|lands administrative division]]) | ||
| Only used in NSW - [[lands administrative divisions of New South Wales]] | |||
| | | <!-- Potential sources --> | ||
| Plain text, can be wikilinked. | |||
|- | |- | ||
! scope="row" | stategov{{pb}}stategov2{{pb}}stategov3{{pb}}stategov4{{pb}}stategov5{{pb}} | |||
| | | all{{pb}}(recommended for city, suburb, town, lga, region) | ||
| The place's state government electorate(s) | |||
| | | <!-- Notes--> | ||
| | | <!-- Potential sources --> | ||
| Plain text, can be wikilinked. | |||
|- | |- | ||
! scope="row" | fedgov{{pb}}fedgov2{{pb}}fedgov3{{pb}}fedgov4{{pb}} | |||
| all{{pb}}(recommended for city, suburb, town, lga, region) | |||
| city, suburb, town, lga, region | | The place's federal government electorate(s) | ||
| | | <!-- Notes--> | ||
| | | <!-- Potential sources --> | ||
| Plain text, can be wikilinked. | |||
|- | |- | ||
! scope="row" | logo | |||
| | | 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:") | |||
|- | |- | ||
! scope="row" | logo_upright | |||
| | | 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]]. | |||
|- | |- | ||
! scope="row" | logo_alt | |||
| | | all{{pb}}(recommended for lga) | ||
| | | [[MOS:ALT|Alt text]] for the logo | ||
| | | <!-- Notes--> | ||
| | | <!-- Potential sources --> | ||
| Wikitext, can be wikilinked. | |||
|- | |- | ||
! scope="row" | visitation_num | |||
| | | protected | ||
| | | The number of visitors in a recent year | ||
| | | <!-- Notes--> | ||
| number | | <!-- Potential sources --> | ||
| Unformatted number | |||
|- | |- | ||
! scope="row" | visitation_year | |||
| protected | |||
| protected | | The year when <code>visitation_num</code> was counted | ||
| The | | '''Prerequisite parameters:''' | ||
| | * visitation_num | ||
| <!-- Potential sources --> | |||
| Unformatted year | |||
|- | |- | ||
! scope="row" | visitation_footnotes | |||
| protected | |||
| 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 | |||
|- | |- | ||
! scope="row" | managing_authorities | |||
| protected | |||
| protected | |||
| authority that manages the area | | authority that manages the area | ||
| Name of the authority or organisation 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. | |||
|- | |- | ||
! scope="row" | url | |||
| | | all{{pb}}(recommended for lga, protected) | ||
| URL for the location's individual website | |||
| | | Do not use for former LGAs | ||
| | | <!-- Potential sources --> | ||
| Bare url, e.g., http://www.example.com | |||
|- | |- | ||
! scope="row" | maxtemp | |||
| | | all{{pb}}(recommended for suburb, town) | ||
| | | Maximum average annual temperature | ||
| [http://www.bom.gov.au/climate/data/ Bureau of Meteorology] | | <!-- Notes --> | ||
| number | | [http://www.bom.gov.au/climate/data/ Bureau of Meteorology's climate data] | ||
| unformatted number, in °C | |||
|- | |- | ||
! scope="row" | maxtemp_footnotes | |||
| | | all{{pb}}(recommended for suburb, town) | ||
| Footnote demonstrating the maximum temperature | |||
| [http://www.bom.gov.au/climate/data/ Bureau of Meteorology] | | <!-- 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 | |||
|- | |- | ||
! scope="row" | mintemp | |||
| | | all{{pb}}(recommended for suburb, town) | ||
| | | Minimum average annual temperature | ||
| [http://www.bom.gov.au/climate/data/ Bureau of Meteorology] | | <!-- Notes --> | ||
| number | |[http://www.bom.gov.au/climate/data/ Bureau of Meteorology's climate data] | ||
| unformatted number, in °C | |||
|- | |- | ||
! scope="row" | mintemp_footnotes | |||
| | | all{{pb}}(recommended for suburb, town) | ||
| Footnote demonstrating the minimum temperature | |||
| [http://www.bom.gov.au/climate/data Bureau of Meteorology] | | <!-- Notes --> | ||
| wikitext (can contain links) | |[http://www.bom.gov.au/climate/data/ Bureau of Meteorology's climate data] | ||
| wikitext (can contain links){{pb}}Best when used with <nowiki><ref> </ref></nowiki> tags and a citation template | |||
|- | |- | ||
! scope="row" | rainfall | |||
| | | all{{pb}}(recommended for suburb, town) | ||
| | | Average annual rainfall | ||
| [http://www.bom.gov.au/climate/data/ Bureau of Meteorology] | | <!-- Notes --> | ||
| unformatted number | | [http://www.bom.gov.au/climate/data/ Bureau of Meteorology's climate data] | ||
| unformatted number, in mm | |||
|- | |- | ||
! scope="row" | rainfall_footnotes | |||
| | | all{{pb}}(recommended for suburb, town) | ||
| Footnote demonstrating the annual rainfall | |||
| [http://www.bom.gov.au/climate/data/ Bureau of Meteorology] | | <!-- Notes --> | ||
| wikitext (can contain links) | | [http://www.bom.gov.au/climate/data/ Bureau of Meteorology's climate data] | ||
| wikitext (can contain links){{pb}}Best when used with <nowiki><ref> </ref></nowiki> tags and a citation template | |||
|- | |- | ||
! scope="row" | near-n{{pb}}near-ne{{pb}}near-e{{pb}}near-se{{pb}}near-s{{pb}}near-sw{{pb}}near-w{{pb}}near-nw | |||
| | | all{{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. | |||
| | | <!-- Potential sources --> | ||
| Plain text, linked. Can be formatted. | |||
For example, the LGA of the [[City of Melville]] has a neighbour to its east, the [[City of Canning]]. Canning would be entered as <code><nowiki>|near-e=[[City of Canning]]</nowiki></code> (or <code><nowiki>[[City of Canning|Canning]]</nowiki></code>, to save space). The City of Melville is also neighboured at its north by the [[Swan River (Western Australia)]]. This would be entered as <code><nowiki>|near-n=''[[Swan River (Western Australia)|Swan River]]''</nowiki></code> (in italics as it is not another LGA) | |||
|- | |- | ||
! scope="row" | near | |||
| all{{pb}}(recommended for suburb, lga) | |||
| Central to neighbours | | 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 | | plain text, link (ideally to a section of the article with further information) | ||
|- | |- | ||
! scope="row" | footnotes | |||
| | | all | ||
| | | General footnotes, used to provide footnotes supporting information in parameters without a dedicated parameter for footnotes. | ||
| | | <!-- Notes --> | ||
| wikitext (can contain links) | | <!-- Potential sources --> | ||
| wikitext (can contain links){{pb}}Best when used with <nowiki><ref> </ref></nowiki> tags. | |||
|- | |- | ||
! scope="row" | _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 | | <!-- 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=" | ! scope="row" | coordinates | ||
! | ! colspan="5" | See {{slink||coordinates}} for details | ||
|- | |- | ||
! scope="row" | map_alt | |||
| | | all | ||
|- | | [[MOS:ALT|Alt text]] for the location map | ||
| '''Prerequisite parameters:''' | |||
| | * <code>coordinates</code> | ||
| wikitext (can contain links) | |||
|- | |||
! scope="row" | map_type | |||
| all | |||
| Toggles whether a location map is automatically generated | |||
| '''Prerequisite parameters:''' | |||
* <code>coordinates</code> | |||
| Available options are: | |||
* <code>nomap</code> to suppress automatically generated location map | |||
* <code>auto</code> or leave it blank, to allow the automatically generated location map | |||
|- | |||
! scope="row" | map_scale | |||
| all | |||
| 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 | |||
| | | all | ||
| Forces relief-style map, if available | |||
| '''Prerequisite parameters:''' | |||
* <code>coordinates</code> | |||
| <code>yes</code> to force relief-style map, or leave blank<!-- Anything in this parameter will force the relief map to be used. For consistency though, let's force people to use something simple and obvious. --> | |||
|- | |- | ||
| scope="row" style="background: | ! 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". | |||
|} | |} | ||
=== IUCN | == Notes == | ||
Depending on the value | |||
===IUCN categories for protected areas=== | |||
Depending on the value given for {{para|iucn_category}}, one of the following banners will be displayed below the name. Valid values are Ia, Ib, II, III, IV, V and VI. For more information read the [[IUCN protected area categories]] article. | |||
{| style="border:1px solid gray; width:300px; font-size: 90%; text-align: center; line-height: 1.5;" | {| style="border:1px solid gray; width:300px; font-size: 90%; text-align: center; line-height: 1.5;" | ||
Line 590: | Line 798: | ||
|} | |} | ||
<section begin=image_upright /> | <section begin=image_upright /> | ||
=== Calculating "image_upright" === | === Calculating "image_upright" === | ||
The <code>image_upright</code> parameter, and <code>image2_upright</code> and <code>logo_upright</code> where applicable, is/are provided so as to facilitate the use of scalable images in this infobox, in accordance with the instructions at [[WP:IMAGESIZE]], which advises against the use of | 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. | ||
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. <!-- This is not a real sentence in any way: (size is default multiplied by upright value then rounded to nearest 10) --> | |||
{{div col|colwidth=20em}} | |||
{{startplainlist}} | |||
* <code><nowiki>170px</nowiki></code> → <code><nowiki>upright=0.75</nowiki></code> | |||
* <code><nowiki>180px</nowiki></code> → <code><nowiki>upright=0.8</nowiki></code> | |||
* <code><nowiki>190px</nowiki></code> → <code><nowiki>upright=0.85</nowiki></code> | |||
* <code><nowiki>200px</nowiki></code> → <code><nowiki>upright=0.9</nowiki></code> | |||
* <code><nowiki>210px</nowiki></code> → <code><nowiki>upright=0.95</nowiki></code> | |||
* <code><nowiki>220px</nowiki></code> → <code><nowiki>upright=1</nowiki></code> | |||
* <code><nowiki>230px</nowiki></code> → <code><nowiki>upright=1.05</nowiki></code> | |||
* <code><nowiki>240px</nowiki></code> → <code><nowiki>upright=1.1</nowiki></code> | |||
* <code><nowiki>250px</nowiki></code> → <code><nowiki>upright=1.15</nowiki></code> | |||
* <code><nowiki>260px</nowiki></code> → <code><nowiki>upright=1.2</nowiki></code> | |||
* <code><nowiki>270px</nowiki></code> → <code><nowiki>upright=1.23</nowiki></code> | |||
* <code><nowiki>280px</nowiki></code> → <code><nowiki>upright=1.25</nowiki></code> | |||
* <code><nowiki>290px</nowiki></code> → <code><nowiki>upright=1.3</nowiki></code> | |||
* <code><nowiki>300px</nowiki></code> → <code><nowiki>upright=1.35</nowiki></code> | |||
{{endplainlist}} | |||
{{div col end}}<section end=image_upright /> | |||
=== | === Footnote and reference parameters === | ||
Any references should be placed within the respective | Any references to support a parameter reserved solely for a numeric value should be placed within the respective {{para|..._footnotes}} or {{para|..._ref}} parameters. For example, place the reference used for the area of City X in the {{para|area_footnotes}} parameters and not in the {{para|area}} parameter. Otherwise, an error may result. | ||
=== Unformatted numbers and expression errors === | === Unformatted numbers and expression errors === | ||
Certain | Certain parameters require numeric values to be entered in an unformatted/raw fashion—i.e. 1000.0 ''not'' 1,000.0. If an expression error is present, simply remove any commas or spaces from the number. | ||
<!-- === Maps === | <!-- === Maps === | ||
For some locations this infobox supports the display of links to the popular web mapping services Google and Bing. However, in order for this to function a valid map page containing a [[Keyhole Markup Language|KML]] format map must exist. As KML files cannot currently be uploaded, the text of those files must be copied into a Wikipedia page. By default, the infobox uses a file name with the same title as the article at the location <code>Template:Infobox Australian place/mapdata/<place name></code> e.g. [[Raymond Terrace, New South Wales]] uses [[Template:Infobox Australian place/mapdata/Raymond Terrace, New South Wales]]. A list of currently available maps may be found [[Template:Infobox Australian place/mapdata|here]]. --> | For some locations this infobox supports the display of links to the popular web mapping services Google and Bing. However, in order for this to function a valid map page containing a [[Keyhole Markup Language|KML]] format map must exist. As KML files cannot currently be uploaded, the text of those files must be copied into a Wikipedia page. By default, the infobox uses a file name with the same title as the article at the location <code>Template:Infobox Australian place/mapdata/<place name></code> e.g. [[Raymond Terrace, New South Wales]] uses [[Template:Infobox Australian place/mapdata/Raymond Terrace, New South Wales]]. A list of currently available maps may be found [[Template:Infobox Australian place/mapdata|here]]. --> | ||
=== Dist#, Dir# and Location# === | === Dist#, Dir# and Location# === | ||
This is the distance and approximate direction | This is the distance and approximate direction to another location. The '#' is replaced with a number between 1 and 5. Therefore, five locations can be listed, using {{para|location1}} through {{para|location5}}. The distances can be listed using {{para|dist1}} through {{para|dist5}}. Direction from the locations is optional, and can be specified using {{para|dir1}} through {{para|dir5}}. | ||
=== Population from Wikidata {{anchor|PopulationFromWikidata}} === | |||
If the {{para|pop}} parameter is left empty or not supplied, the template will attempt to retrieve population data from Wikidata. For more information, see the documentation of [[Module:PopulationFromWikidata]]. This is a new feature as of June 2022 (to coincide with the release of the 2021 Australian Census data). Please report any feedback to [[Template talk:Infobox Australian place]]. | |||
== Where to find information == | == Where to find information == | ||
* [[Wikipedia:WikiProject Australian places#Useful Resources | * [[Wikipedia:WikiProject Australian places#Useful Resources]] | ||
* [http://www.abs.gov.au/ Australian Bureau of Statistics] | * [http://www.abs.gov.au/ Australian Bureau of Statistics] | ||
* [http://alga.asn.au/?ID=7030&Menu=56,199,415 LGA links for each state] | * [http://alga.asn.au/?ID=7030&Menu=56,199,415 LGA links for each state] | ||
* [http://www.bom.gov.au/climate/data/ Bureau of Meteorology] | * [http://www.bom.gov.au/climate/data/ Climate Data Online at the Bureau of Meteorology] | ||
== Tracking categories == | == Tracking categories == | ||
=== Deprecated | * {{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 === | === 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 {{para|pop_year}} or {{para|pop2_year}} parameters are automatically added. | ||
* {{ | * {{Category link with count|Australian place articles with no population footnotes}} – articles missing {{para|pop_footnotes}} or {{para|pop2_footnotes}} parameters are automatically added. | ||
* {{ | * {{Category link with count|Australian place articles with density errors}} | ||
* {{ | * {{Category link with count|Pages using infobox Australian place with unknown parameters}} – articles using parameters that are not included in the infobox. This category may include articles with incorrectly spelled parameters. | ||
=== Temporary === | === Temporary === | ||
* {{ | * {{Category link with count|Pages using infobox Australian place with non-lga type and suppressed location map}} | ||
* {{ | * {{Category link with count|Pages using infobox Australian place with lga type and location map}} | ||
* {{ | * {{Category link with count|Pages using infobox Australian place with an implicitly-suppressed location map}} | ||
* {{Category link with count|Pages using infobox Australian place with an explicitly-suppressed location map}} | |||
== Subpages == | == Subpages == | ||
Line 677: | Line 867: | ||
: [[Template:Infobox Australian place/Blank]] | : [[Template:Infobox Australian place/Blank]] | ||
: [[Template:Infobox Australian place/Examples]] | : [[Template:Infobox Australian place/Examples]] | ||
: [[Template:Infobox Australian place/doc]] | : [[Template:Infobox Australian place/doc]]<!-- | ||
<!-- : [[Template:Infobox Australian place/KML]] --> | : [[Template:Infobox Australian place/KML]] --> | ||
: [[Template:Infobox Australian place/sandbox]] | : [[Template:Infobox Australian place/sandbox]] | ||
: [[Template:Infobox Australian place/sandbox/doc]] | : [[Template:Infobox Australian place/sandbox/doc]] | ||
: [[Template:Infobox Australian place/testcases]] | : [[Template:Infobox Australian place/testcases]] | ||
<!-- All subpages | <!-- All subpages | ||
{{Special:PrefixIndex/Template:Infobox Australian place}} --> | {{Special:PrefixIndex/Template:Infobox Australian place}} --> | ||
Line 689: | Line 879: | ||
== TemplateData == | == TemplateData == | ||
{{TemplateData header}} | {{Collapse top|title=[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools}} | ||
{{TemplateData header|noheader=1}} | |||
<templatedata> | <templatedata> | ||
{ | { | ||
Line 698: | Line 889: | ||
"description": "The type of place, which determines the look of the infobox. Can be empty or one of the following: 'city', 'suburb', 'town', 'lga', 'region', or 'cadastral'.", | "description": "The type of place, which determines the look of the infobox. Can be empty or one of the following: 'city', 'suburb', 'town', 'lga', 'region', or 'cadastral'.", | ||
"type": "string", | "type": "string", | ||
"required": false | "required": false, | ||
"suggestedvalues": [ | |||
"city", | |||
"suburb", | |||
"town", | |||
"lga", | |||
"region", | |||
"cadastral", | |||
"protected", | |||
"other" | |||
] | |||
}, | }, | ||
"name": { | "name": { | ||
Line 716: | Line 917: | ||
"description": "The abbreviation for the state the place in located in, which can be uppercase or lowercase.", | "description": "The abbreviation for the state the place in located in, which can be uppercase or lowercase.", | ||
"type": "string", | "type": "string", | ||
"required": false | "required": false, | ||
"suggestedvalues": [ | |||
"sa", | |||
"vic", | |||
"nsw", | |||
"qld", | |||
"nt", | |||
"wa", | |||
"tas", | |||
"act", | |||
"jbt", | |||
"ni", | |||
"au" | |||
] | |||
}, | }, | ||
"image": { | "image": { | ||
Line 768: | Line 982: | ||
"coordinates": { | "coordinates": { | ||
"label": "Coordinates", | "label": "Coordinates", | ||
"description": "Coordinates of the locality. Use {{coord}} with 'display=inlines,title' | "description": "Coordinates of the locality. Use {{coord}} with 'display=inlines,title'. Please don't be overly precise.", | ||
"type": "string", | "type": "string", | ||
"required": false | "required": false | ||
}, | }, | ||
Line 859: | Line 1,031: | ||
"pop": { | "pop": { | ||
"label": "Population", | "label": "Population", | ||
"description": "The total population of the place.", | "description": "The total population of the place. If left empty, population data will be displayed from Wikidata (for appropriate geography).", | ||
"type": "number", | "type": "number", | ||
"required": false | "required": false | ||
Line 1,327: | Line 1,499: | ||
"type": "string", | "type": "string", | ||
"required": false | "required": false | ||
}, | |||
"native_name": { | |||
"label": "Native name", | |||
"description": "Name in the local language if different to 'name'.", | |||
"type": "line" | |||
}, | |||
"native_name_lang": { | |||
"label": "Native name language", | |||
"description": "ISO 639-1 code for the native language, e.g. \"fr\" for French.", | |||
"type": "string" | |||
} | } | ||
} | } | ||
} | } | ||
</templatedata> | </templatedata> | ||
{{Collapse bottom}} | |||
<includeonly>{{ | <includeonly>{{Sandbox other| | ||
| <!-- Categories below this line, please; interwikis at Wikidata --> | | <!-- Categories below this line, please; interwikis at Wikidata --> | ||
{{DEFAULTSORT:Australian Place}} | {{DEFAULTSORT:Australian Place}} | ||
[[Category:Australia infobox templates|Place | [[Category:Australia place infobox templates|Place]] | ||
[[Category:Templates that add a tracking category|{{PAGENAME}}]] | [[Category:Templates that add a tracking category|{{PAGENAME}}]] | ||
}}</includeonly> | }}</includeonly> |
Revision as of 06:58, 29 June 2022
This is a documentation subpage for Template:Terminate sentence It contains 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. |
File:Lua-Logo.svg | This template uses Lua: |
Template:Auto short description
Template:Infobox Australian place/pagelinks
Purpose[edit]
{{Infobox Australian place}} is used to add infoboxes to articles on places in Australian states and territories. It is not limited to populated places such as cities, towns and suburbs, but may be used on any place including regions, local government areas, cadastral units, protected areas and even some areas that do not fall into any of the preceding descriptions and for which no other infobox is appropriate. It is the standard infobox used in Australian articles. Australian articles using {{Infobox settlement}} should be converted to use this infobox.
The infobox has been extensively customised for Australia and includes automation that results in some parameters being redundant to other parameters. For example, if population density (in the |density=
parameter) is not specified, this will be automatically generated based on the |pop=
and |area=
parameters. It is therefore important to read parameter descriptions thoroughly, to avoid unnecessarily providing redundant or incorrect information.
For infoboxes that require reformatting, general cleanup or addition of missing parameters, Template:Infobox Australian place/cleanup can be substituted. This will reformat the infobox and remove invalid parameters.
Usage[edit]
To use this template[edit]
- 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 Template:Slink, 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[edit]
- Examples of this template can be found on the examples page.
Parameters[edit]
Both type
and state
are required parameters. All other parameters used by this template are optional.
Required[edit]
These parameters must be set for every infobox as they affect the behaviour of many other parameters.
The |type=
parameter sets up the template for a specific type of location. It regulates which parameters can be used and sets the 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 Template:Slink.) | |
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[edit]
Parameter | Available for |type=
|
Description | Notes | Potential sources | Values |
---|---|---|---|---|---|
name | all | Name of infobox's place | Plain text.
If this parameter is not present in the article, the template will use the name of the article. If the parameter exists, but the place name is not defined, the infobox title will be blank. | ||
native_name | all | 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 | |
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 locator map template is not available in Category:Australia location map modules. | filename | |
image2_upright | all | Width of the second image of the locality (in relation to default thumbnail size) | The size should not be set to a value that would result in an image width greater than 300px. See help below for guidance on determining the value to be used, and WP:IMGSIZE for rationale. | Unformatted number. If not specified, the image width defaults to 1.23 , which is approximately 270px for readers that haven't changed their default thumbnail size at Special:Preferences.
| |
caption2 | all | caption for the second locality image | wikitext (can contain links) | ||
image2_alt | all | Alt text for the image | wikitext (can contain links) | ||
nearest_town_or_city | protected | nearest town or city to the area | If the area is not within a town or city, the nearest town or city to the area can be listed here. If only one, wikilinking may be omitted as the article will be automatically linked. If there are more than one, use {{Plainlist}}. | Wikitext (can contain links) | |
coordinates | ??Template:Pb(recommended for all) | Displays coordinates of the locality. Triggers a map to automatically generate (can be adjusted in various ways). | 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 Template:Slink. A second map can be generated using wikidata as well (see Template:Slink). |
Example: {{Coord|32|45|41.3|S|151|44|38.6|E|type:city_region:AU-NSW|display=inline,title}} | |
pop | ??Template:Pb(recommended for all except protected) | Population statistic (use approximate if |type=region )
|
If left empty, population data will be displayed from Wikidata (for appropriate geography). See Notes below for more information. | ABS (generic) 2016 Census QuickStats |
Number. should be plain, either with or without a comma. i.e. 12345 or 12,345
Do not add anything else, including years or references. |
pop_year | ??Template:Pb(recommended for all except protected) | Year applicable to the population figure | Prerequisite parameters:
|
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 | See Time in Australia | Plain text, linked. Either the full name or the abbreviation can be used (e.g., either [[Australian Western Standard Time]] or [[Australian Western Standard Time|AWST]] can be used).
| |
utc | allTemplate:Pb(recommended for city, suburb, town, lga, region) | UTC offset of the timezone | "+" followed by number, e.g., +8:00 (for AWST)
| ||
timezone-dst | allTemplate:Pb(recommended for city, suburb, town, lga, region) | Daylight saving timezone | NT, Qld and WA are the only internal states and territories which do not have any daylight saving timezone. | Daylight saving time in Australia | Plain text, linked. Either the full name or the abbreviation can be used (e.g., either [[Australian Eastern Daylight Time]] or [[Australian Eastern Daylight Time|AEDT]] can be used).
|
utc-dst | allTemplate:Pb(recommended for city, suburb, town, lga, region) | UTC offset of the daylight saving timezone | NT, Qld and WA are the only internal states and territories which do not have any daylight saving timezone. | "+" followed by number, e.g., +11:00 (for AEDT)
| |
mayor | lga | Mayor of the LGA | Name of the mayor only. Do not include titles, postnominals or political party information. | Plain text | |
mayortitle | lga | Title of the mayor | Wikitext (can be wikilinked), or blank.
If left blank, will default to "Mayor". | ||
location# (up to location5) | allTemplate:Pb(recommended for city, suburb, town) | Specified location(s) to display the distance and direction to | Normally other cities or population centres.Template:PbSee Template:Slink below | Maps such as Google Earth | Plain text, may be wikilinked. If no wikilink is given, the text will be automatically wikilinked. |
dist# (up to dist5) | allTemplate:Pb(recommended for city, suburb, town) | The distance by road (not direct) to the specified location(s) | Distance by road, not direct.Template:PbSee Template:Slink below | Maps such as Google earth, whereis, Visit Victoria route planner | unformatted number in km |
dir# (up to dir5) | allTemplate:Pb(recommended for city, suburb, town) | The direction (preferably cardinal) of the specified location(s), normally other cities or population centres | See Template:Slink below | Plain text. Normally a cardinal direction, either as an initialism (e.g. N , SE , NWW ) or the word in lower case (per MOS:COMPASS; e.g., north , south-east , north-west-west ).
| |
lga | allTemplate:Pb(recommended for city, suburb, town) | Name of the local government area | This parameter will display in a way that makes little sense when |type=lga , but it can be used if necessary.
|
NSW Geographical Names Board | Plain text, may be wikilinked. If no wikilink is given, the text will be automatically wikilinked. |
lga2Template:Pblga3Template:Pblga4Template:Pblga5 | allTemplate:Pb(recommended for city, suburb, town) | Names of additional LGAs | This parameter displays in a way that makes no sense when |type=lga , but it can be used if necessary.
If more than 5 LGAs are required, use {{plainlist}} as necessary. See Hunter Region for an example. |
Plain text, can be wikilinked. If no wikilink is given, the text will be automatically wikilinked. | |
seat | allTemplate:Pb(recommended for lga) | Council seat of the LGA | Plain text, can be wikilinked. If no wikilink is given, the text will be automatically wikilinked. | ||
region | allTemplate:Pb(recommended for city, suburb, town, lga, cadastral, protected) | Name of region location is in | Plain text, can be wikilinked. If no wikilink is given, the text will be automatically wikilinked. | ||
county | allTemplate:Pb(recommended for city, suburb, town, lga) | Name of the county (a type of lands administrative division) | Not used in all areas. | NSW Geographical Names Board | Plain text, can be wikilinked. If no wikilink is given, the text will be automatically wikilinked. |
parish | allTemplate:Pb(recommended for city, suburb, town) | Name of the parish (a type of lands administrative division) | Only used in NSW, Qld and Vic. | NSW Geographical Names Board | Plain text, can be wikilinked. |
hundred | cadastral | Name of the hundred (a type of lands administrative division) | Not used in all areas. | Plain text, can be wikilinked. | |
former_hundred | cadastral | Former name of the hundred (a type of lands administrative division) | Not used in all areas. | Plain text, can be wikilinked. | |
division | cadastral | Name of the division (a type of lands administrative division) | Only used in NSW - lands administrative divisions of New South Wales | Plain text, can be wikilinked. | |
stategovTemplate:Pbstategov2Template:Pbstategov3Template:Pbstategov4Template:Pbstategov5Template:Pb | allTemplate:Pb(recommended for city, suburb, town, lga, region) | The place's state government electorate(s) | Plain text, can be wikilinked. | ||
fedgovTemplate:Pbfedgov2Template:Pbfedgov3Template:Pbfedgov4Template:Pb | allTemplate:Pb(recommended for city, suburb, town, lga, region) | The place's federal government electorate(s) | Plain text, can be wikilinked. | ||
logo | allTemplate:Pb(recommended for lga) | Logo of place | For LGAs, these can be sourced from individual LGA websites. | Image link (do not include "File:" or "Image:") | |
logo_upright | allTemplate:Pb(recommended for lga) | Width of logo (in relation to default thumbnail size) | The size should not be set to a value that would result in an logo width greater than 300px. See help below for guidance on determining the value to be used, and WP:IMGSIZE for rationale. | Unformatted number. If not specified, the logo width defaults to 1.23 , which is approximately 270px for readers that haven't changed their default thumbnail size at Special:Preferences.
| |
logo_alt | allTemplate:Pb(recommended for lga) | Alt text for the logo | Wikitext, can be wikilinked. | ||
visitation_num | protected | The number of visitors in a recent year | Unformatted number | ||
visitation_year | protected | The year when visitation_num was counted
|
Prerequisite parameters:
|
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 |
Locator map generated by coordinates[edit]
The recommended and most common locator map is auto-generated by |coordinates=
, but can be toggled off using |map_type=nomap
(see in table). All of the following parameters require |coordinates=
to be properly set using {{coord}}.
Parameter | Available for |type=
|
Description | Notes | Values | |
---|---|---|---|---|---|
coordinates | See Template:Slink 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:
| |
map_scale | all | Changes scale of map from the default | Prerequisite parameters:
|
Unformatted number. See {{coord}} for examples. | |
force_national_map | allTemplate:Pb(recommended for city, region, protected) | Forces locator map to use a map of Australia as a whole | Prerequisite parameters:
|
yes to force map of Australia, or leave blank. Plain text, do not link
| |
use_lga_map | allTemplate:Pb(recommended for suburb, lga, protected) | Forces locator map to use the LGA's map which is available to Module:Location map | First confirm whether there is a map for that LGA - see Category:Australia location map modules.Template:PbPrerequisite parameters:
|
yes to force map of the LGA, or leave blank
| |
alternative_location_map | all | Forces the locator map to use an alternative map available to Module:Location map | It can be used to display an LGA map in infoboxes where |lga= cannot be set.Template:PbPrerequisite parameters:
|
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 | The caption on the pushpin (the location of the coordinates) | 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
|
Locator map generated by wikidata[edit]
A second map can be generated using pre-defined wikidata. This can either replace, or be in addition to, the map generated by the |coordinates=
parameter. It will display below the Template:Slink 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[edit]
IUCN categories for protected areas[edit]
Depending on the value given for |iucn_category=
, one of the following banners will be displayed below the name. Valid values are Ia, Ib, II, III, IV, V and VI. For more information read the IUCN protected area categories article.
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"[edit]
The image_upright
parameter, and image2_upright
and logo_upright
where applicable, is/are provided so as to facilitate the use of scalable images in this infobox, in accordance with the instructions at WP:IMAGESIZE, which advises against the use of "px" (for example: thumb|300px
), as this forces a fixed image width.
Scalable images respect the user's base preference, which may have been selected for that user's particular devices. Module:InfoboxImage, which is used in this infobox, accommodates the use of scaling. However, setting the appropriate scale is slightly more complex than setting a raw "px" value. This guide provides a quick conversion table to make the process of setting a scale easier. It is based on a default thumbnail setting of 220px.
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[edit]
Any references to support a parameter reserved solely for a numeric value should be placed within the respective |..._footnotes=
or |..._ref=
parameters. For example, place the reference used for the area of City X in the |area_footnotes=
parameters and not in the |area=
parameter. Otherwise, an error may result.
Unformatted numbers and expression errors[edit]
Certain parameters require numeric values to be entered in an unformatted/raw fashion—i.e. 1000.0 not 1,000.0. If an expression error is present, simply remove any commas or spaces from the number.
Dist#, Dir# and Location#[edit]
This is the distance and approximate direction to another location. The '#' is replaced with a number between 1 and 5. Therefore, five locations can be listed, using |location1=
through |location5=
. The distances can be listed using |dist1=
through |dist5=
. Direction from the locations is optional, and can be specified using |dir1=
through |dir5=
.
Population from Wikidata [edit]
If the |pop=
parameter is left empty or not supplied, the template will attempt to retrieve population data from Wikidata. For more information, see the documentation of Module:PopulationFromWikidata. This is a new feature as of June 2022 (to coincide with the release of the 2021 Australian Census data). Please report any feedback to Template talk:Infobox Australian place.
Where to find information[edit]
- 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[edit]
- 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[edit]
- 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[edit]
- 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[edit]
- 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[edit]
- Template:Infobox Australian place
- Template:Infobox Australian place/Blank
- Template:Infobox Australian place/Examples
- Template:Infobox Australian place/doc
- Template:Infobox Australian place/sandbox
- Template:Infobox Australian place/sandbox/doc
- Template:Infobox Australian place/testcases
Microformat[edit]
TemplateData[edit]
TemplateData documentation used by VisualEditor and other tools
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Click here to see a monthly parameter usage report for this template based on this TemplateData.
TemplateData for Infobox Australian place Display information about a place in Australia in a standard infobox format.
|