Template:USBill
Code only
- Edit just this section to edit code without having to review documentation.
Documentation
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
{{USBill|congress number|bill type|bill number}}
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-117 (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 |
---|---|---|
h, hr | House Bill Note: H.R. is a House Bill, not a House Resolution. |
H.R. |
hres | House Resolution | H.Res. |
hj, hjr, hjres | House Joint Resolution | H.J.Res. |
hconres, hcr | House Concurrent Resolution | H.Con.Res. |
ha, hamdt | House Amendment | H.Amdt. |
hrept | House Report | H.Rept. |
s | Senate Bill | S. |
sr, sres | Senate Resolution | S.Res. |
sj, sjr, sjres | Senate Joint Resolution | S.J.Res. |
sconres, scr, scon | Senate Concurrent Resolution | S.Con.Res. |
samt, sa, samdt | Senate Amendment | S.Amdt. |
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:
- {{USBill|101|SJ|52}} returns S.J.Res. 52
House bill 889 of the 109th Congress:
- {{USBill|109|HR|889}} returns H.R. 889
- {{USBill|109|HR|889|which=109}} returns H.R. 889 (109th Cong.)
House Resolution 4954 of the 109th Congress, known as the "SAFE Port Act":
- {{USBill|109|HR|4954|pipe=Text of the SAFE Port Act|site=yes}} returns Text of the SAFE Port Act at Congress.gov
Examples of Senate legislation from the Library of Congress:
- {{USBill|110|S|254}} returns S. 254
- {{USBill|110|SJ|10}} returns S.J.Res. 10
- {{USBill|110|SConRes|33}} returns S.Con.Res. 33
- {{USBill|110|SRes|69}} returns S.Res. 69
- {{USBill|110|SA|43}} returns S.Amdt. 43
Examples of House of Representatives legislation from the Library of Congress:
- {{USBill|110|HR|622}} returns H.R. 622
- {{USBill|110|HJ|65}} returns H.J.Res. 65
- {{USBill|110|HConRes|27}} returns H.Con.Res. 27
- {{USBill|110|HRes|655|site=yes}} returns H.Res. 655 at Congress.gov
- {{USBill|110|HA|234|site=yes}} returns H.Amdt. 234 at Congress.gov
Example of an unlinked bill:
- {{USBill|82|HRes|5678|site=yes}} returns H.Res. 5678
See also
- {{UK SI}}, 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 {{Cite court}}, or, for the U.S. Supreme Court, use {{Ussc}}.
Parameters in (parentheses) are optional.
Template(s) | Parameter(s) | Description | ||||
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | pipe | ||
{{UnitedStatesCode}}, {{USC}} | Title | Section | (end of section range) | (pipe) | United States Code (USC) via Cornell University's Legal Information Institute | |
{{UnitedStatesCode2}}, {{USC2}} | Title | Section | Description | USC via Cornell: description of the section | ||
{{UnitedStatesCodeSec}}, {{USCSec}} | 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. | ||
{{UnitedStatesCodeSub}}, {{USCSub}} | 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. | ||
{{USCSub2}} | Title | Section | Up to 6 levels of "sub" | Combines {{USCSec}} and {{USCSub}}, eliminating redundancy when citing subsections / subparagraphs / &c. | ||
{{UnitedStatesCodeClause}}, {{USCClause}} | Title | Section | Clause | USC via Cornell: allows clauses | ||
{{Usc-title-chap}}, {{usctc}} | Title | Chapter | (Subchapter) | (pipe) | USC via Cornell: title/chapter links. | |
{{USIRC}} | Section | Internal Revenue Code {{UnitedStatesCode}} | ||||
{{USStat}} | Volume | Page | Statutes at Large via the Library of Congress, the Government Publishing Office, or Google Books | |||
{{USPL}} | Congress | Ordinal law | (Description) | Public Law via GPO govinfo and https://uslaw.link/ | ||
{{USStatute}} | Congress | Ordinal law | (Volume) | (Page) | Combines {{USPL}} and {{USStat}}, optional Year ({{{5}}}), Month ({{{6}}}), Day ({{{7}}}), optional {{USBill}}: (Bill type ({{{8}}}) and number ({{{9}}})) | |
{{USBill}} | Congress | Bill type (S, SJ, HR, HJ) | Bill number (1-?) | (pipe) | Congressional bills via Congress.gov | |
{{US House Vote}}, {{USHVote}} | Year | Vote | House roll-call vote via Clerk.House.gov | |||
{{US Senate Vote}}, {{USSVote}} | Congress | Session | Vote | Senate roll-call vote via Senate.gov | ||
{{USCongRec}} | Year | Page | (date) | Congressional Record via GPO FDsys | ||
{{Federal Register}}, {{USFR}} | Volume | Page | Federal Register via GPO FDsys | |||
{{CodeFedReg}}, {{USCFR}} | Volume | Part | Section | (Clause) | Code of Federal Regulations via GPO FDsys | |
{{Executive Order}} | Number | Executive orders via Wikisource | ||||
{{USTreaty}} | Congress | Treaty number | Treaties | |||
{{UnitedStatesSentencingGuidelines}}, {{USSG}} | 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.
| ||
{{frcrp}} | Chapter | Federal Rules of Criminal Procedure (current) via Cornell University's Legal Information Institute | ||||
{{frcp}} | Rule | Federal Rules of Civil Procedure (current) via federalrulesofcivilprocedure.org | ||||
{{frbp}} | Rule | Federal Rules of Bankruptcy Procedure (current) via federalrulesofbankruptcyprocedure.org | ||||
{{frap}} | Chapter | Federal Rules of Appellate Procedure (current) via Cornell University's Legal Information Institute | ||||
{{fre}} | 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 |