Template:Infobox electorate/doc

From Eratosthenia
Jump to navigation Jump to search

{{Infobox electorate}} is an infobox template for use in articles on electoral districts, wards, &c.

Usage

{{Infobox electorate
| name         = 
| type         = 
| chamber      = 
| image        = 
| member       = 
| member-party = 
| created      = 
| created_from = 
| abolished    = 
| replaced_by  = 
| margin       = 
| county       = 
| namesake     = 
| population   = 
| electors     = 
| area         = 
| income       = 
| ethnicity    = 
}}

Examples

There are three possible uses for this infobox.

House of Assembly electoral district

A House of Assembly Electoral district:

Middlehampton
Electoral district of the House of Assembly
File:Map-ED-blank.png
Member John Smith
     (Independent)
Margin 10%
County Anyshire
History
Created 29 April 1854
Created from Oldhampton
Named for Middlehampton, Anyshire
Demographics
Total population 25,668
Electors 15,786
Area 1,000 sq mi (2,600 km2)
Ethnic composition 90% White
10% Other
{{Infobox electorate
| name         = Middlehampton
| type         = [[Electoral districts of the House of Assembly|Electoral district]]
| chamber      = [[House of Assembly]]
| above_color  = #297342
| header_color = #709370
| text_color   = #FFFFFF
| image        = [[File:Map-ED-blank.png|200px]]
| member       = John Smith
| member-party = Independent
| created      = [[New Ingrean general election, 1854|29 April 1854]]
| created_from = Oldhampton
| abolished    = 
| replaced_by  = 
| margin       = 10%
| county       = Anyshire
| namesake     = Middlehampton, Anyshire
| population   = 25,668
| electors     = 15,786
| area         = 1000
| income       = 100,000
| ethnicity    = {{br separated entries|90% White|10% Other}}
}}

Template fields

Field Name Required Description Values
name
type
chamber
image
member
member-party
created
created_from
abolished
replaced_by
margin
county
namesake
population
electors
area
income
ethnicity