Revision 403044 of "قالب:Infobox Australian place/doc" on arzwiki

{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
{{esoteric}}

__NOTOC__
<includeonly>{{Shortcut|WP:IAP}}</includeonly>

<div align=center>''See also: [[Template:Infobox Australian place/Blank|Blank Infobox Template Page]] | [[Template:Infobox Australian place/doc|Documentation Page]] | [[Template Talk:Infobox Australian place|Discussion Page]]'' | ''[[Template:Infobox Australian place/Examples|Examples Page]]''</div>

== Usage ==
;To use this template: 
#Copy the relevant blank template from the <u>'''[[Template:Infobox Australian place/Blank|Blank Infobox Template Page]]'''</u> 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.
#Enter values for the fields as outlined in the [[Template:Infobox Australian place#Fields|table below]]. Fields left blank will automatically be hidden.
#Preview.
#Save the page with an appropriate edit summary.


;Examples
*Examples of this template can found on the [[Template:Infobox Australian place/Examples|Examples Page]].

== Fields ==
All fields used by this template are optional. The following fields are available:
{| class="wikitable" style="background-color: white;"
! style="background-color: whitesmoke;" | '''Field Name'''
! style="background-color: whitesmoke;" | '''Description'''
! style="background-color: whitesmoke;" | '''Valid for'''<br /><small>blank = all</small>
! style="background-color: whitesmoke;" | '''Source/Notes'''
! style="background-color: whitesmoke;" | '''Values'''
|-
| type
|   infobox type
|
|
| 'city', 'suburb', 'town', 'lga', 'region'
|-
| name
|   name of locality
|
|
|  plain text
|-
| city
|   city name
|   suburb
|   [[List of cities in Australia]]
|   plain text, may be linked
|-
| state
|   state abbreviation
|
|
|   "qld", "QLD", "nsw", "NSW", "act", "ACT", "vic", "VIC", "tas", "TAS", "sa", "SA", "wa", "WA", "nt", "NT", or leave blank for Australia - plain text, do not link
|-
| image
|   generic image of the locality
|
|
|   filename
|-
| imagesize
|   width of generic image of the locality
|
|
|   number
|-
| caption
|   caption for the locality image
|
|
|   wikitext (can contain links)
|-
| coordinates
|   ''See Notes below'' 
|
|
|
|-
| alternative_location_map
|   forces pushpin map
|   region, city
|   Forces the pushpin map to use an alternative, rather than the state map, regardless of the contents of {{para|state}}.
|   Name of the alternative map
|-
| force_national_map
|   forces pushpin map
|   region, city
|   Forces the pushpin map to use the Australian, rather than the state map, regardless of the contents of {{para|state}}.
|   "yes" or leave blank, plain text, do not link <!-- Anything in this field will force the Australian map to be used. For consistency though, let's force people to use something simple and obvious. -->
|-
| latd<br />latm<br />lats
|   latitude
|   region, lga, city, town
|   {{para|coordinates}} field
|   degrees<br />minutes<br />seconds (optional for region and lga)
|-
| longd<br />longm<br />longs
|   longitude
|   region, lga, city, town
|   {{para|coordinates}} field
|   degrees<br />minutes<br />seconds (optional for region and lga)
|-
| pushpin_map_caption
|   caption
|   region, lga, city, town
|   
|   optional, plain text or linked
|-
| pushpin_label_position
|   label position
|   region, lga, city, town
|
|   left, right, top, bottom<br />default: right
|-
| pop
|   population
|   all; use approx for region
|   [http://www.abs.gov.au/ ABS]
|   number
|-
| pop_footnotes
|   population footnote for references
|   all; use approx for region
|   [http://www.abs.gov.au/ ABS]
|   wikitext (can contain links)<br />Best when used with <nowiki><ref> </ref></nowiki> tags and {{tl|cite web}}
|-
| poprank 
|   population rank
|   city
|   [[List of cities in Australia by population]]
|   number 
|-
| density  
|   population density
|   city, region
|   [http://www.abs.gov.au/ ABS] 
|   unformatted number (people/km²)
|-
| density_footnotes  
|   population density footnote for references
|   city, region
|   [http://www.abs.gov.au/ ABS] 
|   wikitext (can contain links)<br />Best when used with <nowiki><ref> </ref></nowiki> tags and {{tl|cite web}}
|-
| est
|   established
|
|
|   year
|-
| abolished
|   abolished
|
|
|   year
|-
| gazetted
|   date the place name was [[Gazetteer of Australia|gazetted]]
|
|
|   date
|-
| postcode
|   
|   suburb, town
|   [[List of postcodes in the Australian Capital Territory]]<br />[[List of postcodes in New South Wales]]<br />[[List of postcodes in Queensland]]<br />[[List of postcodes in South Australia]]<br />[[List of postcodes in Tasmania]]<br />[[List of postcodes in Victoria]]<br />[[List of postcodes in Western Australia]]<br />[[List of postcodes in the Northern Territory]]
|   number
|-
| elevation
|   measured from sea level in metres
|   town, suburb
|   [http://www.fallingrain.com/world/AS/ fallingrain.com]
|   unformatted number (m)
|-
| elevation_footnotes
|   elevation footnote for references
|   town, suburb
|   [http://www.fallingrain.com/world/AS/ fallingrain.com]
|   wikitext (can contain links)<br />Best when used with <nowiki><ref> </ref></nowiki> tags and {{tl|cite web}}
|-
| area
|
|   city, lga, region
|   [http://www.abs.gov.au/ ABS]
|   unformatted number (km²)
|-
| area_footnotes
|   area footnote for references
|   city, lga, region
|   [http://www.abs.gov.au/ ABS]
|   wikitext (can contain links)<br />Best when used with <nowiki><ref> </ref></nowiki> tags and {{tl|cite web}}
|-
| timezone
|   timezone
|   city, region
|   
|   plain text, link
|-
| utc
|   utc offset
|   city, region
|   
|   "+" followed by number
|-
| timezone-dst
|   summer timezone
|   city, region
|   
|   plain text, link
|-
| utc-dst
|   summer utc offset
|   city, region
|   
|   "+" followed by number
|-
| mayor
|   Mayor of LGA
|   lga
|
|   plain text
|-
| mayortitle
|   Title of the mayor
|   lga
|
|   Wiki text. If omitted (but mayor is provided), defaults to "[[Mayor]]". Otherwise likely to be "Lord Mayor", "President" or "Chairman" (etc.). The text can include a link to a list of mayors etc.
|-
| dist#
|   ''See Notes below''
|   town, suburb, city (other cities)
|   [http://www.travelmate.com.au/MapMaker/MapMaker.asp travelmate.com.au], maps, Google earth, [http://www.whereis.com.au whereis (get directions)], [http://www3.visitvictoria.com/displayObject.cfm/ObjectID.0000B41D-D36D-1A88-8B4680C476A9047C/lk.Left2_3/pg.VVHomepage/vvt.vhtml Route planner - Victoria, Australia]
|   unformatted number (km)
|-
| dir#
|   ''See Notes below''
|   town, suburb, city (other cities)
|
|   plain text, link
|-
| location#
|   ''See Notes below'' 
|   town, suburb, city
|   maps, Google earth
|   plain text, link
|-
| lga
|   local government area
|   suburb, town, region
|   [http://www.gnb.nsw.gov.au/name_search NSW Geographical Names Board] (NSW only)
|   plain text, link
|-
| lga2-lga4    
|   2nd-4th LGAs
|   suburb, town, region
|
|   plain text, link
|-
| seat
|   LGA seat
|   lga
|   
|   plain text, link
|-
| region
|   Name of region LGA is in
|   lga
|   
|   plain text, link
|-
| county
|   lands administrative division (not in all areas)
|
|   [[Lands administrative divisions of Australia]]<br />[http://www.gnb.nsw.gov.au/name_search NSW Geographical Names Board] (NSW only)
|   plain text, link
|-
| parish
|   NSW, Qld, Vic only
|
|   [[Lands administrative divisions of Australia]]<br />[http://www.gnb.nsw.gov.au/name_search NSW Geographical Names Board] (NSW only)
|   plain text
|-
| hundred
|   parts of SA & NT only
|
|   [[Lands administrative divisions of Australia]]
|   plain text
|-
| stategov
|   the state government electoral area
|   
|   
|   plain text, link
|-
| stategov2-stategov5
|   2nd-5th state government electoral areas
|   
|   
|   plain text, link
|-
| fedgov
|   the federal government electoral area
|   
|   
|   plain text, link
|-
| fedgov2-fedgov4
|   2nd-4th federal government electoral areas
|   
|   
|   plain text, link
|-
| logo
|   Logo of LGA
|   lga
|   Individual LGA website
|   image link
|-
| logosize
|   width of LGA logo
|   lga
|   Individual LGA website
|   number
|-
| url
|   LGA website address
|   lga
|   Individual LGA website
|   url link
|-
| maxtemp
|   max average annual temperature
|   suburb, town
|   [http://www.bom.gov.au/climate/averages/ Bureau of Meteorology]
|   number (°C)
|-
| maxtemp_footnotes
|   footnote for references
|   suburb, town
|   [http://www.bom.gov.au/climate/averages/ Bureau of Meteorology]
|   wikitext (can contain links)<br />Best when used with <nowiki><ref> </ref></nowiki> tags and {{tl|cite web}}
|-
| mintemp
|   mix average annual temperature
|   suburb, town
|   [http://www.bom.gov.au/climate/averages/ Bureau of Meteorology]
|   number (°C)
|-
| mintemp_footnotes
|   footnote for references
|   suburb, town
|   [http://www.bom.gov.au/climate/averages/ Bureau of Meteorology]
|   wikitext (can contain links)<br />Best when used with <nowiki><ref> </ref></nowiki> tags and {{tl|cite web}}
|-
| rainfall
|   average annual rainfall
|   suburb, town
|   [http://www.bom.gov.au/climate/averages/ Bureau of Meteorology]
|   unformatted number (mm)
|-
| rainfall_footnotes
|   footnote for references
|   suburb, town
|   [http://www.bom.gov.au/climate/averages/ Bureau of Meteorology]
|   wikitext (can contain links)<br />Best when used with <nowiki><ref> </ref></nowiki> tags and {{tl|cite web}}
|-
| near-n/ne/e/se/s/sw/w/nw
|   neighbours (suburb, lga or landmark)
|   suburb, lga
|
|   plain text, link
|-
| near
|   Central to neighbours
|   suburb, lga
|   replaces name (best used without any near-* e.g. to specify a #link to the main text for further info)
|   plain text, link
|-
|}

== Notes ==
=== Type ===
The infobox type affects the colour of the top bar of the infobox.
* '''Yellow:''' city
* '''Pink:''' suburb
* '''Green:''' town
* '''Blue:''' lga
* '''Purple:''' region
* '''Grey:''' <code>undefined</code>

===Footnotes fields===
Any references should be placed within the respective "_footnotes" field and not within the field reserved solely for a numeric value.  For example, place the reference used for the area of City X in the parameter {{{area_footnotes}}} and not in the {{{area}}} parameter.  Otherwise, an error may result. 

===Unformatted numbers and expression errors===
Certain fields require numeric values to be entered in an unformatted/raw fashion&mdash;i.e. 1000.0 NOT 1,000.0.  If an expression error is present, simply remove any commas or spaces from the number.

=== Coordinates ===
{{UF-coord}}

=== <code>Dist#, Dir# and Location#</code> ===
This is the distance and approximate direction to another location. The '#' is replaced with a number between 1 and 5. Therefore distances for up to five locations can be listed using the range 'dist1' - 'dist5'. Direction from the locations can be specified use 'dir1' - 'dir5' and the locations can be listed as 'location1' - 'location5'. Each dist# must be partnered with an appropriate location#. Dir# is optional.

== Where to find information ==
* '''[[Wikipedia:WikiProject Australian places#Useful Resources|WikiProject Australian places - Useful Resources]]'''
* [http://www.abs.gov.au/ Australian Bureau of Statistics]
* [http://www.alga.asn.au/links/associations.php LGA links for each state]
* [http://www.bom.gov.au/climate/averages/ Bureau of Meteorology] > "Climate tables" (4th heading)

== Deprecated field tracking ==
Articles that include the deprecated fields "{{para|propval}}", {{para|pushpin_map}}", "{{para|loc-x}}" and "{{para|loc-y}}" are automatically added to [[:Category:Australian place articles using missing parameters]].

==Microformat==
{{UF-hcard-geo}}
<references/>

<includeonly>
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
[[Category:City infobox templates|Town AU]]

[[de:Vorlage:Infobox Ort in Australien]]
[[en:Template:Infobox Australian place]]
[[id:Templat:Infobox Australian Place]]
[[ja:Template:Infobox Australian Place]]
[[mk:Шаблон:Место во Австралија]]
[[ml:ഫലകം:Infobox Australian Place]]
[[nl:Sjabloon:Infobox plaats in Australië]]
[[sr:Шаблон:Град у Аустралији]]
[[su:Citakan:Kotak info patempatan di Australia]]
[[vi:Bản mẫu:Infobox Australian Place]]
[[zh:Template:Infobox Australian Place]]
</includeonly>