Difference between revisions of "Template:Cite SAFLII/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 35: Line 35:
 
|-
 
|-
 
| 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>National Coalition for Gay and Lesbian Equality v Minister of Justice</nowiki></tt>".
+
|The names of the litigants separated with ''v'' or ''v.'' for ''versus'' (in other words, the case name), like this: "<kbd><nowiki>National Coalition for Gay and Lesbian Equality v Minister of Justice</nowiki></kbd>".
 
|-
 
|-
 
| style="text-align:center;" |link
 
| style="text-align:center;" |link
|The name of a Wikipedia article about the case, for example: "<tt>[[National Coalition for Gay and Lesbian Equality and Another v Minister of Justice and Others]]</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>[[National Coalition for Gay and Lesbian Equality and Another v Minister of Justice and Others]]</kbd>". This will be linked to the names of the litigants specified using the {{para|litigants}} parameter.
 
|-
 
|-
 
|colspan=2 style="background-color:silver;"|'''SAFLII link''': <nowiki>http://www.saflii.org</nowiki>/[''country'']/cases/''court''/''year''/''num''.html
 
|colspan=2 style="background-color:silver;"|'''SAFLII link''': <nowiki>http://www.saflii.org</nowiki>/[''country'']/cases/''court''/''year''/''num''.html
Line 63: Line 63:
 
|-
 
|-
 
| 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. If there is more than one parallel citation, separate the citations with commas, like this: "<tt><nowiki>1995 (6) BCLR 665, 1999 (1) SA 6</nowiki></tt>".
+
|Parallel citations to the case. If there is more than one parallel citation, separate the citations with commas, like this: "<kbd><nowiki>1995 (6) BCLR 665, 1999 (1) SA 6</nowiki></kbd>".
 
|-
 
|-
 
| 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>[[Constitutional Court of South Africa|Constitutional Court]]</nowiki></tt>".
+
|The court that decided the case. The name of the court can be [[Help:Link#Wikilinks|wikilinked]], like this: "<kbd><nowiki>[[Constitutional Court of South Africa|Constitutional Court]]</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>South Africa</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>South Africa</nowiki></kbd>". It is unnecessary to use this parameter if you are already using "<kbd>courtname=auto</kbd>".
 
|}
 
|}
  
Line 86: Line 86:
 
!width=50%|Result
 
!width=50%|Result
 
|-
 
|-
|<tt><nowiki>{{cite SAFLII|litigants=S v Makwanyane|court=ZACC|year=1995|num=3|parallelcite=1995 (3) S.A. 391|date=6 June 1995|courtname=auto}}</nowiki></tt>
+
|<kbd><nowiki>{{cite SAFLII|litigants=S v Makwanyane|court=ZACC|year=1995|num=3|parallelcite=1995 (3) S.A. 391|date=6 June 1995|courtname=auto}}</nowiki></kbd>
 
|{{cite SAFLII|litigants=S v Makwanyane|court=ZACC|year=1995|num=3|parallelcite=1995 (3) S.A. 391|date=6 June 1995|courtname=auto}}
 
|{{cite SAFLII|litigants=S v Makwanyane|court=ZACC|year=1995|num=3|parallelcite=1995 (3) S.A. 391|date=6 June 1995|courtname=auto}}
 
|-
 
|-
|<tt><nowiki>{{cite SAFLII|court=ZACC|year=1995|num=3|parallelcite=1995 (3) S.A. 391}}</nowiki></tt>
+
|<kbd><nowiki>{{cite SAFLII|court=ZACC|year=1995|num=3|parallelcite=1995 (3) S.A. 391}}</nowiki></kbd>
 
|{{cite SAFLII|court=ZACC|year=1995|num=3|parallelcite=1995 (3) S.A. 391}}
 
|{{cite SAFLII|court=ZACC|year=1995|num=3|parallelcite=1995 (3) S.A. 391}}
 
|-
 
|-
|<tt><nowiki>{{cite SAFLII|litigants=National Coalition for Gay and Lesbian Equality v Minister of Justice|link=National Coalition for Gay and Lesbian Equality and Another v Minister of Justice and Others|court=ZACC|year=1998|num=15|pinpoint=paras. 79–82|parallelcite=1999 (1) S.A. 6|courtname=Const. Ct.}}</nowiki></tt>
+
|<kbd><nowiki>{{cite SAFLII|litigants=National Coalition for Gay and Lesbian Equality v Minister of Justice|link=National Coalition for Gay and Lesbian Equality and Another v Minister of Justice and Others|court=ZACC|year=1998|num=15|pinpoint=paras. 79–82|parallelcite=1999 (1) S.A. 6|courtname=Const. Ct.}}</nowiki></kbd>
 
|{{cite SAFLII|litigants=National Coalition for Gay and Lesbian Equality v Minister of Justice|link=National Coalition for Gay and Lesbian Equality and Another v Minister of Justice and Others|court=ZACC|year=1998|num=15|pinpoint=paras. 79–82|parallelcite=1999 (1) S.A. 6|courtname=Const. Ct.}}
 
|{{cite SAFLII|litigants=National Coalition for Gay and Lesbian Equality v Minister of Justice|link=National Coalition for Gay and Lesbian Equality and Another v Minister of Justice and Others|court=ZACC|year=1998|num=15|pinpoint=paras. 79–82|parallelcite=1999 (1) S.A. 6|courtname=Const. Ct.}}
 
|-
 
|-
|<tt><nowiki>{{cite SAFLII|litigants=Moch v Nedtravel (Pty) Ltd|court=ZASCA|year=1996|num=2|parallelcite=1996 (3) S.A. 1|courtname=auto}}</nowiki></tt>
+
|<kbd><nowiki>{{cite SAFLII|litigants=Moch v Nedtravel (Pty) Ltd|court=ZASCA|year=1996|num=2|parallelcite=1996 (3) S.A. 1|courtname=auto}}</nowiki></kbd>
 
|{{cite SAFLII|litigants=Moch v Nedtravel (Pty) Ltd|court=ZASCA|year=1996|num=2|parallelcite=1996 (3) S.A. 1|courtname=auto}}
 
|{{cite SAFLII|litigants=Moch v Nedtravel (Pty) Ltd|court=ZASCA|year=1996|num=2|parallelcite=1996 (3) S.A. 1|courtname=auto}}
 
|}
 
|}

Revision as of 06:23, 5 August 2018

Usage

This template is used to cite cases, legislation and other materials listed in the Southern African Legal Information Institute (SAFLII) database. You should look up the case you wish to cite on SAFLII, then refer to the URL of the web page on which the case appears to fill in the information required by the template.

Template

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

or

{{cite SAFLII|litigants=|link=|court=|year=|num=|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: "National Coalition for Gay and Lesbian Equality v Minister of Justice".
link The name of a Wikipedia article about the case, for example: "National Coalition for Gay and Lesbian Equality and Another v Minister of Justice and Others". This will be linked to the names of the litigants specified using the |litigants= parameter.
SAFLII link: http://www.saflii.org/[country]/cases/court/year/num.html
court Mandatory: The neutral citation code used by SAFLII to identify the court that decided the case, as follows:

The template currently only handles cases decided by the above courts. Please update the template if you wish to include additional courts, 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.
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. If there is more than one parallel citation, separate the citations with commas, like this: "1995 (6) BCLR 665, 1999 (1) SA 6".
courtname The court that decided the case. The name of the court can be wikilinked, like this: "[[Constitutional Court of South Africa|Constitutional Court]]".

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 "South Africa". It is unnecessary to use this parameter if you are already using "courtname=auto".

Examples

Wikitext Result
{{cite SAFLII|litigants=S v Makwanyane|court=ZACC|year=1995|num=3|parallelcite=1995 (3) S.A. 391|date=6 June 1995|courtname=auto}} S v Makwanyane [1995] ZACC 3, 1995 (3) S.A. 391 (6 June 1995), Constitutional Court (South Africa)
{{cite SAFLII|court=ZACC|year=1995|num=3|parallelcite=1995 (3) S.A. 391}} [1995] ZACC 3, 1995 (3) S.A. 391
{{cite SAFLII|litigants=National Coalition for Gay and Lesbian Equality v Minister of Justice|link=National Coalition for Gay and Lesbian Equality and Another v Minister of Justice and Others|court=ZACC|year=1998|num=15|pinpoint=paras. 79–82|parallelcite=1999 (1) S.A. 6|courtname=Const. Ct.}} National Coalition for Gay and Lesbian Equality v Minister of Justice [1998] ZACC 15 at paras. 79–82, 1999 (1) S.A. 6, Const. Ct.
{{cite SAFLII|litigants=Moch v Nedtravel (Pty) Ltd|court=ZASCA|year=1996|num=2|parallelcite=1996 (3) S.A. 1|courtname=auto}} Moch v Nedtravel (Pty) Ltd [1996] ZASCA 2, 1996 (3) S.A. 1, Supreme Court of Appeal (South Africa)

See also