Template:Code of Federal Regulations/doc
This is a documentation subpage for Template:Code of Federal Regulations. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit]This template cites the Code of Federal Regulations with automatic links. It wikilinks the title and/or part if it exists on Wikipedia, and makes an external link to the U.S. government's GPO Access site for the subpart and section.
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. **Using spaces in the parameters (ie. title, part, section, etc) will break the external link generated by the template
{{CodeFedReg |13|136|130|g}} or {{CodeFedReg |1=13|2=136|3=130|a=g}}
1
= Title2
= Part3
= Sectiona
= Clause (optional)
{{CodeFedReg |24|884|subpart=C}} or {{CodeFedReg |1=24|2=884|subpart=C}}
1
= Title2
= Partsubpart
= Subpart
{{CodeFedReg |40|58|prefix=App|G}} or {{CodeFedReg |1=40|2=58|prefix=App|3=G}}
1
= Title2
= Partprefix=Examp
= Prefix abbreviation (as used on GPO Access citations; oftenprefix=App
for Appendix)3
= Section (optional; sometimes a letter for some prefixes)a
= Clause (optional)
- Optional combined subpart/section citations — 23 C.F.R. 710 Subpart D §403e
- rendered as 23 CFR 710.403
{{CodeFedReg |23|710|subpart=D|403|d}} or {{CodeFedReg |1=23|2=710|subpart=D|3=403|a=e}}
1
= Title2
= Partsubpart
= Subpart3
= Section (optional)a
= Clause (optional)
If both subpart and section are given, both are displayed, but the link is to the section, since it is more specific.
- Optional parameters
year=2000
= year to use instead of current; GPO Access has copies of regulations several years backaccessdate=November 20, 2024
= adds "accessed on" language for citations
prefix
, subpart
, year
, and accessdate
are new as of October 22, 2010.
For more examples and results, see Template:CodeFedReg/testcases.
Template data
[edit]TemplateData for Code of Federal Regulations
This template generates a link to a section of the U.S. Code of Federal Regulations (CFR)
Parameter | Description | Type | Status | |
---|---|---|---|---|
Title | 1 | Title within the CFR | Number | required |
Part | 2 | Part of within CFR | Number | suggested |
Section | 3 | Section within the CFR | String | suggested |
Clause | 4 | Clause within the CFR, with levels of subclauses separated by underscores (_) | String | suggested |
Subpart | subpart | Subpart within the CFR (unusual) | String | optional |
Section prefix | prefix | Prefix for section within the CFR (unusual) | String | optional |
Year | year | Year, only if not current year | Date | optional |
Access date | accessdate | Date accessed, for use in citations | Date | optional |
List of all United States legal citation templates
[edit]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 | ||
{{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) |