Difference between revisions of "Template:Case Law"

From blackwiki
Jump to navigation Jump to search
imported>Seagull123
imported>Seagull123
(templatedata)
 
Line 4: Line 4:
 
|text = ''This article has been [[Wikipedia:Wikipedia as a court source|mentioned in case law]].''<br>
 
|text = ''This article has been [[Wikipedia:Wikipedia as a court source|mentioned in case law]].''<br>
 
The citation is in: ''{{{case}}}'', {{{citation}}} ({{{court}}} {{{date}}}) {{{quote|}}}. [{{{url}}}]. [[MediaWiki:Source| ]]
 
The citation is in: ''{{{case}}}'', {{{citation}}} ({{{court}}} {{{date}}}) {{{quote|}}}. [{{{url}}}]. [[MediaWiki:Source| ]]
}}<includeonly>[[Category:Wikipedia pages referenced by the press]]</includeonly><noinclude>{{Documentation}}</noinclude>
+
}}<includeonly>[[Category:Wikipedia pages referenced by the press]]</includeonly><noinclude>{{Documentation}}<templatedata>
 +
{
 +
"params": {
 +
"small": {
 +
"description": "Set to \"yes\" if the box should be made small, leave otherwise",
 +
"type": "string"
 +
},
 +
"case": {
 +
"description": "which case the article was cited in, preferably with a link (to a Wikipedia page or external link)",
 +
"example": "[[SAS Institute Inc. v World Programming Ltd]]",
 +
"type": "string",
 +
"required": true
 +
},
 +
"citation": {
 +
"description": "the citation of the case",
 +
"example": "[2010] EWHC 1829",
 +
"type": "string",
 +
"required": true
 +
},
 +
"court": {
 +
"description": "the court the case was heard in, preferably with a wikilink",
 +
"example": "[[High Court of England and Wales]], [[Chancery Division]]",
 +
"type": "string",
 +
"required": true
 +
},
 +
"date": {
 +
"description": "the date the case was heard on",
 +
"example": "2010-07-23",
 +
"type": "date",
 +
"required": true
 +
},
 +
"quote": {
 +
"description": "the quote from the case, which references the Wikipedia page",
 +
"type": "string",
 +
"suggested": true
 +
},
 +
"url": {
 +
"description": "a URL of the case, followed by a space and the word \"Link\" (or whatever word should be used to show the link)",
 +
"example": "http://www.bailii.org/ew/cases/EWHC/Ch/2010/1829.html Link",
 +
"suggested": true
 +
}
 +
}
 +
}
 +
</templatedata>
 +
</noinclude>

Latest revision as of 21:59, 10 July 2017

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

Usage

This template adds articles to Category:Wikipedia as a media topic.

{{Caselaw|case= |citation= |court= |date= |url= |quote= }}

The text "mentioned in case law" can be modified with the use of an unnamed parameter.


See also

  • {{Caselaw source}} - adds links to decision (from various online sources) in the external links section of the article
  • {{Onlinesource}}

No description.

Template parameters

ParameterDescriptionTypeStatus
Smallsmall

Set to "yes" if the box should be made small, leave otherwise

Stringoptional
Casecase

which case the article was cited in, preferably with a link (to a Wikipedia page or external link)

Example
[[SAS Institute Inc. v World Programming Ltd]]
Stringrequired
Citationcitation

the citation of the case

Example
[2010] EWHC 1829
Stringrequired
Courtcourt

the court the case was heard in, preferably with a wikilink

Example
[[High Court of England and Wales]], [[Chancery Division]]
Stringrequired
Datedate

the date the case was heard on

Example
2010-07-23
Daterequired
Quotequote

the quote from the case, which references the Wikipedia page

Stringsuggested
Urlurl

a URL of the case, followed by a space and the word "Link" (or whatever word should be used to show the link)

Example
http://www.bailii.org/ew/cases/EWHC/Ch/2010/1829.html Link
Unknownsuggested