Template:Cite BAILII: Difference between revisions

From Zoophilia Wiki
Jump to navigationJump to search
meta>GDallimore
(test conditional ifs)
meta>GDallimore
(correct)
Line 1: Line 1:
''[http://www.bailii.org/{{#if:{{{country|}}}|, |{{{country}}}|ew}}/cases/{{{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}}}}}<noinclude>
''[http://www.bailii.org/{{#if:{{{country|}}}|{{{country}}}|ew}}/cases/{{{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}}}}}<noinclude>


This template currently has a '''minor''' bug which doesn't prevent it from working but results in untidy html code for the links. Please see if you can help on the [[Template talk:Cite BAILII|talk page]].
This template currently has a '''minor''' bug which doesn't prevent it from working but results in untidy html code for the links. Please see if you can help on the [[Template talk:Cite BAILII|talk page]].

Revision as of 10:25, 12 March 2008

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

This template currently has a minor bug which doesn't prevent it from working but results in untidy html code for the links. Please see if you can help on the talk page.

It is used to cite judgments listed in the BAILII database.

Usage

{{cite BAILII
 |country=
 |litigants=
 |court=
 |division=
 |year=
 |num=
 |para=
 |date=
}}
  • optional: country add ie for Ireland if an Irish judgment. Can add ew for England and Wales, although it defaults to this latter option.
  • 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.
  • 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 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.
    • The output of the template is of the form: Litigants [year] court num (division), paragraph para
The names of the litigants is rendered as a link to the judgment on BAILII