Difference between revisions of "Template:Caselaw source"

From blackwiki
Jump to navigation Jump to search
imported>Lethargilistic
(Undid revision 854791173 by L235 (talk) The case name is not the only thing on that line on most articles. The citation is also usually there, see the examples in the docs.)
imported>Vahurzpu
m (Finish TemplateData by adding an example and a datatype)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<includeonly>Text of {{{case}}} is available from: {{#if: {{{cornell|}}}|{{spaces}}[{{{cornell}}} Cornell]{{spaces}}}}{{#if: {{{courtlistener|}}}|{{spaces}}[{{{courtlistener}}} CourtListener]{{spaces}}}}{{#if: {{{findlaw|}}}|{{spaces}}[{{{findlaw}}} Findlaw]{{spaces}}}}{{#if: {{{googlescholar|}}}|{{spaces}}[{{{googlescholar}}} Google Scholar]{{spaces}}}}{{#if: {{{justia|}}}|{{spaces}}[{{{justia}}} Justia]{{spaces}}}}{{#if: {{{leagle|}}}|{{spaces}}[{{{leagle}}} Leagle]{{spaces}}}}{{#if: {{{loc|}}}|{{spaces}}[{{{loc}}} Library of Congress]{{spaces}}}}{{#if: {{{openjurist|}}}|{{spaces}}[{{{openjurist}}} OpenJurist]{{spaces}}}}{{#if: {{{oyez|}}}|{{spaces}}[{{{oyez}}} Oyez]{{spaces}}}}{{#if: {{{precydent|}}}|{{spaces}}[{{{precydent}}} Precydent]{{spaces}}}}{{#if: {{{vlex|}}}|{{spaces}}[{{{vlex}}} vLex]{{spaces}}}}{{#if: {{{other_source1|}}}|{{spaces}}[{{{other_url1}}} {{{other_source1}}}]{{spaces}}}}{{#if: {{{other_source2|}}}|{{spaces}}[{{{other_url2}}} {{{other_source2}}}]{{spaces}}}}{{#if: {{{other_source3|}}}|{{spaces}}[{{{other_url3}}} {{{other_source3}}}]{{spaces}}}}{{#if: {{{other_source4|}}}|{{spaces}}[{{{other_url4}}} {{{other_source4}}}]{{spaces}}}}{{#if: {{{other_source5|}}}|{{spaces}}[{{{other_url5}}} {{{other_source5}}}]{{spaces}}}}{{#if: {{{other_source6|}}}|{{spaces}}[{{{other_url6}}} {{{other_source6}}}]{{spaces}}}}{{#if: {{{other_source7|}}}|{{spaces}}[{{{other_url7}}} {{{other_source7}}}]{{spaces}}}}{{#if: {{{other_source8|}}}|{{spaces}}[{{{other_url8}}} {{{other_source8}}}]{{spaces}}}}{{#if: {{{other_source9|}}}|{{spaces}}[{{{other_url9}}} {{{other_source9}}}]{{spaces}}}}</includeonly><noinclude>
+
<includeonly>Text of {{{case}}} is available from: {{#if: {{{cornell|}}}|{{spaces}}[{{{cornell}}} Cornell]{{spaces}}}}{{#if: {{{courtlistener|}}}|{{spaces}}[{{{courtlistener}}} CourtListener]{{spaces}}}}{{#if: {{{findlaw|}}}|{{spaces}}[{{{findlaw}}} Findlaw]{{spaces}}}}{{#if: {{{googlescholar|}}}|{{spaces}}[{{{googlescholar}}} Google Scholar]{{spaces}}}}{{#if: {{{justia|}}}|{{spaces}}[{{{justia}}} Justia]{{spaces}}}}{{#if: {{{leagle|}}}|{{spaces}}[{{{leagle}}} Leagle]{{spaces}}}}{{#if: {{{loc|}}}|{{spaces}}[{{{loc}}} Library of Congress]{{spaces}}}}{{#if: {{{openjurist|}}}|{{spaces}}[{{{openjurist}}} OpenJurist]{{spaces}}}}{{#if: {{{oyez|}}}|{{spaces}}[{{{oyez}}} Oyez (oral argument audio)]{{spaces}}}}{{#if: {{{vlex|}}}|{{spaces}}[{{{vlex}}} vLex]{{spaces}}}}{{#if: {{{other_source1|}}}|{{spaces}}[{{{other_url1}}} {{{other_source1}}}]{{spaces}}}}{{#if: {{{other_source2|}}}|{{spaces}}[{{{other_url2}}} {{{other_source2}}}]{{spaces}}}}{{#if: {{{other_source3|}}}|{{spaces}}[{{{other_url3}}} {{{other_source3}}}]{{spaces}}}}{{#if: {{{other_source4|}}}|{{spaces}}[{{{other_url4}}} {{{other_source4}}}]{{spaces}}}}{{#if: {{{other_source5|}}}|{{spaces}}[{{{other_url5}}} {{{other_source5}}}]{{spaces}}}}{{#if: {{{other_source6|}}}|{{spaces}}[{{{other_url6}}} {{{other_source6}}}]{{spaces}}}}{{#if: {{{other_source7|}}}|{{spaces}}[{{{other_url7}}} {{{other_source7}}}]{{spaces}}}}{{#if: {{{other_source8|}}}|{{spaces}}[{{{other_url8}}} {{{other_source8}}}]{{spaces}}}}{{#if: {{{other_source9|}}}|{{spaces}}[{{{other_url9}}} {{{other_source9}}}]{{spaces}}}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
</noinclude>
+
<templatedata>
 +
{
 +
"params": {
 +
"case": {
 +
"label": "Case",
 +
"description": "name of legal case, possibly including wikitext citation",
 +
"example": "''Brown v. Board of Education'', {{ussc|347|483|1954|el=no}}",
 +
"type": "string",
 +
"required": true
 +
},
 +
"cornell": {
 +
"label": "Cornell LII link",
 +
"description": "URL on Legal Information Institute at Cornell Law School",
 +
"example": "https://www.law.cornell.edu/supremecourt/text/347/483",
 +
"type": "url"
 +
},
 +
"courtlistener": {
 +
"label": "CourtListener",
 +
"description": "URL on CourtListener",
 +
"example": "https://www.courtlistener.com/opinion/105221/brown-v-board-of-education/",
 +
"type": "url"
 +
},
 +
"findlaw": {
 +
"label": "FindLaw",
 +
"description": "URL on FindLaw",
 +
"type": "url",
 +
"example": "https://caselaw.findlaw.com/us-supreme-court/347/483.html"
 +
},
 +
"googlescholar": {
 +
"label": "Google Scholar",
 +
"description": "URL on Google Scholar",
 +
"example": "https://scholar.google.com/scholar_case?case=12120372216939101759",
 +
"type": "url"
 +
},
 +
"justia": {
 +
"label": "Justia",
 +
"description": "URL on Justia",
 +
"example": "https://supreme.justia.com/cases/federal/us/347/483/",
 +
"type": "url"
 +
},
 +
"leagle": {
 +
"label": "Leagle",
 +
"description": "URL on Leagle",
 +
"type": "url",
 +
"example": "https://www.leagle.com/decision/1954830347us4831795"
 +
},
 +
"loc": {
 +
"label": "Library of Congress",
 +
"description": "URL at the Library of Congress",
 +
"example": "http://cdn.loc.gov/service/ll/usrep/usrep347/usrep347483/usrep347483.pdf",
 +
"type": "url"
 +
},
 +
"openjurist": {
 +
"label": "OpenJurist",
 +
"description": "URL on OpenJurist",
 +
"example": "https://openjurist.org/347/us/483/brown-v-board-of-education-of-topeka-shawnee-county-kan-briggs",
 +
"type": "url"
 +
},
 +
"oyez": {
 +
"label": "Oyez",
 +
"description": "URL on Oyez",
 +
"example": "https://www.oyez.org/cases/1940-1955/347us483",
 +
"type": "url"
 +
},
 +
"vlex": {
 +
"label": "vLex",
 +
"description": "URL on vLex",
 +
"type": "url"
 +
},
 +
"other_source1": {
 +
"label": "Source 1 name",
 +
"description": "name of source #1",
 +
"type": "string"
 +
},
 +
"other_url1": {
 +
"label": "Source 1 URL",
 +
"description": "URL of source #1",
 +
"type": "url"
 +
},
 +
"other_source2": {
 +
"label": "Source 2 name",
 +
"description": "name of source #2",
 +
"type": "string"
 +
},
 +
"other_url2": {
 +
"label": "Source 2 URL",
 +
"description": "URL of source #2",
 +
"type": "url"
 +
},
 +
"other_source3": {
 +
"label": "Source 3 name",
 +
"description": "name of source #3",
 +
"type": "string"
 +
},
 +
"other_url3": {
 +
"label": "Source 3 URL",
 +
"description": "URL of source #3",
 +
"type": "url"
 +
},
 +
"other_source4": {
 +
"label": "Source 4 name",
 +
"description": "name of source #4",
 +
"type": "string"
 +
},
 +
"other_url4": {
 +
"label": "Source 4 URL",
 +
"description": "URL of source #4",
 +
"type": "url"
 +
},
 +
"other_source5": {
 +
"label": "Source 5 name",
 +
"description": "name of source #5",
 +
"type": "string"
 +
},
 +
"other_url5": {
 +
"label": "Source 5 URL",
 +
"description": "URL of source #5",
 +
"type": "url"
 +
},
 +
"other_source6": {
 +
"label": "Source 6 name",
 +
"description": "name of source #6",
 +
"type": "string"
 +
},
 +
"other_url6": {
 +
"label": "Source 6 URL",
 +
"description": "URL of source #6",
 +
"type": "url"
 +
},
 +
"other_source7": {
 +
"label": "Source 7 name",
 +
"description": "name of source #7",
 +
"type": "string"
 +
},
 +
"other_url7": {
 +
"label": "Source 7 URL",
 +
"description": "URL of source #7",
 +
"type": "url"
 +
},
 +
"other_source8": {
 +
"label": "Source 8 name",
 +
"description": "name of source #8",
 +
"type": "string"
 +
},
 +
"other_url8": {
 +
"label": "Source 8 URL",
 +
"description": "URL of source #8",
 +
"type": "url"
 +
},
 +
"other_source9": {
 +
"label": "Source 9 name",
 +
"description": "name of source #9",
 +
"type": "string"
 +
},
 +
"other_url9": {
 +
"label": "Source 9 URL",
 +
"description": "URL of source #9",
 +
"type": "url"
 +
}
 +
},
 +
"description": "Format links to a number of common caselaw sources"
 +
}
 +
</templatedata></noinclude>

Latest revision as of 20:35, 23 March 2020

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

Usage

All parameter names must be lowercase.

All parameters, vertical format
{{caselaw source
 | case = 
 | cornell =
 | courtlistener =
 | findlaw = 
 | googlescholar = 
 | justia =
 | leagle =
 | loc =
 | openjurist =
 | oyez =
 | vlex =
 | other_source1 = 
 | other_url1 =
 | other_source2 = 
 | other_url2 =
 | other_source3 = 
 | other_url3 =
 | other_source4 = 
 | other_url4 =
 | other_source5 = 
 | other_url5 =
 | other_source6 = 
 | other_url6 =
 | other_source7 = 
 | other_url7 =
 | other_source8 = 
 | other_url8 =
 | other_source9 = 
 | other_url9 =
 }}
  • case is required. Specify it exactly as you would like it to appear.
  • sources. At least one of the following source parameters must be specified, with a URL pointing to where the case text may be found.

Examples

Case name only, one source
{{caselaw source
 |case=''Miranda v. Arizona''
 |justia=http://supreme.justia.com/us/384/436/case.html
}}

produces:

Text of Miranda v. Arizona is available from:  Justia 

case name with cite and multiple sources
{{caselaw source
 |case=''Satava v. Lowry'', 323 F.3d 805 (9th Cir. 2003)
 |findlaw=http://caselaw.findlaw.com/data2/circs/9th/0216347p.pdf
 |vlex=http://vlex.com/vid/satava-proprietorship-makawao-glassworks-18466199
}}

produces:

Text of Satava v. Lowry, 323 F.3d 805 (9th Cir. 2003) is available from:  Findlaw  vLex 

use of other_sourcen and other_urln in addition to a predefined source
{{caselaw source
 |case=''Markman v. Westview Instruments, Inc.'', 52 F.3d 967, 34 U.S.P.Q.2d 1321 (Fed. Cir. 1995)
 |courtlistener=https://www.courtlistener.com/cafc/4yqk/herbert-markman-and-positek-inc-v-westview-instrum/
 |other_source1=resource.org
 |other_url1=http://bulk.resource.org/courts.gov/c/F3/250/250.F3d.23.00-1549.html
}}

produces:

Text of Markman v. Westview Instruments, Inc., 52 F.3d 967, 34 U.S.P.Q.2d 1321 (Fed. Cir. 1995) is available from:  CourtListener  resource.org 

Format links to a number of common caselaw sources

Template parameters

ParameterDescriptionTypeStatus
Casecase

name of legal case, possibly including wikitext citation

Example
''Brown v. Board of Education'', {{ussc|347|483|1954|el=no}}
Stringrequired
Cornell LII linkcornell

URL on Legal Information Institute at Cornell Law School

Example
https://www.law.cornell.edu/supremecourt/text/347/483
URLoptional
CourtListenercourtlistener

URL on CourtListener

Example
https://www.courtlistener.com/opinion/105221/brown-v-board-of-education/
URLoptional
FindLawfindlaw

URL on FindLaw

Example
https://caselaw.findlaw.com/us-supreme-court/347/483.html
URLoptional
Google Scholargooglescholar

URL on Google Scholar

Example
https://scholar.google.com/scholar_case?case=12120372216939101759
URLoptional
Justiajustia

URL on Justia

Example
https://supreme.justia.com/cases/federal/us/347/483/
URLoptional
Leagleleagle

URL on Leagle

Example
https://www.leagle.com/decision/1954830347us4831795
URLoptional
Library of Congressloc

URL at the Library of Congress

Example
http://cdn.loc.gov/service/ll/usrep/usrep347/usrep347483/usrep347483.pdf
URLoptional
OpenJuristopenjurist

URL on OpenJurist

Example
https://openjurist.org/347/us/483/brown-v-board-of-education-of-topeka-shawnee-county-kan-briggs
URLoptional
Oyezoyez

URL on Oyez

Example
https://www.oyez.org/cases/1940-1955/347us483
URLoptional
vLexvlex

URL on vLex

URLoptional
Source 1 nameother_source1

name of source #1

Stringoptional
Source 1 URLother_url1

URL of source #1

URLoptional
Source 2 nameother_source2

name of source #2

Stringoptional
Source 2 URLother_url2

URL of source #2

URLoptional
Source 3 nameother_source3

name of source #3

Stringoptional
Source 3 URLother_url3

URL of source #3

URLoptional
Source 4 nameother_source4

name of source #4

Stringoptional
Source 4 URLother_url4

URL of source #4

URLoptional
Source 5 nameother_source5

name of source #5

Stringoptional
Source 5 URLother_url5

URL of source #5

URLoptional
Source 6 nameother_source6

name of source #6

Stringoptional
Source 6 URLother_url6

URL of source #6

URLoptional
Source 7 nameother_source7

name of source #7

Stringoptional
Source 7 URLother_url7

URL of source #7

URLoptional
Source 8 nameother_source8

name of source #8

Stringoptional
Source 8 URLother_url8

URL of source #8

URLoptional
Source 9 nameother_source9

name of source #9

Stringoptional
Source 9 URLother_url9

URL of source #9

URLoptional