Template:Ushr
[[{{{1}}}'s {{{2}}}nd congressional district]]
This template expands an abbreviation of a district of the United States House of Representatives to a long name, which is linked to the district article.
Parameters
{{ushr |1= |2= |3= }}
- 1: (or first unnamed parameter) state name or abbreviation
- 2: (or second unnamed parameter) district number (for at-large district, type in "AL").
- 3: (or third unnamed parameter) link text
- If 3 = 'A', then pipe will be the possessive state; district number; "congressional district/seat".
- If 3 = 'C', then pipe will be the ordinal of the district number and "district/seat," without the state.
- If 3 = 'D', then pipe will be the ordinal of the district number and "congressional district/seat," without the state.
- If 3 = 'E', then pipe will be only the district number, without the state. Note: In this situation, "At-large" is capitalized.
- If 3 = 'R', then pipe will be only the ordinal of the district number, without the state.
- If 3 = 'S', then pipe will be the state's possessive and the district's ordinal.
- If 3 = 'T', then pipe will be the state and the district's ordinal.
- If 3 = 'X', then pipe will be "state #" without possessive or "congressional district."
TemplateData for Ushr
This template expands an abbreviation of a district of the United States House of Representatives to a long name, which is linked to the district article.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| State name or abbreviation | 1 | Two-letter abbreviation or full name
| String | required |
| District number | 2 | Number, or for at-large district, "AL"
| String | required |
| Link text | 3 | Either the displayed link text or a code to set it: A gives state's nth district, D gives nth congressional district, E gives n, R gives nth, S gives state's nth, T gives state nth, X gives state n.
| String | optional |
Examples
| In | Out | |||
|---|---|---|---|---|
| Whole | {{{1}}} | {{{2}}} | {{{3}}} | |
| state name or abbreviation | District number or GA | Code, pipe, or blank | ||
{{ushr|California|51}}
|
California or CA | 51 | (empty) | California's 51st congressional district |
{{ushr|VT|AL}}
|
Vermont or VT | AL | Vermont's at-large congressional district | |
{{ushr|New York|1}}
|
New York or NY | 1 | New York's 1st congressional district | |
{{ushr|New York|AL}}
|
AL | New York's at-large congressional seat | ||
{{ushr|New York|1|A}}
|
New York or NY | 1 | A | New York's 1st district |
{{ushr|New York|AL|A}}
|
AL | New York's at-large seat | ||
{{ushr|Georgia|AL|A}}
|
Georgia or GA | AL | Georgia's at-large district | |
{{ushr|New York|1|C}}
|
New York or NY | 1 | C | 1st district |
{{ushr|New York|AL|C}}
|
AL | at-large seat | ||
{{ushr|Georgia|AL|C}}
|
Georgia or GA | AL | at-large district | |
{{ushr|New York|1|D}}
|
New York or NY | 1 | D | 1st congressional district |
{{ushr|New York|AL|D}}
|
AL | at-large congressional seat | ||
{{ushr|Georgia|AL|D}}
|
Georgia or GA | AL | at-large congressional district | |
{{ushr|New York|1|E}}
|
New York or NY | 1 | E | 1 |
{{ushr|New York|AL|E}}
|
AL | At-large | ||
{{ushr|New York|1|R}}
|
New York or NY | 1 | R | 1st |
{{ushr|New York|AL|R}}
|
AL | At-large | ||
{{ushr|New York|1|S}}
|
New York or NY | 1 | S | New York's 1st |
{{ushr|New York|AL|S}}
|
AL | New York's at-large | ||
{{ushr|New York|1|T}}
|
New York or NY | 1 | T | New York 1st |
{{ushr|New York|AL|T}}
|
AL | New York at-large | ||
{{ushr|New York|1|X}}
|
New York or NY | 1 | X | New York 1 |
{{ushr|New York|AL|X}}
|
AL | New York at-large | ||
{{ushr|OH|6|Ohio's smallest district}}
|
Ohio or OH | 6 | Ohio's smallest district | Ohio's smallest district |
The {{ushr|MA|4|fourth district}}
|
Massachusetts or MA | 4 | fourth district | The fourth district |
See also
- {{Representative}}
Content Disclaimer
Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.
- The information displayed on this website is sourced in part or in whole from Wikipedia and has been adapted for the purpose of restating it. We strive to provide accurate and relevant information, however:
- There is no guarantee of absolute accuracy. Wikipedia is an open, collaborative project that can be edited by anyone, so information is subject to change.
- It is not intended to constitute professional advice. The content displayed is for informational and educational purposes only. For important decisions (e.g., medical, legal, or financial), please consult a professional.
- Content copyright. Wikipedia is licensed under the Creative Commons Attribution-ShareAlike License (CC BY-SA). This means that content may be reused with appropriate attribution and shared under a similar license.
- Responsible use. Any risk arising from the use of information from this website is entirely the responsibility of the user.