Template:USBill

☆ Save On Wikipedia ↗

Code only

Edit just this section to edit code without having to review documentation.

Documentation

Template 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.

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-119 (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

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
1234pipe
{{United States Code}}, {{USC}}TitleSection(end of section range) (pipe)United States Code (USC) via Cornell University's Legal Information Institute
{{United States Code with description}}, {{USC2}}TitleSectionDescription USC via Cornell: description of the section
{{United States Code section}}, {{USCSec}}TitleSection (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.
{{United States Code subsection}}, {{USCSub}}TitleSectionUp to 6 levels of "sub"Access to subsection/paragraph/subparagraph/clause/... to allow correct hyperlinking to the anchors embedded in the Cornell pages.
{{USCSub2}}TitleSectionUp to 6 levels of "sub"Combines {{USCSec}} and {{USCSub}}, eliminating redundancy when citing subsections / subparagraphs / &c.
{{United States Code clause}}, {{USCClause}}TitleSectionClause USC via Cornell: allows clauses
{{Usc-title-chap}}, {{usctc}}TitleChapter(Subchapter) (pipe)USC via Cornell: title/chapter links.
{{USIRC}}Section  Internal Revenue Code {{UnitedStatesCode}}
{{USStat}}VolumePage  Statutes at Large via the Library of Congress, the Government Publishing Office, or Google Books
{{USPL}}CongressOrdinal law(Description) Public Law via GPO govinfo and https://uslaw.link/
{{USStatute}}CongressOrdinal law(Volume)(Page) Combines {{USPL}} and {{USStat}},
optional Year ({{{5}}}), Month ({{{6}}}), Day ({{{7}}}),
optional {{USBill}}: (Bill type ({{{8}}}) and number ({{{9}}}))
{{USBill}}CongressBill type (S, SJ, HR, HJ)Bill number (1-?) (pipe)Congressional bills via Congress.gov
{{US House Vote}}, {{USHVote}}YearVoteHouse roll-call vote via Clerk.House.gov
{{US Senate Vote}}, {{USSVote}}CongressSessionVoteSenate roll-call vote via Senate.gov
{{USCongRec}}YearPage(date) Congressional Record via GPO FDsys
{{Federal Register}}, {{USFR}}VolumePage Federal Register via GPO FDsys
{{Code of Federal Regulations}}, {{CodeFedReg}}, {{USCFR}}VolumePartSection(Clause) Code of Federal Regulations via GPO FDsys
{{Executive Order}}Number Executive orders via Wikisource
{{USTreaty}}CongressTreaty numberTreaties
{{United States Sentencing Guidelines}}, {{USSG}}ChapterSectionUp 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.
{{Federal Rules of Criminal Procedure}}, {{frcrp}}ChapterFederal Rules of Criminal Procedure (current) via Cornell University's Legal Information Institute
{{Federal Rules of Civil Procedure}}, {{frcp}}RuleFederal Rules of Civil Procedure (current) via courtrules.net
{{Federal Rules of Bankruptcy Procedure}}, {{frbp}}RuleFederal Rules of Bankruptcy Procedure (current) via courtrules.net
{{Federal Rules of Evidence}}, {{fre}}RuleFederal Rules of Evidence (current) via courtrules.net
Template(s)1234pipeDescription
Parameter(s)

Links to a specific bill via Congress.gov

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Congress number1

93–present

Example
111
Numberrequired
Type2

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

Example
hr
Stringrequired
Bill number3

no description

Example
383
Numberrequired
whichwhich

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

Example
yes
Unknownoptional
pipepipe

If any data is here (i.e., non-blank), then overwrites generated text and adds piped text to link

Example
HR383
Stringoptional
sitesite

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

Unknownoptional