Infobox United States legislative district
Jump to navigation
Jump to search
|
This template uses Lua: |
Template:Flagdeco | ||
[[File:{{{image}}}|{{{image width}}}|alt={{{image alt}}}|{{{image alt}}}]] {{{image caption}}} | ||
[[{{{state}}} {{{chamber}}}|]] | <td width="5px" style="background:Lua error in package.lua at line 80: module 'Module:Political party/D' not found.">
| |
---|---|---|
Registration | 5% Republican 5% Democratic 75% No party preference | |
Demographics | 2% 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= |residence_link= |incumbentsince= |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= |created= |eliminated= |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
Template:Infobox legislative district
{{Infobox legislative district | state=Connecticut | district=3 | chamber=House of Representatives | image = | representative = John Smith | party = Independent | residence = Springfield | incumbentsince= January 1, 2009 | 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
Template:Infobox legislative district
{{Infobox legislative district |state=Wisconsin |district=21 |chamber=Senate |image= |representative=Fred Sled |party=Green |residence=Franklin |residence_link= Franklin, Milwaukee County, Wisconsin |Democratic=75 |Republican=10 |incumbentsince= January 1, 2011 |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 |created= 1972 }}