Template talk:Infobox U.S. congressional district
From Wikipedia, the free encyclopedia
This template is used to include lots of statistical information about a district in a neat table. Here is how it's used:
{{Infobox U.S. congressional district |state = |district number = |image name = |image width = |image caption = |english area = |metric area = |percent urban = |percent rural = |population = |population year = |median income = |percent white = |percent black = |percent asian = |percent native american = |percent hispanic = |percent other race = |percent blue collar = |percent white collar = |percent gray collar = |cpvi = }}
Contents |
[edit] Notes
- Only the state and district number 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. For example, if percent blue collar is missing, any value in percent white collar will be ignored.)
- You should not include units, percent signs (%), or dollar signs ($) in your fields. There are provided for you.
[edit] Examples
Below are two examples, and what they look like.
Alabama's 1st congressional district | |
District map as of 2002 | |
Area | 7,182 mi² (2,322 km²) |
---|---|
Distribution | 64.4% urban, 35.6% rural |
Population (2000) | 635,300 |
Median income | $34,739 |
Ethnic composition | 67.8% White, 28% Black, 1% Asian, 1.3% Hispanic, 1% Native American |
Occupation | 29.7% blue collar, 54.5% white collar, 15.6% gray collar |
Cook Partisan Voting Index | R + 12 |
An example with all fields filled in:
{{Infobox U.S. congressional district |state = Alabama |district number = 1 |image name = Alabama1st.JPG |image width = 250 |image caption = District map as of 2002 |english area = 7,182 |metric area = 2,322 |percent urban = 64.4 |percent rural = 35.6 |population = 635,300 |population year = 2000 |median income = 34,739 |percent white = 67.8 |percent black = 28 |percent asian = 1 |percent native american = 1 |percent hispanic = 1.3 |percent other race = 1 |percent blue collar = 29.7 |percent white collar = 54.5 |percent gray collar = 15.6 |cpvi = R + 12 }}
Alabama's 1st congressional district | |
Area | 7,182 mi² |
---|---|
Population | 635,300 |
Median income | $34,739 |
An example with few fields filled in:
{{Infobox U.S. congressional district |state = Alabama |district number = 1 |image name = Alabama1st.JPG |english area = 7,182 |population = 635,300 |median income = 34,739 }}
[edit] time frame information
I think some additional information would be desirable in the template, to clearly indicate how long the district has had the current boundaries. Though this could get confusing, as many districts undergo minor boundary adjustments every ten years. But sometimes, the districts in a state undergo a radical realignment. For example, in Michigan in 1993, the 1st and 11th essentially flip-flopped between the U.P. and the Metro Detroit area. older ≠ wiser 23:35, 21 January 2007 (UTC)
[edit] Sources?
Is there a source of the blue collar and white color info? Also is there a source for the cpvi number? The census numbers can be found easily at the US Census bureau, but these seem to be a bit harder to find. Thanks for the links in advance. --Dual Freq 01:51, 7 February 2007 (UTC)