Template:Infobox Australian Place

From Wikipedia, the free encyclopedia

Enter a place name



This template employs some extremely complicated or esoteric features of template syntax.
Please do not attempt to alter it unless you are certain that you understand the setup and are prepared to repair/revert any consequent collateral damage if the results are unexpected. Any experiments should be conducted in the template sandbox or your user space.
Shortcut:
WP:IAP
See Also: Blank Infobox Template Page | Information Page | Discussion Page

[edit] Usage

To use this template
  1. Copy the relevant blank template from the Blank Infobox Template Page into the beginning of your document, remembering to put the code at the very top of the article and the first word of the article on the very next line.
  2. Enter values for the fields as outlined in the table below. Fields left blank will automatically be hidden.
  3. Preview.
  4. Save the page with an appropriate edit summary.


To upgrade an existing template to this template
  1. Copy the relevant blank template from the Blank Infobox Template Page into the beginning of your document, just above the preexisting template
  2. Copy over the values from the old template. Some of the infomation may be lost, put this into prose, or add a note to the talk page. Fields left blank will automatically be hidden.
  3. Ensure the new values follow the standards outlined in the table below.
  4. Delete the code for the old template, remembering to put the first word of the article on the very next line.
  5. Preview.
  6. Save the page with an appropriate edit summary.


Examples
  • Examples of this template can found on the talk page.

[edit] Fields

All fields used by this template are optional. The following fields are avaliable:

Field Name Description Valid for
blank = all
Source Values
type infobox type 'city', 'suburb', 'town', 'lga'
name name of locality plain text
state 'sa', 'vic', 'wa', 'tas', 'act', 'nt', 'qld', plain text, link
image generic image of the locality filename
caption caption for the locality image wikitext (can contain links)
area city, lga ABS number (km2)
lga local government area suburb, town plain text, link
lga2 2nd LGA (if applicable) suburb, town plain text, link
city suburb List of cities in Australia plain text, link
pop population ABS number
poprank population rank city List of cities in Australia by population number
density population density city ABS number (people/km2)
postcode suburb,town List of postal codes in Australia number
est established year
elevation measured from sea level town fallingrain.com number (m)
seat LGA seat lga plain text, link
mayor Mayor of LGA lga plain text
region Name of region LGA is in lga plain text, link
logo Logo of LGA lga Individual LGA website image link
url LGA website address lga Individual LGA website url link
maxtemp max average annual temperature suburb, town Bureau of Meteorology number (°C)
mintemp mix average annual temperature suburb, town Bureau of Meteorology number (°C)
rainfall average annual rainfall suburb, town Bureau of Meteorology number (mm)
stategov the state government electoral area plain text, link
fedgov the federal government electoral area plain text, link
propval suburb domain.com.au plain text, link
timezone/timezone-dst timezone/summer timezone city plain text, link
utc/utc-dst utc offset/summer utc offset city number
near-nw/n/ne/e/w/se/s/sw neighbours suburb, lga plain text, link
dist# See below town, suburb, city(other cities) travelmate.com, maps, google earth, whereis (get directions) number (km)
location# See below town, suburb, city maps, google earth plain text, link

Notes:

  • Dist# and Location#: This is the distance to another location. The '#' is replaced with a number between 1 and 5. Therefore distances, for up to to five locations, can be listed using the range 'dist1' - 'dist5', and locations can be listed as 'location1' - 'location5'. Each dist# must be partnered with an appropriate location#

[edit] Notes

The infobox type affects the colour of the top bar of the infobox.

  • Yellow: city
  • Pink: suburb
  • Green: town
  • Blue: lga
  • Gray: undefined

[edit] Where to find infomation