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

Normal citations — 13 C.F.R. 136.130g
rendered as 13 CFR 136.130

{{CodeFedReg |13|136|130|g}} or {{CodeFedReg |1=13|2=136|3=130|a=g}}

  • 1 = Title
  • 2 = Part
  • 3 = Section
  • a = Clause (optional)
Subpart citations — 24 C.F.R. 884C
rendered as 24 CFR 884

{{CodeFedReg |24|884|subpart=C}} or {{CodeFedReg |1=24|2=884|subpart=C}}

  • 1 = Title
  • 2 = Part
  • subpart = Subpart
Strange prefixed/appendix section citations — 40 C.F.R. 58 App G
rendered as 40 CFR 58.G

{{CodeFedReg |40|58|prefix=App|G}} or {{CodeFedReg |1=40|2=58|prefix=App|3=G}}

  • 1 = Title
  • 2 = Part
  • prefix=Examp = Prefix abbreviation (as used on GPO Access citations; often prefix=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 = Title
  • 2 = Part
  • subpart = Subpart
  • 3 = 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 back
  • accessdate=May 14, 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

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:CodeFedReg in articles based on its TemplateData.

TemplateData for CodeFedReg

This template generates a link to a section of the U.S. Code of Federal Regulations (CFR)

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Title1

Title within the CFR

Numberrequired
Part2

Part of within CFR

Numbersuggested
Section3

Section within the CFR

Stringsuggested
Clause4

Clause within the CFR, with levels of subclauses separated by underscores (_)

Stringsuggested
Subpartsubpart

Subpart within the CFR (unusual)

Stringoptional
Section prefixprefix

Prefix for section within the CFR (unusual)

Stringoptional
Yearyear

Year, only if not current year

Dateoptional
Access dateaccessdate

Date accessed, for use in citations

Dateoptional

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
{{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)