Template:Cite BAILII/doc: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Sgconlaw
(→‎Template: Added alternative form of template)
meta>Sgconlaw
(Updated documentation subpage)
Line 8: Line 8:
<pre>
<pre>
{{cite BAILII
{{cite BAILII
|litigants=
|link=
  |country=
  |country=
|litigants=
  |court=
  |court=
  |division=
  |division=
Line 15: Line 16:
  |num=
  |num=
  |para=
  |para=
|parallelcite=
  |date=
  |date=
|courtname=
|juris=
}}
}}


or
or


{{cite BAILII|country=|litigants=|court=|division=|year=|num=|para=|date=}}
{{cite BAILII|litigants=|link=|country=|court=|division=|year=|num=|para=|parallelcite=
|date=|courtname=|juris=}}
</pre>
</pre>


=== Parameters ===
=== Parameters ===
* '''optional:''' ''country'' add '''ie''' for Ireland if an Irish judgment, ''uk'' for general UK judgment (eg House of Lords) and so on. Can add '''ew''' for England and Wales, although it defaults to this latter option.  URLs are case sensitive so the country code is always converted into lower case by the template.
All parameters are optional unless otherwise specified.
* ''litigants'' is the list of litigants, such as '''Miranda v. Arizona'''.
* ''court'' is the code used by BAILII in the '''Neutral Citation Number''' to identify the court. eg EWCA for the [[Court of Appeal of England and Wales]]. URLs are case sensitive so the court code is always converted into upper case by the template.
* '''optional:''' ''division'' is the code used by BAILII in the '''Neutral Citation Number''' to identify the division. eg Civ for the Civil division. Not all cases cite a division - eg House of Lords decisions and some Irish decisions.
* ''year'' is the year of the decision, as indicated in the '''Neutral Citation Number'''.
* ''num'' is the judgment number, as indicated in the '''Neutral Citation Number'''.
* '''optional:''' ''para'' is a specific paragraph number.
* '''optional:''' ''date'' is the date in which the court rendered its decision. If included, the date is added at the end of the citation number. Do not link the date and preferably use a "1 January 2009" style.


**The output of the template is of the form: '''''Litigants''''' ['''year'''] '''court''' '''num''' ('''division'''), paragraph '''para'''
{| class=wikitable
::The names of the litigants is rendered as a link to the judgment on BAILII
|-
**The BAILII urls are of the form: http://www.bailii.org/''country''/cases/''court''/''division''/''year''/''num''.html#para''para''
!Parameter
!Description
|-
|colspan=2 bgcolor=silver|'''Case name'''
|-
|align=center|litigants
|The litigants (the case name), like this: "<tt><nowiki>Council of Civil Service Unions v. Minister for the Civil Service</nowiki></tt>".
|-
|align=center|link
|The name of a Wikipedia article about the case, for example: "<tt><nowiki>Council of Civil Service Unions v Minister for the Civil Service</nowiki></tt>".
|-
|colspan=2 bgcolor=silver|'''BAILII link''': http://www.bailii.org/''country''/cases/''court''/''division''/''year''/''num''.html#para''para''
|-
|align=center|country
|'''Mandatory''': The code used by BAILII indicating the jurisdiction or "country" of the case, as follows:
*'''ie''': [[Republic of Ireland]]
*'''nie''': [[Northern Ireland]]
*'''scot''': [[Scotland]]
*'''uk''': certain courts of the United Kingdom, namely, the [[Judicial functions of the House of Lords|House of Lords]], [[Judicial Committee of the Privy Council]], [[Supreme Court of the United Kingdom]]
Omit this parameter for cases from the [[courts of England and Wales]].
|-
|align=center|court
|'''Mandatory''': The neutral citation code used by BAILII to identify the court that decided the case, as follows:
*'''EWCA''': [[Court of Appeal of England and Wales]]
*'''EWCC''': [[County Court#England and Wales|County Court of England and Wales]]
*'''EWHC''': [[High Court of Justice|High Court of Justice (High Court of England and Wales)]]
*'''EWMC''': [[Magistrates' Court|Magistrates' Court of England and Wales]]
*'''EWPCC''': [[Patents County Court|Patents County Court of England and Wales]]
*'''IECCA''': [[Court of Criminal Appeal (Ireland)|Court of Criminal Appeal of Ireland]]
*'''IEHC''': [[High Court (Ireland)|High Court of Ireland]]
*'''IESC''': [[Supreme Court of Ireland]]
*'''NICA''': [[Courts of Northern Ireland#Court of Appeal|Court of Appeal in Northern Ireland]]
*'''NICC''': [[Courts of Northern Ireland#Crown Court|Crown Court in Northern Ireland]]
*'''NIHC''': [[Courts of Northern Ireland#High Court|High Court of Justice in Northern Ireland]]
*'''UKHL''': [[Judicial functions of the House of Lords|House of Lords]]
*'''ScotCS''': [[Court of Session|Scottish Court of Session]]
*'''ScotHC''': [[High Court of Justiciary|Scottish High Court of Justiciary]]
*'''ScotSC''': [[Sheriff Court|Scottish Sheriff Court]]
*'''UKPC''': [[Judicial Committee of the Privy Council]]
*'''UKSC''': [[Supreme Court of the United Kingdom]]
|-
|align=center|division
|'''Mandatory in some cases''': For some cases, you will need to enter a code used by BAILII to identify the division of the court that decided the case.
|-
|align=center|year
|'''Mandatory''': the year of the decision.
|-
|align=center|num
|'''Mandatory''': the case number.
|-
|align=center|para
|A paragraph number of the case that you wish to cite.
|-
|colspan=2 bgcolor=silver|'''Other information'''
|-
|align=center|date
|The date that the case was decided. You may enter the date in any format accepted by the template {{tl|date}}, such as "<tt><nowiki>22 November 1983</nowiki></tt>" or "<tt><nowiki>1983-11-22</nowiki></tt>". It will appear a day-month-year format.
|-
|align=center|parallelcite
|Parallel citations to the case. Separate the citations with commas, like this: "<tt><nowiki>[1985] A.C. 374, [1984] 3 All E.R. 935</nowiki></tt>".
|-
|align=center|courtname
|The court that decided the case. The name of the court can be [[Help:Link#Wikilinks|wikilinked]], like this: "<tt><nowiki>[[Judicial functions of the House of Lords|House of Lords]]</nowiki><tt>".
|-
|align=center|juris
|The jurisdiction that decided the case, such as "<tt><nowiki>England and Wales</nowiki></tt>" or "<tt><nowiki>Scotland</nowiki></tt>".
|}


<includeonly>
<includeonly>

Revision as of 17:45, 5 October 2010

Usage

This template is used to cite judgments listed in the BAILII database.

Template

{{cite BAILII
 |litigants=
 |link=
 |country=
 |court=
 |division=
 |year=
 |num=
 |para=
 |parallelcite=
 |date=
 |courtname=
 |juris=
}}

or

{{cite BAILII|litigants=|link=|country=|court=|division=|year=|num=|para=|parallelcite=
|date=|courtname=|juris=}}

Parameters

All parameters are optional unless otherwise specified.

Parameter Description
Case name
litigants The litigants (the case name), like this: "Council of Civil Service Unions v. Minister for the Civil Service".
link The name of a Wikipedia article about the case, for example: "Council of Civil Service Unions v Minister for the Civil Service".
BAILII link: http://www.bailii.org/country/cases/court/division/year/num.html#parapara
country Mandatory: The code used by BAILII indicating the jurisdiction or "country" of the case, as follows:

Omit this parameter for cases from the courts of England and Wales.

court Mandatory: The neutral citation code used by BAILII to identify the court that decided the case, as follows:
division Mandatory in some cases: For some cases, you will need to enter a code used by BAILII to identify the division of the court that decided the case.
year Mandatory: the year of the decision.
num Mandatory: the case number.
para A paragraph number of the case that you wish to cite.
Other information
date The date that the case was decided. You may enter the date in any format accepted by the template {{date}}, such as "22 November 1983" or "1983-11-22". It will appear a day-month-year format.
parallelcite Parallel citations to the case. Separate the citations with commas, like this: "[1985] A.C. 374, [1984] 3 All E.R. 935".
courtname The court that decided the case. The name of the court can be wikilinked, like this: "[[Judicial functions of the House of Lords|House of Lords]]".
juris The jurisdiction that decided the case, such as "England and Wales" or "Scotland".