Template:United States Code/sandbox
[[Title {{{1}}} of the United States Code|{{{1}}} U.S.C.]] §§ {{{2}}}–{{{3}}}
This is the template sandbox page for Template:United States Code (diff). See also the companion subpage for test cases. |
This template is used on approximately 3,500 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
Usage
editThis template links to an external site, the Cornell University Law School U.S. Code database. External links should not normally be used in the body of an article; see Wikipedia:External links for discussion of acceptable and unacceptable uses.
This template uses Cornell's database. You may also use this to specify a range of sections.
Usage | Output |
---|---|
{{UnitedStatesCode|x|y}}
|
x U.S.C. § y |
{{USC|x|y}}
| |
{{UnitedStatesCode|x|y|z}}
|
x U.S.C. §§ y–z |
{{USC|x|y|z}}
| |
{{UnitedStatesCode|x|y|notitle=1}}
|
§ y |
{{USC|x|y|notitle=1}}
| |
{{UnitedStatesCode|x|y|pipe=Link text}}
|
Link text |
{{USC|x|y|pipe=Link text}}
|
Please note that all titles have Wikipedia articles and the template will link to the Wikipedia article. When citing a series of sections within a single title, one may eliminate redundancy by suppressing the display of the title altogether by adding the parameter |notitle=1
(see example below).
Examples
editUsage | Output |
---|---|
{{USC|4|1}}.
|
4 U.S.C. § 1. |
{{USC | 25 | 13f }}.
|
25 U.S.C. § 13f. |
{{USC|10|371|375}}, {{USC | 10 | 378 | notitle= 1 }}, and {{USC | 10 | 380 | 382 | notitle= 1 }}.
|
10 U.S.C. §§ 371–375, § 378, and §§ 380–382. |
{{USC | 26 | 501 | pipe= Exemption from tax on corporations }}.
|
Exemption from tax on corporations. |
List of all United States legal citation templates
editThese 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 | ||
{{United States Code}}, {{USC}} | Title | Section | (end of section range) | (pipe) | United States Code (USC) via Cornell University's Legal Information Institute | |
{{United States Code with description}}, {{USC2}} | Title | Section | Description | USC via Cornell: description of the section | ||
{{United States Code section}}, {{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. | ||
{{United States Code subsection}}, {{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. | ||
{{United States Code clause}}, {{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 | |||
{{Code of Federal Regulations}}, {{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 | |||
{{United States Sentencing Guidelines}}, {{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.
| ||
{{Federal Rules of Criminal Procedure}}, {{frcrp}} | Chapter | Federal Rules of Criminal Procedure (current) via Cornell University's Legal Information Institute | ||||
{{Federal Rules of Civil Procedure}}, {{frcp}} | Rule | Federal Rules of Civil Procedure (current) via federalrulesofcivilprocedure.org | ||||
{{Federal Rules of Bankruptcy Procedure}}, {{frbp}} | Rule | Federal Rules of Bankruptcy Procedure (current) via federalrulesofbankruptcyprocedure.org | ||||
{{Federal Rules of Appellate Procedure}}, {{frap}} | Chapter | Federal Rules of Appellate Procedure (current) via Cornell University's Legal Information Institute | ||||
{{Federal Rules of Evidence}}, {{fre}} | Rule | Federal Rules of Evidence (current) via rulesofevidence.org | ||||
Template(s) | 1 | 2 | 3 | 4 | pipe | Description |
Parameter(s) |
TemplateData
editThis template links to the Cornell University Law School U.S. Code database and allows for linking to specific titles and sections of the United States Code.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | 1 | The title number of the U.S. Code.
| Number | required |
Section | 2 | The section number of the U.S. Code.
| Number | required |
End section | 3 | The ending section number for a range of sections in the U.S. Code (optional).
| Number | optional |
Link text | pipe | Custom text for the hyperlink. If not specified, the default format is used.
| String | optional |
Suppress title? | notitle | Useful for citing multiple sections within a single title.
| Boolean | optional |