Template:Cite BAILII: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>Sgconlaw
(Added {{{pinpoint}}} parameter)
meta>Sgconlaw
(Updated template (made it unnecessary to specify {{{country}}} parameter; added feature for name of court and jurisdiction to be automatically indicated if desired))
Line 4: Line 4:
     |''{{{litigants}}}'' 
     |''{{{litigants}}}'' 
   }}
   }}
}}[http://www.bailii.org/{{#if:{{{country|}}}|{{lc:{{{country}}}}}|ew}}/cases/{{{court}}}{{#if:{{{division|}}}|/{{{division}}}}}/{{{year}}}/{{{num}}}.htm{{#if:{{{para|}}}|l#para{{{para}}}|l}} {{#ifeq:{{{court}}}|EUECJ
}}[http://www.bailii.org/{{#switch:{{{court}}}
  |ECHR
  |EUECJ = eu
  |IECCA
  |IEHC
  |IESC = ie
  |NICA
  |NICC
  |NIHC = nie
  |ScotCS
  |ScotHC
  |ScotSC = scot
  |UKHL
  |UKPC
  |UKSC = uk
  |#default = ew
}}/cases/{{{court}}}{{#if:{{{division|}}}|/{{{division}}}}}/{{{year}}}/{{{num}}}.htm{{#if:{{{para|}}}|l#para{{{para}}}|l}} {{#ifeq:{{{court}}}|EUECJ
   |[{{{year}}}] EUECJ {{{eucase}}}], Case {{{eucase}}}
   |[{{{year}}}] EUECJ {{{eucase}}}], Case {{{eucase}}}
   |{{#switch:{{{division|}}}
   |{{#switch:{{{division|}}}
Line 11: Line 27:
     |#default = [{{{year}}}] {{{court}}} {{{num}}}{{#if:{{{division|}}}| ({{{division}}})}}]
     |#default = [{{{year}}}] {{{court}}} {{{num}}}{{#if:{{{division|}}}| ({{{division}}})}}]
   }}
   }}
}}{{#if:{{{para|}}}|at para. {{{para}}}}}{{#if:{{{pinpoint|}}}| at {{{pinpoint}}}}}{{#if:{{{parallelcite|}}}|, {{{parallelcite}}}}}{{#if:{{{date|}}}| ({{date|{{{date}}}}})}}{{#if:{{{courtname|}}}|, {{{courtname}}}}}{{#if:{{{juris|}}}
}}{{#if:{{{para|}}}|at para. {{{para}}}}}{{#if:{{{pinpoint|}}}| at {{{pinpoint}}}}}{{#if:{{{parallelcite|}}}|, {{{parallelcite}}}}}{{#if:{{{date|}}}| ({{date|{{{date}}}}})}}{{#ifeq:{{{courtname|}}}|auto
  |{{#ifeq:{{{court}}}|UKPC
  |, {{#switch:{{{court}}}
    | (on appeal from {{{juris}}})
    |ECHR = [[European Court of Human Rights]]
    | ({{{juris}}})
    |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)
    |EWPCC = [[Patents County Court]] (England and Wales)
    |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)
    |UKPC = [[Judicial Committee of the Privy Council|Privy Council]]{{#if:{{{juris|}}}| (on appeal from {{{juris}}})}}
    |UKSC = [[Supreme Court of the United Kingdom|Supreme Court]] (UK)
  }}
  |{{#if:{{{courtname|}}}|, {{{courtname}}}}}{{#if:{{{juris|}}}
    |{{#ifeq:{{{court}}}|UKPC
        | (on appeal from {{{juris}}})
        | ({{{juris}}})
      }}
   }}
   }}
}}<noinclude><!--NOTE: Please place categories and interwikis in [[Template:Cite BAILII/doc]].-->{{Documentation}}</noinclude>
}}<noinclude><!--NOTE: Please place categories and interwikis in [[Template:Cite BAILII/doc]].-->{{Documentation}}</noinclude>

Revision as of 16:11, 4 November 2010

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