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 = }}
Add the following fields to use this template in articles for obsolete congressional districts.
|obsolete = yes<!--this field is required in order for the other fields to display properly. All other fields are optional.--> |created = <!--United States Census year that created the congressional district--> |eliminated = <!--United States Census year that eliminated the congressional district--> |years = <!--Actual calendar years the congressional district existed, in format YYYY-YYYY-->
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.
- For obsolete districts, the field obsolete is required, and must be yes in order for the remainder of the fields to display. This ensures that fields unique to obsolete districts will not be displayed on existing congressional districts.
[edit] Examples
Below are three 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, 1% other |
Occupation | 29.7% blue collar, 54.5% white collar, 15.6% gray collar |
Cook PVI | 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 }}
Alabama's 10th congressional district (obsolete) | |
---|---|
Population (1920) | 170,857 |
Created | 1910 Census |
Eliminated | 1930 Census |
Years | 1913-1933 |
An example for an obsolete congressional district:
{{Infobox U.S. congressional district |state = Alabama |district number = 10 |obsolete=yes |created = 1910 |eliminated = 1930 |years = 1913-1933 |population = 170,857 |population year = 1920 }}
[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)
- I was thinking the same thing, so I could add infoboxes for California's old districts going as far back as possible, since for example the 36th district changes from being a San Bernardino-based district in the 1980s to a Manhattan Beach/Venice-based district in the 1990s and having a Venice representative (Jane Harman) succeed a San Bernardino representative (George E. Brown) makes no sense since Brown continued to serve until 1998.
- I made a page on the evolution of California's congressional districts. It would be cool to see similar pages for the other states, though I understand it may not be easy to apply to states that lost districts, since California has yet to lose a district. Socal gal at heart (talk) 03:36, 25 April 2008 (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)
- I found the Cook PVI indices at dKosopedia. I was hesitant about adding a partisan site as a reference, but I couldn't find the PVI's anywhere else. Socal gal at heart (talk) 03:31, 25 April 2008 (UTC)
[edit] Georgia and disambiguation
When "Georgia" is input to the state field of this infobox., it generates a link to Georgia, which is a disambiguation page. It should link to Georgia (U.S. state). Replacing "Georgia" with "Georgia (U.S. state)" does generate the correct link, but it displays as "Georgia (U.S. state)", and the display is not-responsive to piping (i.e., "Georgia (U.S. state)|Georgia" displays as "Georgia (U.S. state)". I would be grateful if this could be fixed. DuncanHill (talk) 10:20, 27 May 2008 (UTC)
- Fixed. Someone removed the automatic disambiguation for the state parameter. — Edokter • Talk • 22:23, 27 May 2008 (UTC)
- Thank you! DuncanHill (talk) 22:25, 27 May 2008 (UTC)