Revision as of 15:58, 17 October 2011 view sourceDrdee (talk | contribs)146 edits Fixed one more link (congressional districts)← Previous edit | Latest revision as of 18:40, 21 October 2024 view source Reywas92 (talk | contribs)Extended confirmed users, Page movers, Pending changes reviewers, Rollbackers81,321 edits +2024Tag: 2017 wikitext editor | ||
(65 intermediate revisions by 15 users not shown) | |||
Line 1: | Line 1: | ||
<noinclude> | |||
{{Navbox | |||
== Code only == | |||
⚫ | | name = USCongDistState{{USStateNameToAbb |{{{state}}}}} | ||
</noinclude>{{Navbox | |||
⚫ | | title = ] | ||
⚫ | | name = USCongDistState{{USStateNameToAbb |{{{state|<noinclude>Alabama</noinclude>}}}}} | ||
| image = | |||
⚫ | | title = ] | ||
| list1 = {{#if: {{{current|}}} |Current districts: {{USCongDistStateList|dists = {{{current}}} | state = {{{state|}}} }} <br> }} All districts: {{#if: {{{territory|}}} | {{ushr|{{{state}}} Territory|AL|Territory}} }} {{#if: {{{AL|}}} | {{ushr|{{{state}}}|AL|At-large}} |}} {{#if: {{{dists|}}} |{{USCongDistStateList|dists = {{{dists}}} | state = {{{state|}}} }} }} <br> {{#if: {{{obsolete|}}} | ''{{{obsolete}}}'' <br>}} '''See also:''' {{{state}}}'s past & present ], ], and ], ], ]<br> ] – ] – ] – ] – | |||
| state = {{{collapse_state|{{{1|}}}}}} | |||
| bodyclass = hlist | |||
| list1 = {{#if: {{{current|}}} | | |||
<div class=wrap> | |||
;{{nobold|Current districts}} | |||
{{#ifexpr: {{{current}}} = 1 |: {{ushr|{{{state}}}|AL|At-large}} | {{USCongDistStateList|districts = {{{current}}} | state = {{{state|}}} }} }} | |||
</div> }} | |||
<div class=wrap> | |||
;{{nobold|All districts}}{{#if: {{{territory|}}} | | |||
: {{#ifeq:{{{territory|}}}|yes|{{ushr|{{{state}}} Territory|AL|Territory}}|{{ushr|{{{territory}}}|AL|{{{territory}}}}}}} }}{{#if: {{{AL|}}} | | |||
: {{ushr|{{{state}}}|AL|At-large}} | |||
}}{{#if: {{{districts|}}} | {{USCongDistStateList|districts = {{{districts}}} | state = {{{state|}}} }} }} | |||
</div> | |||
* {{#if: {{{obsolete|}}} | ''{{{obsolete}}}'' }} | |||
;See also | |||
: {{{state}}}'s past and present {{#ifeq:{{{current territory|}}}|yes| |], ], and}} ] | |||
* Recent U.S. House elections in {{{state}}}: ], ], ], ], ], ], ], ], ], ] | |||
* ] | |||
* ] | |||
* ] | |||
* ] | |||
}}<noinclude> | }}<noinclude> | ||
== Documentation == | |||
{{documentation}}<!-- | {{documentation}}<!-- | ||
Latest revision as of 18:40, 21 October 2024
Code only
Alabama's congressional districts | |
---|---|
|
Documentation
Template documentation[view] [edit] [history] [purge]This template creates navigation box for a state's congressional districts.
- If the state currently has (or once had but no longer has) an At-large district, then the "AL" field should be included with non-blank data.
- If a current territory (or Federal district) elects non-voting delegates (or Resident Commissioners) but not Senators or Representatives then, the "state" field should be filled with the territory's name. Then the "current territory" field should be set to "yes". For states, the "current territory" field may be left blank or be filled with any data other than "yes".
- If the state has never had more than one district (e.g. Alaska), then
- the "districts" field should be blank or 0 (zero) and
- the "AL" field should be included with non-blank data.
- If the state had (in the past) a territorial district, then the "territory" field should be included with non-blank data. For current territories, the "territory" field must be left blank.
- If the state has a state-specific redistricting article, put non-blank data in the "specific-redist" field to override the default link to the general Redistricting article.
Examples:
{{USCongDistState | state = Illinois | current territory = | districts = 26 | AL = yes | territory = yes | current = 18 | obsolete = The 19th – 26th and At-large districts are obsolete | specific-redist = }}
Illinois's congressional districts | |
---|---|
|
{{USCongDistState | state = Guam | current territory = yes | districts = | AL = yes | territory = | current = | obsolete = | specific-redist = }}
Guam's congressional districts | |
---|---|
|
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template. Category: