Misplaced Pages

Template:USCongDistState: Difference between revisions

Article snapshot taken from[REDACTED] with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
Browse history interactively← Previous editNext edit →Content deleted Content addedVisualWikitext
Revision as of 15:29, 5 February 2007 view sourceGoldRingChip (talk | contribs)Administrators135,564 editsNo edit summary← Previous edit Revision as of 21:27, 22 March 2007 view source GoldRingChip (talk | contribs)Administrators135,564 edits restored {{tl|ushr}}Next edit →
Line 4: Line 4:
| Category= {{#if:{{{category|}}} | ] | ] }} | Category= {{#if:{{{category|}}} | ] | ] }}
| Color = | Color =
| List = {{#if:{{{AL|}}}| {{ushr|{{{state}}}|AL|AL}} |}} {{#if:{{{dists|}}}|{{USCongDistStateList|dists = {{{dists|0}}} | state = {{{state|}}} }} }}<br>{{#if:{{{obsolete|}}}| ''{{{obsolete|}}}''<br>}}'''See also:''' {{{state}}}'s past & present ], ], and ]<br>] - ] - ] - ] - }}<noinclude>
| List = {{ #if:{{{AL|}}} | [[{{{state}}}'s {{ #ifeq: AL | AL | At-large | AL{{ #switch: AL
| 1=st
| 2=nd
| 3=rd
| 21=st
| 22=nd
| 23=rd
| 31=st
| 32=nd
| 33=rd
| 41=st
| 42=nd
| 43=rd
| 51=st
| 52=nd
| 53=rd
| th}} }} congressional district<!--

pipe begins after this note

-->|{{ #if: AL | AL | {{{state}}}'s {{ #ifeq: AL | AL | At-large | AL{{ #switch: AL
| 1=st
| 2=nd
| 3=rd
| 21=st
| 22=nd
| 23=rd
| 31=st
| 32=nd
| 33=rd
| 41=st
| 42=nd
| 43=rd
| 51=st
| 52=nd
| 53=rd
| th}} }} congressional district }}<!--

pipe ends before this note

-->]] }} {{#if:{{{dists|}}}|{{USCongDistStateList|dists = {{{dists|0}}} | state = {{{state|}}} }} }}<br>{{#if:{{{obsolete|}}}| ''{{{obsolete|}}}''<br>}}'''See also:''' {{{state}}}'s past & present ], ], and ]<br>] - ] - ] - ] - }}<noinclude>


==Usage== ==Usage==

Revision as of 21:27, 22 March 2007

Usage

This template creates navigation box for a state's congressional districts.

{{USCongDistState
| state=Delaware
| dists=2
| AL=y
| obsolete=The 2nd at-large district has been obsolete since 1823.
}}

If the state currently has (or once had but no longer has) an At-large district, then the field "AL" should be included with non-blank data.

If the state has never had more than one district (e.g. Alaska), then the field "dists" should be blank or 0 (zero) and the field "AL" should be included with non-blank data.

Categories:
Template:USCongDistState: Difference between revisions Add topic