Template:Infobox United States legislative district/doc

From IxWiki
Jump to navigation Jump to search
[[File:{{{image}}}|{{{image width}}}|alt={{{image alt}}}]]
{{{image caption}}}
[[{{{state}}} {{{chamber}}}|Current ]]{{{representative}}} (D–[[{{{residence}}}, {{{state}}}|{{{residence}}}]])
Registration5% Republican
5% Democratic
75% No party preference
Demographics2% White
5% Black
7% Hispanic
34% Asian
20% Native American
4% Hawaiian/Pacific Islander
26% Other
Population ({{{population_year}}})
 • Voting age
 • Citizens of voting age
{{{population}}}
{{{voting_age}}}
{{{citizen_voting_age}}}
Registered voters{{{registered}}}
Notes{{{notes}}}


Usage

This template is used to include lots of statistical information about a district in a neat table. Here is how it's used:

Copy and paste the template below:

{{Infobox legislative district
|state=
|district=
|chamber=
|image=
|representative=
|party=
|residence=
|Democratic=
|Republican=
|NPP=
|Green=
|WFP=
|percent_white=
|percent_black=
|percent_hispanic=
|percent_asian=
|percent_native_american=
|percent_pacific_islander=
|percent_multiracial=
|percent_other_race=
|population=
|population_year=
|voting_age=
|citizen_voting_age=
|registered=
|notes=
}}

Notes

  • Only the state, district, and chamber fields are required. All other fields are optional, and the table has logic to display the data correctly even when some fields are missing. (However, if the first field in a category is missing, all fields in that category will be assumed empty.
  • state is the name of a U.S state
  • district is the number of a legislative district without the ordinal suffix (no "-st", "-nd", "-rd", or "-th")
  • chamber is either House of Representatives, Senate, or Assembly
  • You should not include units for any parameter, such as percent signs (%). These are provided for you.
  • percent_remainder_of_multiracial is deprecated. You should use percent_multiracial instead.

Examples

House district

Connecticut's 3rd State
House of Representatives
District
Current representativeJohn Smith (ISpringfield)
Registration46% Republican
46% Democratic
2% No party preference
Demographics60% White
15% Black
10% Hispanic
7.5% Asian
7.5% Native American
0% Hawaiian/Pacific Islander
0% Other
Population (2010)
 • Voting age
 • Citizens of voting age
200000
31000
30000
Registered voters25000
{{Infobox legislative district
| state=Connecticut
| district=3
| chamber=House of Representatives
| image =
| representative = John Smith
| party = Independent
| residence = Springfield
| Democratic=46
| Republican=46
| NPP=2
| Green=3
| WFP=3
| percent_white = 60
| percent_black = 15
| percent_hispanic = 10
| percent_asian = 7.5
| percent_native_american = 7.5
| percent_pacific_islander = 0
| percent_other_race = 0
| percent_multiracial = 0
| population = 200000
| population_year = 2010
| voting_age = 31000
| citizen_voting_age = 30000
| registered = 25000
}}

Senate

Arizona's 7th
State Senate District
Current senatorFred Sled (GSpringfield)
Registration75% Democratic
10% Republican
10% No party preference
Demographics90% White
1% Black
8% Hispanic
.5% Asian
.5% Native American
0% Hawaiian/Pacific Islander
0% Other
Population (2010)
 • Voting age
 • Citizens of voting age
100000
15050
15000
Registered voters12500
{{Infobox legislative district
|state=Arizona
|district=7
|chamber=Senate
|image=
|representative=Fred Sled
|party=Green
|residence=Springfield
|Democratic=75
|Republican=10
|NPP=10
|WFP=5
|percent_white=90
|percent_black=1
|percent_hispanic=8
|percent_asian=.5
|percent_native_american=.5
|percent_pacific_islander=0
|percent_other_race=0
|percent_multiracial=0
|population=100000
|population_year=2010
|voting_age=15050
|citizen_voting_age=15000
|registered=12500
}}