قالب:جدول دائرة انتخابات الكونگرس الأمريكي/doc

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

Usage

California's {{{district number}}} congressional district
[[File:{{{image name}}}|{{{image width}}}|alt={{{image alt}}}]]
{{{image caption}}}
Member
  {{{representative}}}
المساحة123 sq mi (320 km2)
التعداد ({{{population year}}}){{{population}}}
دخل البيت
الأوسط
{{{median income}}}
Cook PVI{{{cpvi}}}
Created{{{created}}}
صـُفيَت{{{eliminated}}}
سنوات النشاط{{{years}}}

Copy and paste the template below:

{{Infobox U.S. congressional district
| state                      = 
| district number            = 
| image name                 = 
| image width                = 
| image caption              = 
| member type                =
      <!-- if delegate or resident commissioner -->

| representative             =
      <!-- Must be current; otherwise empty. -->

| party                      = 
| residence                  =
      <!-- City only (without the state) -->

| disamb                     =
      <!-- County or other portion of residence article name -->

| english area               =
| metric area                = 
| percent urban              = 
| percent rural              = 
| population                 = 
| population year            = 
| median income              = 
| ethnicity ref              = 
| percent white              = 
| percent black              = 
| percent asian              = 
| percent native american    = 
| percent native hawaiian    = 
| percent hispanic           = 
| percent other race         = 
| percent more than one race = 
| percent blue collar        = 
| percent white collar       = 
| percent gray collar        = 
| cpvi                       = 
}}

Usage for obsolete congressional districts

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

| obsolete                   = yes
      <!--required for other fields to display properly. All other fields are optional.-->
      
| created                    = 
| eliminated                 = 
| years                      =

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. These 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.

Examples

Below are three examples, and what they look like.


Alabama's 1st congressional district
Alabama1st.JPG
District map as of 2002
النائب
  {{{representative}}}
المساحة7,182 sq mi (18,600 km2)
التوزع
  • 64.4% حضر
  • 35.6% ريف
التعداد (2000)635,300
دخل البيت
الأوسط
34,739
العرق
المهنة
Cook PVIR+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 native hawaiian    = 0.05
| percent hispanic           = 1.3
| percent other race         = 1
| percent more than one race = 1.91
| percent blue collar        = 29.7
| percent white collar       = 54.5
| percent gray collar        = 15.6
| cpvi                       = R+12
}}


Alabama's 1st congressional district
Alabama1st.JPG
النائب
  {{{representative}}}
المساحة7,182 sq mi (18,600 km2)
التعداد ()635,300
دخل البيت
الأوسط
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 10 congressional district
دائرة لاغية
التعداد (1920)170,857
Created1913، كنتيجة
1910 census
صـُفيَت1933, as a result of
1930 census
سنوات النشاط1913–1933

An example for an obsolete congressional district:

{{Infobox U.S. congressional district
| state                      = Alabama
| district number            = 10
| obsolete                   = yes
| created                    = 1913
| census created             = 1910
| eliminated                 = 1933
| census eliminated          = 1930
| years                      = 1913–1933
| population                 = 170,857
| population year            = 1920
}}

TemplateData

Extended content
This is the بيانات القالب documentation for this template used by المحرر المرئي وأدوات أخرى.

See the monthly error report for this template.

TemplateData for جدول دائرة انتخابات الكونگرس الأمريكي

An Infobox for Congressional districts represented in the United States House of Representatives.

وسائط القالب

هذا القالب له تهيئة مخصصة.

وسيطوصفنوعحالة
Statestate

The state the district is part of

مثال
Connecticut
اسم الصفحةمطلوب
District numberdistrict number

The number of the district

مثال
1
نصمقترح
member typemember type

دون وصف

غير معروفاختياري
Representativerepresentative

The name of the representative, optionally wikilinked

مثال
'{{Representative|cacd|28|fmt=linked}}', '[[Adam Schiff]]'
نصاختياري
Representative's partyparty

The political party the district's current representative is a member of

مثال
'{{Representative|cacd|28|fmt=party}}', 'Democratic'
محتوىمقترح
Residenceresidence

The residence of the district's representative

مثال
'{{Representative|cacd|28|fmt=residence}}', '[[Burbank]]'
محتوىمقترح
Cook Partisan Voting Indexcpvi

The district's Cook Partisan Voting Index, a ranking of likely voting by party and margin of victory

مثال
D+23<ref name=Cook>{{cite web|url=http://cookpolitical.com/file/Arranged_by_State_District.pdf|title=Partisan Voting Index – Districts of the 115th Congress|publisher=The Cook Political Report|date=April 7, 2017|access-date=April 7, 2017}}</ref>
محتوىمقترح
Map imageimage name

a map of the region, or a map with the region highlighted within a parent region

ملفاختياري
Image widthimage width

If used, 'px' must be specified; default is 250px.

نصاختياري
Map captionimage caption

Caption for the image displayed

محتوىاختياري
Map alternate textimage alt

Hover text for the image displayed

نصاختياري
Year establishedcreated

Year the district was created

نصمقترح
Year eliminatedeliminated

Date the district stopped

نصاختياري
Years activeyears

Year range active

نصاختياري
Obsolete?obsolete

'yes' if the district is no longer active

نصاختياري
Total area (sq. mi)english area

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.

رقماختياري
Total area (sq. km)metric area

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.

رقماختياري
Populationpopulation

Population, preferably consisting of digits only (without any commas)

مثال
70000
رقممقترح
Population total's yearpopulation year

The year for the population total (usually a census year)

مثال
2000
رقماختياري
Median incomemedian income

The district's median income in dollars

نصاختياري
Disambiguationdisamb

دون وصف

غير معروفاختياري
percent urbanpercent urban

دون وصف

مثال
60.4
رقماختياري
percent ruralpercent rural

دون وصف

مثال
10.1
رقماختياري
percent whitepercent white

دون وصف

مثال
63.2
رقماختياري
percent blackpercent black

دون وصف

مثال
6.9
رقماختياري
percent asianpercent asian

دون وصف

مثال
12.3
رقماختياري
percent hispanicpercent hispanic

دون وصف

مثال
25.7
رقماختياري
percent native americanpercent native american

دون وصف

مثال
1.0
رقماختياري
percent native hawaiianpercent native hawaiian

دون وصف

مثال
0.4
رقماختياري
percent more than one racepercent more than one race

دون وصف

رقماختياري
percent other racepercent other race

دون وصف

رقماختياري
percent blue collarpercent blue collar

دون وصف

رقماختياري
percent white collarpercent white collar

دون وصف

رقماختياري
percent gray collarpercent gray collar

دون وصف

رقماختياري
percent grey collarpercent grey collar

دون وصف

رقماختياري

Tracking category

See also