Difference between revisions of "Template:Cite CommonLII/doc"

From blackwiki
Jump to navigation Jump to search
imported>WOSlinker
(tag fix)
imported>Zyxw
m (Since <tt> is obsolete in HTML5, replace it with <kbd> – see HTML element#tt, Wikipedia:HTML5, and mw:Help:Extension:Linter/obsolete-tag. using AWB)
Line 60: Line 60:
 
|-
 
|-
 
| style="text-align:center;" |litigants
 
| style="text-align:center;" |litigants
|The names of the litigants separated with ''v'' or ''v.'' for ''versus'' (in other words, the case name), like this: "<tt><nowiki>Chee Siok Chin v. Attorney-General</nowiki></tt>".
+
|The names of the litigants separated with ''v'' or ''v.'' for ''versus'' (in other words, the case name), like this: "<kbd><nowiki>Chee Siok Chin v. Attorney-General</nowiki></kbd>".
 
|-
 
|-
 
| style="text-align:center;" |link
 
| style="text-align:center;" |link
|The name of a Wikipedia article about the case, for example: "<tt>[[Yong Vui Kong v. Public Prosecutor]]</tt>". This will be linked to the names of the litigants specified using the {{para|litigants}} parameter.
+
|The name of a Wikipedia article about the case, for example: "<kbd>[[Yong Vui Kong v. Public Prosecutor]]</kbd>". This will be linked to the names of the litigants specified using the {{para|litigants}} parameter.
 
|-
 
|-
 
|colspan=2 style="background-color:silver;"|'''CommonLII link (general format)''': <nowiki>http://www.commonlii.org</nowiki>/[''country'']/cases/''court''/''year''/''num''.html
 
|colspan=2 style="background-color:silver;"|'''CommonLII link (general format)''': <nowiki>http://www.commonlii.org</nowiki>/[''country'']/cases/''court''/''year''/''num''.html
Line 82: Line 82:
 
|-
 
|-
 
| style="text-align:center;" |reporter
 
| style="text-align:center;" |reporter
|'''Mandatory''': to cite a case that is published in the ''[[English Reports]]'', type <tt>reporter=ER</tt>.
+
|'''Mandatory''': to cite a case that is published in the ''[[English Reports]]'', type <kbd>reporter=ER</kbd>.
 
|-
 
|-
 
| style="text-align:center;" |fullstops
 
| style="text-align:center;" |fullstops
|Use <tt>fullstops=on</tt> to have the abbreviation for the ''English Reports'' display as "E.R." rather than "ER", which is the default.
+
|Use <kbd>fullstops=on</kbd> to have the abbreviation for the ''English Reports'' display as "E.R." rather than "ER", which is the default.
 
|-
 
|-
 
| style="text-align:center;" |year
 
| style="text-align:center;" |year
Line 102: Line 102:
 
|-
 
|-
 
| style="text-align:center;" |pinpoint
 
| style="text-align:center;" |pinpoint
|The page or paragraph number at which information or a quotation you are referring to appears, like this: "<tt>528</tt>", "<tt>p. 528</tt>" or "<tt>para. 25</tt>". When referring to a range of pages or paragraph numbers, separate the starting and ending numbers with an [[en dash]] like this: "<tt>528–530</tt>".
+
|The page or paragraph number at which information or a quotation you are referring to appears, like this: "<kbd>528</kbd>", "<kbd>p. 528</kbd>" or "<kbd>para. 25</kbd>". When referring to a range of pages or paragraph numbers, separate the starting and ending numbers with an [[en dash]] like this: "<kbd>528–530</kbd>".
 
|-
 
|-
 
| style="text-align:center;" |date
 
| style="text-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>9 October 1998</nowiki></tt>" or "<tt><nowiki>1998-10-09</nowiki></tt>". It will appear a day-month-year format.
+
|The date that the case was decided. You may enter the date in any format accepted by the template {{tl|date}}, such as "<kbd><nowiki>9 October 1998</nowiki></kbd>" or "<kbd><nowiki>1998-10-09</nowiki></kbd>". It will appear a day-month-year format.
 
|-
 
|-
 
| style="text-align:center;" |parallelcite
 
| style="text-align:center;" |parallelcite
|Parallel citations to the case, like this: "<tt>[2006] 4 S.L.R.(R.) 541 at 547–548, para. 9</tt>". If there is more than one parallel citation, separate the citations with commas.
+
|Parallel citations to the case, like this: "<kbd>[2006] 4 S.L.R.(R.) 541 at 547–548, para. 9</kbd>". If there is more than one parallel citation, separate the citations with commas.
 
|-
 
|-
 
| style="text-align:center;" |courtname
 
| style="text-align:center;" |courtname
|The court that decided the case. The name of the court can be [[Help:Link#Wikilinks|wikilinked]], like this: "<tt><nowiki>[[High Court of Singapore|H.C.]]</nowiki></tt>".
+
|The court that decided the case. The name of the court can be [[Help:Link#Wikilinks|wikilinked]], like this: "<kbd><nowiki>[[High Court of Singapore|H.C.]]</nowiki></kbd>".
  
To have the template automatically indicate the court and jurisdiction of a case, type "<tt>courtname=auto</tt>".
+
To have the template automatically indicate the court and jurisdiction of a case, type "<kbd>courtname=auto</kbd>".
 
|-
 
|-
 
| style="text-align:center;" |juris
 
| style="text-align:center;" |juris
|The jurisdiction that decided the case, such as "<tt><nowiki>Singapore</nowiki></tt>". It is unnecessary to use this parameter if you are already using "<tt>courtname=auto</tt>".
+
|The jurisdiction that decided the case, such as "<kbd><nowiki>Singapore</nowiki></kbd>". It is unnecessary to use this parameter if you are already using "<kbd>courtname=auto</kbd>".
 
|}
 
|}
  
Line 125: Line 125:
 
!width=50%|Result
 
!width=50%|Result
 
|-
 
|-
|<tt><nowiki>{{cite CommonLII |litigants=Chee Siok Chin v. Attorney-General |court=SGHC |year=2006 |num=153 |parallelcite=[2006] 4 S.L.R.(R.) 541 at 547–548, para. 9 |courtname=auto}}</nowiki></tt>
+
|<kbd><nowiki>{{cite CommonLII |litigants=Chee Siok Chin v. Attorney-General |court=SGHC |year=2006 |num=153 |parallelcite=[2006] 4 S.L.R.(R.) 541 at 547–548, para. 9 |courtname=auto}}</nowiki></kbd>
 
|{{cite CommonLII|litigants=Chee Siok Chin v. Attorney-General|court=SGHC|year=2006|num=153|parallelcite=[2006] 4 S.L.R.(R.) 541 at 547–548, para. 9|courtname=auto}}
 
|{{cite CommonLII|litigants=Chee Siok Chin v. Attorney-General|court=SGHC|year=2006|num=153|parallelcite=[2006] 4 S.L.R.(R.) 541 at 547–548, para. 9|courtname=auto}}
 
|-
 
|-
 
|colspan=2 style="background-color:silver;"|'''Cases from the ''English Reports'''''
 
|colspan=2 style="background-color:silver;"|'''Cases from the ''English Reports'''''
 
|-
 
|-
|<tt><nowiki>{{cite CommonLII |litigants=Dimes v. Grand Junction Canal Proprietors |link=Dimes v Grand Junction Canal |reporter=ER |fullstops=on |year=1852 |num=789 |volume=10 |firstpage=301 |parallelcite=3 H.L. Cas. 759 |courtname=[[judicial functions of the House of Lords|House of Lords]] |juris=UK}}</nowiki></tt>
+
|<kbd><nowiki>{{cite CommonLII |litigants=Dimes v. Grand Junction Canal Proprietors |link=Dimes v Grand Junction Canal |reporter=ER |fullstops=on |year=1852 |num=789 |volume=10 |firstpage=301 |parallelcite=3 H.L. Cas. 759 |courtname=[[judicial functions of the House of Lords|House of Lords]] |juris=UK}}</nowiki></kbd>
 
|{{cite CommonLII|litigants=Dimes v. Grand Junction Canal Proprietors|link=Dimes v Grand Junction Canal|reporter=ER|fullstops=on|year=1852|num=789|volume=10|firstpage=301|parallelcite=3 H.L. Cas. 759|courtname=[[judicial functions of the House of Lords|House of Lords]]|juris=UK}}
 
|{{cite CommonLII|litigants=Dimes v. Grand Junction Canal Proprietors|link=Dimes v Grand Junction Canal|reporter=ER|fullstops=on|year=1852|num=789|volume=10|firstpage=301|parallelcite=3 H.L. Cas. 759|courtname=[[judicial functions of the House of Lords|House of Lords]]|juris=UK}}
 
|}
 
|}

Revision as of 06:20, 5 August 2018

Usage

This template is used to cite cases available in the Commonwealth Legal Information Institute (CommonLII) database. You should look up the case you wish to cite on CommonLII, then refer to the URL of the web page on which the case appears to fill in the information required by the template.

Template

General

{{cite CommonLII
|litigants    = 
|link         = 
|court        = 
|year         = 
|num          = 
|pinpoint     = 
|parallelcite = 
|date         = 
|courtname    = 
|juris        = 
}}

or

{{cite CommonLII|litigants=|link=|court=|year=|num=|pinpoint=|parallelcite=|date=|courtname=|juris=}}

Cases from the English Reports

{{cite CommonLII
|litigants    = 
|link         = 
|reporter     = ER
|fullstops    = on
|year         = 
|num          = 
|volume       = 
|firstpage    = 
|pinpoint     = 
|parallelcite = 
|date         = 
|courtname    = 
|juris        = 
}}

or

{{cite CommonLII|litigants=|link=|reporter=ER|fullstops=on|year=|num=|volume=|firstpage=|pinpoint=|parallelcite=|date=|courtname=|juris=}}

Parameters

All parameters are optional unless otherwise specified.

Parameter Description
Case name
litigants The names of the litigants separated with v or v. for versus (in other words, the case name), like this: "Chee Siok Chin v. Attorney-General".
link The name of a Wikipedia article about the case, for example: "Yong Vui Kong v. Public Prosecutor". This will be linked to the names of the litigants specified using the |litigants= parameter.
CommonLII link (general format): http://www.commonlii.org/[country]/cases/court/year/num.html
court Mandatory: The neutral citation code used by CommonLII to identify the court that decided the case, as follows:

The template currently only handles cases decided by the above courts, or case summaries from the above series. Please update the template if you wish to include additional courts or series, or leave a message on the talk page if you need help with this.

year Mandatory: the year of the decision.
num Mandatory: the case number.
CommonLII link (cases from the English Reports): http://www.commonlii.org/uk/cases/EngR/year/num.pdf
reporter Mandatory: to cite a case that is published in the English Reports, type reporter=ER.
fullstops Use fullstops=on to have the abbreviation for the English Reports display as "E.R." rather than "ER", which is the default.
year Mandatory: the year of the decision.
num Mandatory: the case number.
volume Mandatory: the volume number of a case reported in the English Reports.
firstpage Mandatory: the first page number of a case reported in the English Reports.
Other information
pinpoint The page or paragraph number at which information or a quotation you are referring to appears, like this: "528", "p. 528" or "para. 25". When referring to a range of pages or paragraph numbers, separate the starting and ending numbers with an en dash like this: "528–530".
date The date that the case was decided. You may enter the date in any format accepted by the template {{date}}, such as "9 October 1998" or "1998-10-09". It will appear a day-month-year format.
parallelcite Parallel citations to the case, like this: "[2006] 4 S.L.R.(R.) 541 at 547–548, para. 9". If there is more than one parallel citation, separate the citations with commas.
courtname The court that decided the case. The name of the court can be wikilinked, like this: "[[High Court of Singapore|H.C.]]".

To have the template automatically indicate the court and jurisdiction of a case, type "courtname=auto".

juris The jurisdiction that decided the case, such as "Singapore". It is unnecessary to use this parameter if you are already using "courtname=auto".

Examples

Wikitext Result
{{cite CommonLII |litigants=Chee Siok Chin v. Attorney-General |court=SGHC |year=2006 |num=153 |parallelcite=[2006] 4 S.L.R.(R.) 541 at 547–548, para. 9 |courtname=auto}} Chee Siok Chin v. Attorney-General [2006] SGHC 153, [2006] 4 S.L.R.(R.) 541 at 547–548, para. 9, High Court (Singapore)
Cases from the English Reports
{{cite CommonLII |litigants=Dimes v. Grand Junction Canal Proprietors |link=Dimes v Grand Junction Canal |reporter=ER |fullstops=on |year=1852 |num=789 |volume=10 |firstpage=301 |parallelcite=3 H.L. Cas. 759 |courtname=[[judicial functions of the House of Lords|House of Lords]] |juris=UK}} Dimes v. Grand Junction Canal Proprietors (1852) 3 H.L. Cas. 759, 10 E.R. 301, House of Lords (UK)

See also