Difference between revisions of "Template:Cite court/doc"

From blackwiki
Jump to navigation Jump to search
(sl:Predloga:Cite court)
imported>Finell
(Please see explanation on talk page)
 
(42 intermediate revisions by 30 users not shown)
Line 2: Line 2:
 
__NOTOC__
 
__NOTOC__
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE -->
 
+
Format based on information from the article [[Case citation]].
*Based on information from the article [[Case citation]].
 
  
 
==Usage==
 
==Usage==
Copy a blank version to use.  All fields '''''must''''' be [[lowercase]].  At this point, all fields are optional; however, this is subject to change as the template matures.
+
Copy a blank version to use.  All parameter names {{strong|must}} be [[lowercase]].  At this point, all fields are optional; however, this is subject to change as the template matures.
  
 
{| class="wikitable"
 
{| class="wikitable"
Line 13: Line 12:
 
|- width="50%" style="vertical-align:top;"
 
|- width="50%" style="vertical-align:top;"
 
| style="vertical-align:top; padding:1ex;" |<pre>
 
| style="vertical-align:top; padding:1ex;" |<pre>
{{cite court |litigants= |vol= |reporter= |opinion= |pinpoint= |court= |date= |url= |quote=}}</pre>
+
{{cite court |litigants= |vol= |reporter= |opinion= |pinpoint= |court= |date= |url= |access-date= |quote=}}</pre>
 
|- width="50%" style="vertical-align:top;"
 
|- width="50%" style="vertical-align:top;"
 
! Vertical list
 
! Vertical list
Line 27: Line 26:
 
|date=
 
|date=
 
|url=
 
|url=
 +
|access-date=
 
|quote=
 
|quote=
 
}}</pre>
 
}}</pre>
Line 37: Line 37:
 
==Description of fields==
 
==Description of fields==
 
''All fields are optional!''
 
''All fields are optional!''
; litigants : List of litigants, such as "Miranda v. Arizona".  If a Wikipedia article using this exact string exists, a link will automatically be created.  Alternately, if an article exists but another name is desired for display, a wikilink may be specified; i.e., "<nowiki>[[Case article|This v. That]]</nowiki>".  Note: This should likely not be optional.
+
; litigants : The  title of the case, such as "Miranda v. Arizona".  If a Wikipedia article using this exact string exists, a link will automatically be created.  Alternately, if an article exists but another name is desired for display, a wikilink may be specified; i.e., "<nowiki>[[Case article|This v. That]]</nowiki>".  Note: This presently cannot be specified as ''title'', which is inconsistent with other citation templates.
; vol : Volume of the [[Reporter (law)|reporter]].
+
; reporter : The abbreviated term for whatever [[Reporter (law)|reporter]] is being referenced; i.e., "U.S." for the U.S. Supreme Court's "[[United States Reports]]". '''Important:''' "reporter" in this context means an official law publication, not a journalist.  This presently cannot be specified as ''work'', which is inconsistent with other citation templates. Do not wikilink.
; reporter : The abbreviated term for whatever reporter is being referenced; i.e., "U.S." for the U.S. Supreme Court's "United States Reports".
+
; vol : Volume of the reporter. Only used for US case citations (and those given in the same format); otherwise, just include the information as part of ''reporter'' in the format given by the source. This presently cannot be specified as ''volume'', which is inconsistent with other citation templates.
; opinion : The opinion number, often the page number for the case.
+
; opinion : The opinion number, often the number of the first page of the case. Only used for US case citations (and those given in the same format); otherwise, just include the information as part of ''reporter'' in the format given by the source.
; pinpoint : Identifies a specific part of a decision, typically by page or paragraph number.
+
; [[Case citation#Pinpoint citations|pinpoint]] : Identifies a specific part of a decision, typically by page or paragraph number. This presently cannot be specified as ''at'', ''page'', or ''pages'', which is inconsistent with other citation templates.
; court : The court being cited, such as "3d Cir." or "M.D. Ala." In order for ''court'' to appear, ''date'' must be specified.  Note: This field also should likely not be optional.
+
; court : The name or (optionally) standard abbreviation for the court being cited (e.g. "[[3d Cir.]]" or "[[M.D. Ala.]]" or "[[Allahabad High Court‎]], India"). If the abbreviated form would be a red link, use the long one (even if it is also a red link for now). See [https://web.archive.org/web/20171118125409/http://www.alwd.org/wp-content/uploads/2013/03/pdf/CM2_Appendix4.pdf here] for a list of courts in the United States. In order for ''court'' to appear, ''date'' must also be specified.  Note: This parameter also should likely not be optional.
; date : The year or date in which the court rendered its decision.
+
; date : The year or full date in which the court rendered its decision. Note: This parameter also should likely not be optional, or the ''court'' parameter will break.
; url : A web site or other online article with information on the case.  For example, for a U.S. Supreme Court case, the URL to ''FindLaw'' is <code><nowiki>http://caselaw.lp.findlaw.com/scripts/getcase.pl?navby=CASE&court=US&vol={{{vol}}}&page={{{page}}}</nowiki></code>
+
; url : A Web address for the court document(s).  For example, for a [[Supreme Court of the United States|U.S. Supreme Court]] case, the [[URL]] to ''[[FindLaw]]'' is <code><nowiki>http://caselaw.lp.findlaw.com/scripts/getcase.pl?navby=CASE&court=US&vol={{{vol}}}&page={{{page}}}</nowiki></code>. It may be permissible to use the URL of a Web page that provides summary information about the case, if the case documents are not available;  however, an article about the case should be cited with {{tl|Cite web}} or {{tl|Cite news}}.  {{em|This}} template is for citing a legal document and its wording directly.
 
+
; access-date or accessdate : The date that you viewed the URL, not the date of the case.  This presently is not displayed, which is inconsistent with other citation templates.
[[fr:Modèle:Jurisprudence/Documentation]]
+
; via : Name of the website (republisher) if the URL does not go to the site of the ''reporter'' above. This presently is not displayed, which is inconsistent with other citation templates.
[[sl:Predloga:Cite court]]
+
; lang : Two-letter [[ISO 639-1]] language code for the language in which the document is written, {{em|if}} it is not English (leave this parameter out if it is). This presently is not displayed, which is inconsistent with other citation templates.
 +
; archive-url or archiveurl : URL to a backup copy of the document at Wayback.Archive.org or some other archival site.  This presently is not displayed, which is inconsistent with other citation templates.
 +
; archive-date or archivedate : Date of the above archival. This presently is not displayed, which is inconsistent with other citation templates.
 +
; url-status : ''live'' if the original URL no longer works; ''dead'' or blank otherwise; controls what is done with the ''archive-url''. This presently is not functional, which is inconsistent with other citation templates.
  
<includeonly>
+
{{TemplateData header}}
[[Category:Law citation templates|Cite court]]
+
<templatedata>
</includeonly>
+
{
 +
"params": {
 +
"litigants": {
 +
"label": "Litigants",
 +
"description": "The title of the case. If a Wikipedia article using this exact string exists, a link will automatically be created.  Alternately, if an article exists but another name is desired for display, a wikilink may be specified; i.e., \"[[Case article|This v. That]]\".",
 +
"example": "Miranda v. Arizona",
 +
"type": "string",
 +
"suggested": true
 +
},
 +
"vol": {
 +
"label": "Volume",
 +
"description": "Volume of the reporter"
 +
},
 +
"reporter": {
 +
"label": "Reporter",
 +
"description": "The abbreviated term for whatever reporter is being referenced",
 +
"example": "\"U.S.\" for the U.S. Supreme Court's United States Reports",
 +
"type": "string"
 +
},
 +
"opinion": {
 +
"label": "Opinion number",
 +
"description": "The opinion number, often the number of the first page of the case.",
 +
"type": "string"
 +
},
 +
"url": {
 +
"label": "URL",
 +
"description": "A web site or other online article with information on the case. ",
 +
"type": "url"
 +
},
 +
"pinpoint": {
 +
"label": "Pinpoint citation",
 +
"description": "Identifies a specific part of a decision, typically by page or paragraph number.",
 +
"type": "string"
 +
},
 +
"court": {
 +
"label": "Court name",
 +
"description": "The standard abbreviation for the court being cited",
 +
"example": "3d Cir.",
 +
"type": "string",
 +
"suggested": true
 +
},
 +
"date": {
 +
"aliases": [
 +
"year"
 +
],
 +
"label": "Date",
 +
"description": "The year or date in which the court rendered its decision.",
 +
"type": "date"
 +
},
 +
"quote": {
 +
"label": "Quote",
 +
"description": "A quote from the judgment",
 +
"type": "string"
 +
}
 +
},
 +
"description": "Cite a court judgment",
 +
"paramOrder": [
 +
"litigants",
 +
"court",
 +
"reporter",
 +
"vol",
 +
"opinion",
 +
"pinpoint",
 +
"date",
 +
"url",
 +
"quote"
 +
]
 +
}
 +
</templatedata>
 +
<includeonly>{{sandbox other||
 +
<!-- Categories go here, and interwikis go in Wikidata -->
 +
[[Category:Bluebook style citation templates]]
 +
[[Category:Law citation templates]]
 +
}}</includeonly>

Latest revision as of 21:54, 24 August 2020

Format based on information from the article Case citation.

Usage

Copy a blank version to use. All parameter names must be lowercase. At this point, all fields are optional; however, this is subject to change as the template matures.

Horizontal list
{{cite court |litigants= |vol= |reporter= |opinion= |pinpoint= |court= |date= |url= |access-date= |quote=}}
Vertical list
{{cite court
|litigants=
|vol=
|reporter=
|opinion=
|pinpoint=
|court=
|date=
|url=
|access-date=
|quote=
}}

Examples

  • {{cite court |litigants=Parker v. D.C. |vol=478 |reporter=F.3d |opinion=370 |pinpoint=401 |court=D.C. Cir. |date=2007 |url=http://pacer.cadc.uscourts.gov/docs/common/opinions/200703/04-7041a.pdf |quote=As such, we hold it unconstitutional.}}
  • Parker v. D.C., 478 F.3d 370, 401 (D.C. Cir. 2007) ("As such, we hold it unconstitutional.").

Description of fields

All fields are optional!

litigants 
The title of the case, such as "Miranda v. Arizona". If a Wikipedia article using this exact string exists, a link will automatically be created. Alternately, if an article exists but another name is desired for display, a wikilink may be specified; i.e., "[[Case article|This v. That]]". Note: This presently cannot be specified as title, which is inconsistent with other citation templates.
reporter 
The abbreviated term for whatever reporter is being referenced; i.e., "U.S." for the U.S. Supreme Court's "United States Reports". Important: "reporter" in this context means an official law publication, not a journalist. This presently cannot be specified as work, which is inconsistent with other citation templates. Do not wikilink.
vol 
Volume of the reporter. Only used for US case citations (and those given in the same format); otherwise, just include the information as part of reporter in the format given by the source. This presently cannot be specified as volume, which is inconsistent with other citation templates.
opinion 
The opinion number, often the number of the first page of the case. Only used for US case citations (and those given in the same format); otherwise, just include the information as part of reporter in the format given by the source.
pinpoint 
Identifies a specific part of a decision, typically by page or paragraph number. This presently cannot be specified as at, page, or pages, which is inconsistent with other citation templates.
court 
The name or (optionally) standard abbreviation for the court being cited (e.g. "3d Cir." or "M.D. Ala." or "Allahabad High Court‎, India"). If the abbreviated form would be a red link, use the long one (even if it is also a red link for now). See here for a list of courts in the United States. In order for court to appear, date must also be specified. Note: This parameter also should likely not be optional.
date 
The year or full date in which the court rendered its decision. Note: This parameter also should likely not be optional, or the court parameter will break.
url 
A Web address for the court document(s). For example, for a U.S. Supreme Court case, the URL to FindLaw is http://caselaw.lp.findlaw.com/scripts/getcase.pl?navby=CASE&court=US&vol={{{vol}}}&page={{{page}}}. It may be permissible to use the URL of a Web page that provides summary information about the case, if the case documents are not available; however, an article about the case should be cited with {{Cite web}} or {{Cite news}}. This template is for citing a legal document and its wording directly.
access-date or accessdate 
The date that you viewed the URL, not the date of the case. This presently is not displayed, which is inconsistent with other citation templates.
via 
Name of the website (republisher) if the URL does not go to the site of the reporter above. This presently is not displayed, which is inconsistent with other citation templates.
lang 
Two-letter ISO 639-1 language code for the language in which the document is written, if it is not English (leave this parameter out if it is). This presently is not displayed, which is inconsistent with other citation templates.
archive-url or archiveurl 
URL to a backup copy of the document at Wayback.Archive.org or some other archival site. This presently is not displayed, which is inconsistent with other citation templates.
archive-date or archivedate 
Date of the above archival. This presently is not displayed, which is inconsistent with other citation templates.
url-status 
live if the original URL no longer works; dead or blank otherwise; controls what is done with the archive-url. This presently is not functional, which is inconsistent with other citation templates.
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Cite court

Cite a court judgment

Template parameters

ParameterDescriptionTypeStatus
Litigantslitigants

The title of the case. If a Wikipedia article using this exact string exists, a link will automatically be created. Alternately, if an article exists but another name is desired for display, a wikilink may be specified; i.e., "[[Case article|This v. That]]".

Example
Miranda v. Arizona
Stringsuggested
Court namecourt

The standard abbreviation for the court being cited

Example
3d Cir.
Stringsuggested
Reporterreporter

The abbreviated term for whatever reporter is being referenced

Example
"U.S." for the U.S. Supreme Court's United States Reports
Stringoptional
Volumevol

Volume of the reporter

Unknownoptional
Opinion numberopinion

The opinion number, often the number of the first page of the case.

Stringoptional
Pinpoint citationpinpoint

Identifies a specific part of a decision, typically by page or paragraph number.

Stringoptional
Datedate year

The year or date in which the court rendered its decision.

Dateoptional
URLurl

A web site or other online article with information on the case.

URLoptional
Quotequote

A quote from the judgment

Stringoptional