Template:CodeFedReg

From Wikipedia, the free encyclopedia
Jump to: navigation, search

{{{1}}} C.F.R.

Template documentation[view] [edit] [history] [purge]

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.

Normal citations — 1 C.F.R. 2.3a

{{CodeFedReg | 1 | 2 | 3 | a}}

  • 1 = Title
  • 2 = Part
  • 3 = Section
  • a = Clause (optional)
Subpart citations — 1 C.F.R. 2 Subpart B

{{CodeFedReg | 1 | 2 | subpart=B }}

  • 1 = Title
  • 2 = Part
  • subpart=B = Subpart
Strange prefixed/appendix section citations — 1 C.F.R. 2 Examp 3

{{CodeFedReg | 1 | 2 | prefix=Examp | 3 }}

  • 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 — 1 C.F.R. 2 Subpart B §3a

{{CodeFedReg | 1 | 2 | subpart=B | 3 | a}}

  • 1 = Title
  • 2 = Part
  • subpart=B = 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=November 15, 2017 = 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 documentation for this template used by VisualEditor and other tools.

See the monthly error report for this template.

TemplateData for CodeFedReg

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

Template parameters

This template has custom formatting.

Parameter Description Type Status
Title 1

Title within the CFR

Default
empty
Example
empty
Auto value
empty
Number required
Part 2

Part of within CFR

Default
empty
Example
empty
Auto value
empty
Number suggested
Section 3

Section within the CFR

Default
empty
Example
empty
Auto value
empty
String suggested
Clause 4

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

Default
empty
Example
empty
Auto value
empty
String suggested
Subpart subpart

Subpart within the CFR (unusual)

Default
empty
Example
empty
Auto value
empty
String optional
Section prefix prefix

Prefix for section within the CFR (unusual)

Default
empty
Example
empty
Auto value
empty
String optional
Year year

Year, only if not current year

Default
empty
Example
empty
Auto value
empty
Date optional
Access date accessdate

Date accessed, for use in citations

Default
empty
Example
empty
Auto value
empty
Date optional

List of all United States legal citation templates[edit]

These templates are for citing codes and laws. To cite court cases, use {{Cite court}}, or for the U.S. Supreme Court, use {{Scite}} or {{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   Public Law via GPO FDsys
{{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 THOMAS
{{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)