Template:Cite BAILII: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>GDallimore
de-link date
Ookami (talk | contribs)
m 68 revisions imported
 
(37 intermediate revisions by 11 users not shown)
Line 1: Line 1:
''[http://www.bailii.org/{{#if:{{{country|}}}|{{lc:{{{country}}}}}|ew}}/cases/{{uc:{{{court}}}}}{{#if:{{{division|}}}|/{{{division}}}}}/{{{year}}}/{{{num}}}.htm{{#if:{{{para|}}}|l#para{{{para}}}|l}} {{{litigants}}}]'' [{{{year}}}] {{{court}}} {{{num}}}{{#if:{{{division|}}}|&nbsp;({{{division}}})}}{{#if:{{{para|}}}|, paragraph {{{para}}}}}{{#if:{{{date|}}}|&nbsp;({{{date}}})}}<noinclude>
{{#if:{{{ref|}}}|<cite class="citation wikicite" id="{{{ref}}}">}}{{#if:{{{litigants|}}}
 
  |{{#if:{{{link|}}}
It is used to cite judgments listed in the [[Free Access to Law Movement#BAILII|BAILII]] database.
    |''[[{{{link}}}|{{{litigants}}}]]''&#32;
==Usage==
    |''{{{litigants}}}''&#32;
<pre>{{cite BAILII
  }}
|country=
}}[https://www.bailii.org/{{#switch:{{{court}}}
|litigants=
  |ECHR
|court=
  |EUECJ = eu
|division=
  |IECA
|year=
  |IECCA
|num=
  |IEHC
|para=
  |IESC = ie
|date=
  |NICA
}}</pre>
  |NICC
 
  |NIHC = nie
* '''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.
  |ScotCS
* ''litigants'' is the list of litigants, such as '''Miranda v. Arizona'''.
  |ScotHC
* ''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.
  |ScotSC = scot
* '''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.
  |UKHL
* ''year'' is the year of the decision, as indicated in the '''Neutral Citation Number'''.
  |UKIAT
* ''num'' is the judgment number, as indicated in the '''Neutral Citation Number'''.
  |UKPC
* '''optional:''' ''para'' is a specific paragraph number.
  |UKSC
* '''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.
  |UKUT = uk
 
  |#default = ew
**The output of the template is of the form: '''''Litigants''''' ['''year'''] '''court''' '''num''' ('''division'''), paragraph '''para'''
}}/cases/{{{court}}}{{#switch:{{{court}}}
::The names of the litigants is rendered as a link to the judgment on BAILII
  |EWCA
**The BAILII urls are of the form: http://www.bailii.org/''country''/cases/''court''/''division''/''year''/''num''.html#para''para''
  |EWHC
 
  |NIHC = {{#if:{{{division|}}}|/{{{division}}}}}
[[Category:Law citation templates|Cite BAILII]]
  |
</noinclude>
}}/{{{year}}}/{{#ifeq:{{{court}}}|IEHC|{{#ifexpr:{{{year}}}>2004|H|}}|}}{{#if:{{{reporter|}}}
  |{{{year}}}_{{#if:{{{volume|}}}|{{{volume}}}_}}{{{reporter}}}_{{{firstpage}}}.html &#91;{{{year}}}&#93; {{#switch:{{{court}}}
    |ScotCS = CS{{#ifeq:{{{scotcase}}}|IH|IH|OH}}
    |ScotHC = HCJAC
    |{{{court}}}
  }} {{{num}}}, {{#if:{{{volume|}}}|({{{year}}}) {{{volume}}}|{{{year}}}}} {{{reporter}}} {{{firstpage}}}]
  |{{#switch:{{{format|}}}
    |1 = {{#switch:{{{court}}}
        |ScotCS = CS{{#ifeq:{{{scotcase}}}|IH|IH|OH}}
        |ScotHC = HCJAC
        |UKPC = {{{year}}}
    }}_{{{num}}}.html
    |2 = {{{year}}}{{#switch:{{{court}}}
        |ScotCS = CS{{#ifeq:{{{scotcase}}}|IH|IH|OH}}
        |ScotHC = HCJAC
    }}{{{num}}}.html
    |3 = {{{year}}}_{{#switch:{{{court}}}
        |ScotCS = CS{{#ifeq:{{{scotcase}}}|IH|IH|OH}}
        |ScotHC = HCJAC
    }}_{{{num}}}.html
    |{{{num}}}.htm{{#if:{{{para|}}}|l#para{{{para}}}|l}}
  }} &#91;{{{year}}}&#93; {{#switch:{{{court}}}
    |EUECJ = EUECJ {{{eucase}}}], Case {{{eucase}}}
    |ScotCS = CS{{#ifeq:{{{scotcase}}}|IH|IH|OH}} {{{num}}}]
    |ScotHC = HCJAC {{{num}}}]
    |{{#switch:{{{division|}}}
        |Civ = {{{court}}} Civ {{{num}}}]
        |Crim = {{{court}}} Crim {{{num}}}]
        |{{{court}}} {{{num}}}{{#if:{{{division|}}}|&#32;({{{division}}})}}]
      }}
  }}
}}{{#if:{{{para|}}}|&#32;at para. {{{para}}}}}{{#if:{{{paras|}}}|&#32;at paras. {{{paras}}}}}{{#if:{{{pinpoint|}}}|&#32;at {{{pinpoint}}}}}{{#if:{{{parallelcite|}}}|, {{{parallelcite}}}}}{{#if:{{{date|}}}|&#32;({{date|{{{date}}}}})}}{{#ifeq:{{{courtname|}}}|auto
  |, {{#switch:{{{court}}}
    |ECHR = [[European Court of Human Rights]]
    |EUECJ = [[European Court of Justice]]
    |EWCA = [[Court of Appeal of England and Wales|Court of Appeal]] (England and Wales)
    |EWCC = [[County Court#England and Wales|County Court]] (England and Wales)
    |EWHC = [[High Court of Justice|High Court]] (England and Wales)
    |EWMC = [[Magistrates' Court (England and Wales)|Magistrates' Court]] (England and Wales)
    |EWPCC = [[Patents County Court]] (England and Wales)
    |IECA = [[Court of Appeal (Ireland)|Court of Appeal]] (Ireland)
    |IECCA = [[Court of Criminal Appeal (Ireland)|Court of Criminal Appeal]] (Ireland)
    |IEHC = [[High Court (Ireland)|High Court]] (Ireland)
    |IESC = [[Supreme Court of Ireland|Supreme Court]] (Ireland)
    |NICA = [[Courts of Northern Ireland#Court of Appeal|Court of Appeal]] (Northern Ireland)
    |NICC = [[Courts of Northern Ireland#Crown Court|Crown Court]] (Northern Ireland)
    |NIHC = [[Courts of Northern Ireland#High Court|High Court]] (Northern Ireland)
    |ScotCS = [[Court of Session]] (Scotland)
    |ScotHC = [[High Court of Justiciary]] (Scotland)
    |ScotSC = [[Sheriff Court]] (Scotland)
    |UKHL = [[Judicial functions of the House of Lords|House of Lords]] (UK)
    |UKIAT = [[Asylum and Immigration Tribunal]] (UK)
    |UKPC = [[Judicial Committee of the Privy Council|Privy Council]]{{#if:{{{juris|}}}|&#32;(on appeal from {{{juris}}})}}
    |UKSC = [[Supreme Court of the United Kingdom|Supreme Court]] (UK)
    |UKUT = [[Upper Tribunal]] (UK)
  }}
  |{{#if:{{{courtname|}}}|, {{{courtname}}}}}{{#if:{{{juris|}}}
    |{{#ifeq:{{{court}}}|UKPC
        |&#32;(on appeal from {{{juris}}})
        |&#32;({{{juris}}})
      }}
  }}
}}{{#if:{{{ref|}}}|</cite>}}<noinclude><!--NOTE: Please place categories and interwikis in [[Template:Cite BAILII/doc]]. -->{{Documentation}}</noinclude>

Latest revision as of 12:58, 3 September 2020

[{{{year}}}] {{{court}}} {{{num}}}