Template:USBill/doc
Script error: No such module "Message box". Script error: No such module "High-use".
Description
This links to a specific bill via Congress.gov.
Bills and Resolutions from the 6th Congress through the 42nd Congress are available separately through the Library of Congress.
- House bills, 6th through 42nd Congress
- Senate bills, 16th through 42nd Congress
- Senate Joint Resolutions, 18th through 42nd Congress
This template links to external sites. External links should not normally be used in the body of an article; see Wikipedia:External links for discussion of acceptable and unacceptable uses.
Usage
Parameters
|1=- Congress (93-present). (1-92 will provide the right output, but it won't be linked).
|1=congress number
|
Result | |
|---|---|---|
| Link | Format | |
| 93-Template:USCongressOrd (present) | Links to Congress.gov bill | Formats properly |
| 1-92 | No link | Formats properly |
|2=bill type
| Spaces and periods are optional, but in the piped result, spaces will be dropped and periods will be added | Type | Piped result |
|---|---|---|
| <templatestyles src="Mono/styles.css" />h, hr | House Bill Note: H.R. is a House Bill, not a House Resolution.Script error: No such module "Check for unknown parameters". |
H.R. |
| <templatestyles src="Mono/styles.css" />hres | House Resolution | H.Res. |
| <templatestyles src="Mono/styles.css" />hj, hjr, hjres | House Joint Resolution | H.J.Res. |
| <templatestyles src="Mono/styles.css" />hconres, hcr | House Concurrent Resolution | H.Con.Res. |
| <templatestyles src="Mono/styles.css" />ha, hamdt | House Amendment | H.Amdt. |
| <templatestyles src="Mono/styles.css" />hrept | House Report | H.Rept. |
| <templatestyles src="Mono/styles.css" />s | Senate Bill | S. |
| <templatestyles src="Mono/styles.css" />sr, sres | Senate Resolution | S.Res. |
| <templatestyles src="Mono/styles.css" />sj, sjr, sjres | Senate Joint Resolution | S.J.Res. |
| <templatestyles src="Mono/styles.css" />sconres, scr, scon | Senate Concurrent Resolution | S.Con.Res. |
| <templatestyles src="Mono/styles.css" />samt, sa, samdt | Senate Amendment | S.Amdt. |
| <templatestyles src="Mono/styles.css" />srept | Senate Report | S.Rept. |
|3=: Bill number (1-?)|which=: Optional field. If any data is here (i.e., non-blank), then adds "(Cong.)" to differentiate to the reader the Congress in which the bill was considered.|pipe=: Optional field if you'd rather use piped text|site=: Optional field. If any data is here (i.e., non-blank), it adds " at Congress.gov." "Site" will not apply if there's no link, (i.e.|1=<93). "Site" is useful when including bills in lists, such as External links.
Examples
Senate Joint Resolution 52 of the 101st Congress:
- <templatestyles src="Mono/styles.css" />{{USBill|101|SJ|52}} returns Script error: No such module "Ordinal".-congress/SJ/Template:Replace SJ Template:Replace
House bill 889 of the 109th Congress:
- <templatestyles src="Mono/styles.css" />{{USBill|109|HR|889}} returns Script error: No such module "Ordinal".-congress/HR/Template:Replace HR Template:Replace
- <templatestyles src="Mono/styles.css" />{{USBill|109|HR|889|which=109}} returns Script error: No such module "Ordinal".-congress/HR/Template:Replace HR Template:Replace (Script error: No such module "Ordinal". Cong.)
House Resolution 4954 of the 109th Congress, known as the "SAFE Port Act":
- <templatestyles src="Mono/styles.css" />{{USBill|109|HR|4954|pipe=Text of the SAFE Port Act|site=yes}} returns Script error: No such module "Ordinal".-congress/HR/Template:Replace Text of the SAFE Port Act at Congress.gov
Examples of Senate legislation from the Library of Congress:
- <templatestyles src="Mono/styles.css" />{{USBill|110|S|254}} returns Script error: No such module "Ordinal".-congress/S/Template:Replace S Template:Replace
- <templatestyles src="Mono/styles.css" />{{USBill|110|SJ|10}} returns Script error: No such module "Ordinal".-congress/SJ/Template:Replace SJ Template:Replace
- <templatestyles src="Mono/styles.css" />{{USBill|110|SConRes|33}} returns Script error: No such module "Ordinal".-congress/SConRes/Template:Replace SConRes Template:Replace
- <templatestyles src="Mono/styles.css" />{{USBill|110|SRes|69}} returns Script error: No such module "Ordinal".-congress/SRes/Template:Replace SRes Template:Replace
- <templatestyles src="Mono/styles.css" />{{USBill|110|SA|43}} returns Script error: No such module "Ordinal".-congress/SA/Template:Replace SA Template:Replace
Examples of House of Representatives legislation from the Library of Congress:
- <templatestyles src="Mono/styles.css" />{{USBill|110|HR|622}} returns Script error: No such module "Ordinal".-congress/HR/Template:Replace HR Template:Replace
- <templatestyles src="Mono/styles.css" />{{USBill|110|HJ|65}} returns Script error: No such module "Ordinal".-congress/HJ/Template:Replace HJ Template:Replace
- <templatestyles src="Mono/styles.css" />{{USBill|110|HConRes|27}} returns Script error: No such module "Ordinal".-congress/HConRes/Template:Replace HConRes Template:Replace
- <templatestyles src="Mono/styles.css" />{{USBill|110|HRes|655|site=yes}} returns Script error: No such module "Ordinal".-congress/HRes/Template:Replace HRes Template:Replace at Congress.gov
- <templatestyles src="Mono/styles.css" />{{USBill|110|HA|234|site=yes}} returns Script error: No such module "Ordinal".-congress/HA/Template:Replace HA Template:Replace at Congress.gov
Example of an unlinked bill:
- <templatestyles src="Mono/styles.css" />{{USBill|82|HRes|5678|site=yes}} returns HRes Template:Replace
See also
- Template:Tl, an analogous template for "Statutory Instrument (UK)"
- s:Template:USBill — When changes are made, please change them at Wikisource, too.
External link
List of all United States legal citation templates
These templates are for citing U.S. codes and laws. To cite court cases, use Template:Tl, or, for the U.S. Supreme Court, use Template:Tl.
Parameters in (parentheses) are optional.
| Template(s) | Parameter(s) | Description | ||||
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | pipe | ||
| Template:Tl, Template:Tl | Title | Section | (end of section range) | (pipe) | United States Code (USC) via Cornell University's Legal Information Institute | |
| Template:Tl, Template:Tl | Title | Section | Description | USC via Cornell: description of the section | ||
| Template:Tl, Template:Tl | Title | Section | (pipe) | USC via Cornell: when citing one of a series of USC sections, where it would be redundant to display the full citation for each section, this template can be used to display only the section number. | ||
| Template:Tl, Template:Tl | Title | Section | Up to 6 levels of "sub" | Access to subsection/paragraph/subparagraph/clause/... to allow correct hyperlinking to the anchors embedded in the Cornell pages. | ||
| Template:Tl | Title | Section | Up to 6 levels of "sub" | Combines Template:Tl and Template:Tl, eliminating redundancy when citing subsections / subparagraphs / &c. | ||
| Template:Tl, Template:Tl | Title | Section | Clause | USC via Cornell: allows clauses | ||
| Template:Tl, Template:Tl | Title | Chapter | (Subchapter) | (pipe) | USC via Cornell: title/chapter links. | |
| Template:Tl | Section | Internal Revenue Code Template:Tl | ||||
| Template:Tl | Volume | Page | Statutes at Large via the Library of Congress, the Government Publishing Office, or Google Books | |||
| Template:Tl | Congress | Ordinal law | (Description) | Public Law via GPO govinfo and https://uslaw.link/ | ||
| Template:Tl | Congress | Ordinal law | (Volume) | (Page) | Combines Template:Tl and Template:Tl, optional Year ({{{5}}}), Month ({{{6}}}), Day ({{{7}}}), optional Template:Tl: (Bill type ({{{8}}}) and number ({{{9}}})) | |
| Template:Tl | Congress | Bill type (S, SJ, HR, HJ) | Bill number (1-?) | (pipe) | Congressional bills via Congress.gov | |
| Template:Tl, Template:Tl | Year | Vote | House roll-call vote via Clerk.House.gov | |||
| Template:Tl, Template:Tl | Congress | Session | Vote | Senate roll-call vote via Senate.gov | ||
| Template:Tl | Year | Page | (date) | Congressional Record via GPO FDsys | ||
| Template:Tl, Template:Tl | Volume | Page | Federal Register via GPO FDsys | |||
| Template:Tl, Template:Tl, Template:Tl | Volume | Part | Section | (Clause) | Code of Federal Regulations via GPO FDsys | |
| Template:Tl | Number | Executive orders via Wikisource | ||||
| Template:Tl | Congress | Treaty number | Treaties | |||
| Template:Tl, Template:Tl | ChapterSection | Up to 7 levels of "sub" | (year) | Latest U.S. Federal Sentencing Guidelines (effective Nov. 1, 2012) via the U.S. Sentencing Commission website. Optional |year= references specific Guidelines applicable to a sentence imposed on or after Nov. 1st of that given year.
| ||
| Template:Tl, Template:Tl | Chapter | Federal Rules of Criminal Procedure (current) via Cornell University's Legal Information Institute | ||||
| Template:Tl, Template:Tl | Rule | Federal Rules of Civil Procedure (current) via federalrulesofcivilprocedure.org | ||||
| Template:Tl, Template:Tl | Rule | Federal Rules of Bankruptcy Procedure (current) via federalrulesofbankruptcyprocedure.org | ||||
| Template:Tl, Template:Tl | Chapter | Federal Rules of Appellate Procedure (current) via Cornell University's Legal Information Institute | ||||
| Template:Tl, Template:Tl | Rule | Federal Rules of Evidence (current) via rulesofevidence.org | ||||
| Template(s) | 1 | 2 | 3 | 4 | pipe | Description |
| Parameter(s) | ||||||
Links to a specific bill via Congress.gov
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Congress number | 1 | 93–present
| Number | required |
| Type | 2 | hr for House bill, hres for House Resolution, hjres for House Joint Resolution, hconres for House Concurrent Resolution, ha for House Amendment, s for Senate Bill, sres, sjres, sconres, sa
| String | required |
| Bill number | 3 | no description
| Number | required |
| which | which | If any data is here (i.e., non-blank), then adds "(Cong.)" to differentiate to the reader the Congress in which the bill was considered
| Unknown | optional |
| pipe | pipe | If any data is here (i.e., non-blank), then overwrites generated text and adds piped text to link
| String | optional |
| site | site | If any data is here (i.e., non-blank), it adds " at Congress.gov." "Site" will not apply if there's no link, (i.e. {{{1}}}<93). "Site" is useful when including bills in lists, such as External links | Unknown | optional |