Template:Infobox U.S. congressional district/doc

This template is used to include lots of statistical information about a United States congressional district in a neat table.

Usage
Copy and paste the template below:

Usage for obsolete congressional districts
Add the following fields to use this template in articles for obsolete congressional districts.

Examples
Below are three examples, and what they look like.

An example with all fields filled in:

An example with few fields filled in:

An example for an obsolete congressional district:

TemplateData
{	"description": "An Infobox for Congressional districts represented in the United States House of Representatives.", "params": { "state": { "label": "State", "description": "The state the district is part of", "example": "Connecticut", "type": "wiki-page-name", "required": true },		"district number": { "label": "District number", "description": "The number of the district", "example": "1", "type": "string", "suggested": true },		"member type": {}, "representative": { "label": "Representative", "description": "The name of the representative, optionally wikilinked", "example": "'', 'Adam Schiff'", "type": "string" },		"party": { "label": "Representative's party", "description": "The political party the district's current representative is a member of", "example": "'', 'Democratic'", "type": "content", "suggested": true },		"residence": { "label": "Residence", "description": "The residence of the district's representative", "example": "'', 'Burbank'", "type": "content", "suggested": true },		"cpvi": { "label": "Cook Partisan Voting Index", "description": "The district's Cook Partisan Voting Index, a ranking of likely voting by party and margin of victory", "example": "D+23 ", "type": "content", "suggested": true },		"image name": { "label": "Map image", "description": "a map of the region, or a map with the region highlighted within a parent region", "type": "wiki-file-name" },		"image width": { "label": "Image width", "description": "If used, 'px' must be specified; default is 250px.", "type": "string" },		"image caption": { "label": "Map caption", "type": "content", "description": "Caption for the image displayed" },		"image alt": { "label": "Map alternate text", "type": "string", "description": "Hover text for the image displayed" },		"created": { "label": "Year established", "type": "string", "description": "Year the district was created", "suggested": true },		"eliminated": { "label": "Year eliminated", "type": "string", "description": "Date the district stopped" },		"years": { "label": "Years active", "type": "string", "description": "Year range active" },		"obsolete": { "label": "Obsolete?", "type": "string", "description": "'yes' if the district is no longer active" },		"english area": { "label": "Total area (sq. mi)", "description": "Total area in square miles. Symbol: sq mi. Value must be entered in 'raw format', no commas or spaces. Auto-converted to display square kilometers if 'metric area' is empty.", "type": "number" },		"metric area": { "label": "Total area (sq. km)", "description": "Total area in square km. Symbol: sq km. Value must be entered in 'raw format', no commas or spaces. Auto-converted to display square miles if 'english area' is empty.", "type": "number" },		"population": { "label": "Population", "description": "Population, preferably consisting of digits only (without any commas)", "type": "number", "example": "70000", "suggested": true },		"population year": { "label": "Population total's year", "description": "The year for the population total (usually a census year)", "type": "number", "example": "2000" },		"median income": { "label": "Median income", "description": "The district's median income in dollars", "type": "string" },		"disamb": { "label": "Disambiguation" },		"percent urban": { "type": "number", "example": "60.4" },		"percent rural": { "type": "number", "example": "10.1" },		"percent white": { "type": "number", "example": "63.2" },		"percent black": { "type": "number", "example": "6.9" },		"percent asian": { "type": "number", "example": "12.3" },		"percent hispanic": { "type": "number", "example": "25.7" },		"percent native american": { "type": "number", "example": "1.0" },		"percent native hawaiian": { "type": "number", "example": "0.4" },		"percent more than one race": { "type": "number" },		"percent other race": { "type": "number" },		"percent blue collar": { "type": "number" },		"percent white collar": { "type": "number" },		"percent gray collar": { "type": "number" },		"percent grey collar": { "type": "number" }	},	"format": "\n" }