Template:Infobox Australian Electorate
(Redirected from Template:Infobox Australian electorate)
Usage
Cut and paste the following for use in articles. If not sure what to put in them, look at the Fields section below.
For federal divisions
{{Infobox Australian Electorate | federal = yes |name = |state = |image = |caption = |created = |mp = |mp-party = |namesake = |electors = |area = |class = }}
For state lower house districts
{{Infobox Australian Electorate | |name = |state = |image = |caption = |created = |abolished= |mp = |mp-party = |namesake = |electors = |area = |class = }}
For state upper house divisions or provinces
{{Infobox Australian Electorate | upper = yes |name = |state = |image = |caption = |created = |abolished= |mp = |mp-party = |namesake = |electors = |area = |class = }}
Fields
All fields used by this template are optional. Leaving "federal" or "upper" blank assumes "no" on each. The following fields are available:
Field Name | Description | Valid for blank = all |
Source | Values |
federal | is it federal? | 'yes' | ||
upper | is it a state upper house district? (ignored if incorrectly used) | 'yes' | ||
name | name of electorate | plain text (eg Werriwa) | ||
state | state abbreviation | 'nsw', 'vic', 'qld', 'sa', 'wa', 'tas', 'act', 'nt' | ||
image | image or map relevant to electorate | filename | ||
imagesize | width of generic image of the locality | number | ||
caption | caption for the locality image | wikitext (can contain links) | ||
created | date or year electorate was created | year or wiki date | ||
abolished | date or year electorate was abolished | year or wiki date | ||
mp | current MP in office (for proportional, list of all MPs) | plain text or wikilink | ||
mp-party | current party in office | plain text or wikilink | ||
namesake | who or what electorate is named after | plain text or wikilink | ||
electors | how many people are enrolled to vote in the area | number | ||
area | area in square kilometres (do not use commas or punctuation) | number | ||
class | AEC class of the electorate (eg Rural) | plain text |
The above documentation is transcluded from Template:Infobox Australian Electorate/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |