Template:Infobox Australian Electorate/doc
This is a documentation subpage for Template:Infobox Australian Electorate. It contains usage information, categories and other content that is not part of the original template page. |
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 |