User:Orderinchaos/Infobox Australian Electorate

From Wikipedia, the free encyclopedia

Enter an electorate name



{{esoteric}}


[edit] Usage

To use this template
  1. Copy the relevant blank template below 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.

[edit] Blank template

Federal electorates
{{Infobox Australian Electorate | federal  = yes
| name         = 
| state        = 
| image        = 
| region       = 
| area         = 
| member       = 
| dist1        = 
| dir1         = 
| location1    = 
| lga          = 
| stategov     = 
}}
State electorates
{{Infobox Australian Electorate | council =
| name         = 
| state        = 
| image        = 
| region       = 
| elecreg      =
| area         = 
| member       = 
| dist1        = 
| dir1         = 
| location1    = 
| lga          = 
| fedgov       = 
}}

[edit] Fields

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

Field Name Description Valid for
blank = all
Source Values
federal is it a federal electorate? yes or no (lower case)
default = no
council is it a state upper house division/region? yes or no (lower case)
default = no
name name of electorate plain text
state 'sa', 'vic', 'wa', 'tas', 'act', 'nt', 'qld', plain text, link
image image or map for the electorate filename
caption caption for the locality image wikitext (can contain links)
region Name of region (eg Perth Metropolitan) descriptive only plain text, link
elecreg Name of upper house region/province (WA, TAS, VIC only) plain text, link
pop population ABS number
area ABS number (km²)
member Current member plain text, link
dist# See Notes below travelmate.com.au, maps, Google earth, whereis (get directions), Route planner - Victoria, Australia number (km)
dir# See Notes below plain text, link
location# See Notes below maps, Google earth plain text, link
lga local government area plain text, link
lga2-lga4 2nd-4th LGAs plain text, link
stategov related state government electoral areas federal = yes plain text, link
stategov2-stategov4 2nd-4th state government electoral areas federal = yes plain text, link
fedgov the federal government electoral area state plain text, link
fedgov2-fedgov4 2nd-4th federal government electoral areas state plain text, link
near-n/ne/e/se/s/sw/w/nw neighbours (suburb, lga or landmark) plain text, link

[edit] Notes

[edit] Dist#, Dir# and Location#

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 to five locations can be listed using the range 'dist1' - 'dist5'. Direction to the lcations 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.

[edit] Where to find information


<includeonly>
[[Category:City infobox templates|Town AU]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
</includeonly>