قالب:CodeFedReg/doc
| هذه صفحة توثيق فرعية لـ قالب:CodeFedReg. تتضمن معلومات الاستعمال، التصنيفات وأي محتوى آخر ليس من محتويات الأصل لصفحة القالب. |
Usage
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=Appfor 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=قالب:Today (mdy)= 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
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)
| وسيط | وصف | نوع | حالة | |
|---|---|---|---|---|
| Title | 1 | Title within the CFR | رقم | مطلوب |
| Part | 2 | Part of within CFR | رقم | مقترح |
| Section | 3 | Section within the CFR | نص | مقترح |
| Clause | 4 | Clause within the CFR, with levels of subclauses separated by underscores (_) | نص | مقترح |
| Subpart | subpart | Subpart within the CFR (unusual) | نص | اختياري |
| Section prefix | prefix | Prefix for section within the CFR (unusual) | نص | اختياري |
| Year | year | Year, only if not current year | تاريخ | اختياري |
| Access date | accessdate | Date accessed, for use in citations | تاريخ | اختياري |
List of all United States legal citation templates
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}}, {{usc}} | Title | Section | (end of section range) | (pipe) | United States Code via Cornell University's Legal Information Institute | |
| {{UnitedStatesCode2}}, {{USC2}}, {{usc2}} | Title | Section | Description | USC via Cornell: description of the section | ||
| {{UnitedStatesCodeSec}}, {{USC-Sec}}, {{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}}, {{USC-Sub}}, {{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}}, {{USC-Clause}} | 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}}, {{usstat}} | Volume | Page | Statutes at Large via the Library of Congress, the Government Printing Office, or Google Books | |||
| {{USPL}}, {{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}}, {{US House vote}}, {{USHRollCall}}, {{USHVote}} | Year | Vote | House Roll call vote via Clerk.House.gov | |||
| {{US Senate Vote}}, {{US Senate vote}}, {{USSRollCall}}, {{USSVote}} | Congress | Session | Vote | Senate Roll call vote via Senate.gov | ||
| {{USCongRec}} | Year | Page | (date) | Congressional Record via GPO FDsys | ||
| {{Federal Register}}, {{USFR}}, {{USFedReg}} | Volume | Page | Federal Register via GPO FDsys | |||
| {{CodeFedReg}}, {{USCFR}} | Volume | Part | Section | (Clause) | Code of Federal Regulations via GPO FDsys | |
| {{ExecutiveOrder}}, {{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}} | Chapter | Federal Rules of Civil Procedure (current) via Cornell University's Legal Information Institute | ||||
| {{frbp}} | Chapter | Federal Rules of Bankruptcy Procedure (current) via Cornell University's Legal Information Institute | ||||
| {{frap}} | Chapter | Federal Rules of Appellate Procedure (current) via Cornell University's Legal Information Institute | ||||
| Template(s) | 1 | 2 | 3 | 4 | pipe | Description |
| Parameter(s) | ||||||