Difference between revisions of "Template:Cite AustLII/sandbox"
imported>Kb.au |
imported>ScottDavis m (update sandbox to current) |
||
| Line 10: | Line 10: | ||
|au/cases/{{#switch:{{{1|{{{court|{{{source}}} }}} }}} | |au/cases/{{#switch:{{{1|{{{court|{{{source}}} }}} }}} | ||
|AATA = cth/AATA/ | |AATA = cth/AATA/ | ||
| + | |ACAT = act/ACAT/ | ||
|ACompT = cth/ACompT/ | |ACompT = cth/ACompT/ | ||
| − | |||
| − | |||
|ACTCA = act/ACTCA/ | |ACTCA = act/ACTCA/ | ||
| + | |ACTSCFC = act/ACTSCFC/ | ||
|ACTSC = act/ACTSC/ | |ACTSC = act/ACTSC/ | ||
| + | |ADO = cth/ADO/ | ||
| + | |AICmr = cth/AICmr/ | ||
| + | |AIRC = cth/AIRC/ | ||
| + | |APO = cth/APO/ | ||
|ATMO = cth/ATMO/ | |ATMO = cth/ATMO/ | ||
| − | |FamCA = cth/ | + | |FamCA = cth/FamCA/ |
|FamCAFC = cth/FamCAFC/ | |FamCAFC = cth/FamCAFC/ | ||
|FCA = cth/FCA/ | |FCA = cth/FCA/ | ||
| Line 23: | Line 27: | ||
|FMCA = cth/FMCA/ | |FMCA = cth/FMCA/ | ||
|FMCAfam = cth/FMCAfam/ | |FMCAfam = cth/FMCAfam/ | ||
| + | |FWAFB = cth/FWAFB/ | ||
|FWCFB = cth/FWCFB/ | |FWCFB = cth/FWCFB/ | ||
|HCA = cth/HCA/ | |HCA = cth/HCA/ | ||
| + | |HCASL = cth/HCASL/ | ||
|HCATrans = cth/HCATrans/ | |HCATrans = cth/HCATrans/ | ||
|HREOCA = cth/HREOCA/ | |HREOCA = cth/HREOCA/ | ||
| Line 32: | Line 38: | ||
|NSWCCA = nsw/NSWCCA/ | |NSWCCA = nsw/NSWCCA/ | ||
|NSWDC = nsw/NSWDC/ | |NSWDC = nsw/NSWDC/ | ||
| + | |NSWIRComm = nsw/NSWIRComm/ | ||
|NSWLEC = nsw/NSWLEC/ | |NSWLEC = nsw/NSWLEC/ | ||
|NSWLawRp = nsw/NSWLawRp/ | |NSWLawRp = nsw/NSWLawRp/ | ||
| − | |NSWSC = nsw/ | + | |NSWSC = nsw/NSWSC/ |
|NSWStRp = nsw/NSWStRp/ | |NSWStRp = nsw/NSWStRp/ | ||
| + | |NSWSupC = nsw/NSWSupC/ | ||
|NTCA = nt/NTCA/ | |NTCA = nt/NTCA/ | ||
|NTCCA = nt/NTCCA/ | |NTCCA = nt/NTCCA/ | ||
| + | |NTMC = nt/NTMC/ | ||
|NTSC = nt/NTSC/ | |NTSC = nt/NTSC/ | ||
|QCA = qld/QCA/ | |QCA = qld/QCA/ | ||
|QDC = qld/QDC/ | |QDC = qld/QDC/ | ||
| + | |QLPT = qld/QLPT/ | ||
|QSC = qld/QSC/ | |QSC = qld/QSC/ | ||
| + | |RRTA = cth/RRTA/ | ||
|SADC = sa/SADC/ | |SADC = sa/SADC/ | ||
|SASC = sa/SASC/ | |SASC = sa/SASC/ | ||
|SASCFC = sa/SASCFC/ | |SASCFC = sa/SASCFC/ | ||
|SAStRp = sa/SAStRp/ | |SAStRp = sa/SAStRp/ | ||
| − | | | + | |TASFPT = tas/TASFPT/ |
|TASLawRp = tas/TASLawRp/ | |TASLawRp = tas/TASLawRp/ | ||
| + | |TASRp = tas/TASRp/ | ||
| + | |TASSC = tas/TASSC/ | ||
| + | |TASSupC = tas/TASSupC/ | ||
| + | |TASStRp = tas/TASStRp/ | ||
|UKPCHCA = cth/UKPCHCA/ | |UKPCHCA = cth/UKPCHCA/ | ||
|VCAT = vic/VCAT/ | |VCAT = vic/VCAT/ | ||
|VicLawRp = vic/VicLawRp/ | |VicLawRp = vic/VicLawRp/ | ||
|VicRp = vic/VicRp/ | |VicRp = vic/VicRp/ | ||
| + | |VicSC = vic/VicSC/ | ||
|VSC = vic/VSC/ | |VSC = vic/VSC/ | ||
|VSCA = vic/VSCA/ | |VSCA = vic/VSCA/ | ||
| Line 61: | Line 77: | ||
|, {{#switch:{{{1|{{{court|{{{source}}} }}} }}} | |, {{#switch:{{{1|{{{court|{{{source}}} }}} }}} | ||
|AATA = [[Administrative Appeals Tribunal]] ( | |AATA = [[Administrative Appeals Tribunal]] ( | ||
| + | |ACATS = [[Australian Capital Territory Civil and Administrative Tribunal|Civil & Administrative Tribunal]] (ACT,  | ||
|ACompT = [[Australian Competition Tribunal]] ( | |ACompT = [[Australian Competition Tribunal]] ( | ||
| − | |||
| − | |||
|ACTCA = [[Supreme Court of the Australian Capital Territory|Court of Appeal]] (ACT,  | |ACTCA = [[Supreme Court of the Australian Capital Territory|Court of Appeal]] (ACT,  | ||
| + | |ACTSCFC = [[Supreme Court of the Australian Capital Territory|Supreme Court]] (Full Court) (ACT,  | ||
|ACTSC = [[Supreme Court of the Australian Capital Territory|Supreme Court]] (ACT,  | |ACTSC = [[Supreme Court of the Australian Capital Territory|Supreme Court]] (ACT,  | ||
| + | |ADO = [[Australian Design Office]] ( | ||
| + | |AICmr = [[Australian Information Commissioner]] ( | ||
| + | |AIRC = [[Australian Industrial Relations Commission]] ( | ||
| + | |APO = [[Australian Patent Office]] ( | ||
|ATMO = [[Australian Trade Marks Office]] ( | |ATMO = [[Australian Trade Marks Office]] ( | ||
|FamCA = [[Family Court of Australia|Family Court]] ( | |FamCA = [[Family Court of Australia|Family Court]] ( | ||
| Line 73: | Line 93: | ||
|FMCA = [[Federal Magistrates' Court of Australia|Federal Magistrates' Court]] ( | |FMCA = [[Federal Magistrates' Court of Australia|Federal Magistrates' Court]] ( | ||
|FMCAfam = [[Federal Magistrates' Court of Australia|Federal Magistrates' Court]] ( | |FMCAfam = [[Federal Magistrates' Court of Australia|Federal Magistrates' Court]] ( | ||
| + | |FWAFB = [[Fair Work Australia|Fair Work Australia - Full Bench]] ( | ||
|FWCFB = [[Fair Work Commission|Fair Work Commission - Full Bench]] ( | |FWCFB = [[Fair Work Commission|Fair Work Commission - Full Bench]] ( | ||
|CLR = [[High Court of Australia|High Court]] ( | |CLR = [[High Court of Australia|High Court]] ( | ||
|HCA = [[High Court of Australia|High Court]] ( | |HCA = [[High Court of Australia|High Court]] ( | ||
| + | |HCASL = [[High Court of Australia|High Court]] ( | ||
|HCATrans = [[High Court of Australia|High Court]] ( | |HCATrans = [[High Court of Australia|High Court]] ( | ||
|hcatranscripts = [[High Court of Australia|High Court]] ( | |hcatranscripts = [[High Court of Australia|High Court]] ( | ||
| Line 84: | Line 106: | ||
|NSWCCA = [[New South Wales Court of Criminal Appeal|Court of Criminal Appeal]] (NSW,  | |NSWCCA = [[New South Wales Court of Criminal Appeal|Court of Criminal Appeal]] (NSW,  | ||
|NSWDC = [[District Court of New South Wales|District Court]] (NSW,  | |NSWDC = [[District Court of New South Wales|District Court]] (NSW,  | ||
| + | |NSWIRComm = [[Industrial Relations Commission of New South Wales|Industrial Relations Commission]] (NSW,  | ||
|NSWLEC = [[Land and Environment Court of New South Wales|Land and Environment Court]] (NSW,  | |NSWLEC = [[Land and Environment Court of New South Wales|Land and Environment Court]] (NSW,  | ||
|NSWLawRp = [[Supreme Court of New South Wales|Supreme Court]] (NSW,  | |NSWLawRp = [[Supreme Court of New South Wales|Supreme Court]] (NSW,  | ||
|NSWSC = [[Supreme Court of New South Wales|Supreme Court]] (NSW,  | |NSWSC = [[Supreme Court of New South Wales|Supreme Court]] (NSW,  | ||
|NSWStRp = [[Supreme Court of New South Wales|Supreme Court]] (NSW,  | |NSWStRp = [[Supreme Court of New South Wales|Supreme Court]] (NSW,  | ||
| + | |NSWSupC = [[Supreme Court of New South Wales|Supreme Court]] (NSW,  | ||
|NTCA = [[Supreme Court of the Northern Territory|Court of Appeal]] (NT,  | |NTCA = [[Supreme Court of the Northern Territory|Court of Appeal]] (NT,  | ||
|NTCCA = [[Supreme Court of the Northern Territory|Court of Criminal Appeal]] (NT,  | |NTCCA = [[Supreme Court of the Northern Territory|Court of Criminal Appeal]] (NT,  | ||
| + | |NTMC = [[Magistrates court (Northern Territory)|Magistrates court]] (NT,  | ||
|NTSC = [[Supreme Court of the Northern Territory|Supreme Court]] (NT,  | |NTSC = [[Supreme Court of the Northern Territory|Supreme Court]] (NT,  | ||
|QCA = [[Supreme Court of Queensland|Court of Appeal]] (Qld,  | |QCA = [[Supreme Court of Queensland|Court of Appeal]] (Qld,  | ||
|QDC = [[District Court of Queensland|District Court]] (Qld,  | |QDC = [[District Court of Queensland|District Court]] (Qld,  | ||
| − | |QSC = [[Supreme Court of Queensland|Court | + | |QLPT = Legal Practice Tribunal (Qld,  |
| + | |QSC = [[Supreme Court of Queensland|Supreme Court]] (Qld,  | ||
| + | |RRTA = [[Refugee Review Tribunal]] ( | ||
|SADC = [[District Court of South Australia|District Court]] (SA,  | |SADC = [[District Court of South Australia|District Court]] (SA,  | ||
|SASC = [[Supreme Court of South Australia|Supreme Court]] (SA,  | |SASC = [[Supreme Court of South Australia|Supreme Court]] (SA,  | ||
|SASCFC = [[Supreme Court of South Australia|Supreme Court (Full Court)]] (SA,  | |SASCFC = [[Supreme Court of South Australia|Supreme Court (Full Court)]] (SA,  | ||
|SAStRp = [[Supreme Court of South Australia|Supreme Court]] (SA,  | |SAStRp = [[Supreme Court of South Australia|Supreme Court]] (SA,  | ||
| + | |TASFPT = [[Forest Practices Tribunal of Tasmania]] (Tas,  | ||
| + | |TASLawRp = [[Supreme Court of Tasmania|Supreme Court]] (Tas,  | ||
| + | |TASRp = [[Supreme Court of Tasmania|Supreme Court]] (Tas,  | ||
|TASSC = [[Supreme Court of Tasmania|Supreme Court]] (Tas,  | |TASSC = [[Supreme Court of Tasmania|Supreme Court]] (Tas,  | ||
| − | | | + | |TASSupC = [[Supreme Court of Tasmania|Supreme Court]] (Tas,  |
| + | |TASStRp = [[Supreme Court of Tasmania|Supreme Court]] (Tas,  | ||
|UKPCHCA = [[Judicial Committee of the Privy Council|Privy Council]] (on appeal from {{#if:{{{juris|}}}|{{{juris}}}, }} | |UKPCHCA = [[Judicial Committee of the Privy Council|Privy Council]] (on appeal from {{#if:{{{juris|}}}|{{{juris}}}, }} | ||
|VCAT = [[Victorian Civil and Administrative Tribunal|Civil and Administrative Tribunal]] (Vic,  | |VCAT = [[Victorian Civil and Administrative Tribunal|Civil and Administrative Tribunal]] (Vic,  | ||
|VicLawRp = [[Supreme Court of Victoria|Supreme Court]] (Vic,  | |VicLawRp = [[Supreme Court of Victoria|Supreme Court]] (Vic,  | ||
|VicRp = [[Supreme Court of Victoria|Supreme Court]] (Vic,  | |VicRp = [[Supreme Court of Victoria|Supreme Court]] (Vic,  | ||
| + | |VicSC = [[Supreme Court of Victoria|Supreme Court]] (Vic,  | ||
|VSC = [[Supreme Court of Victoria|Supreme Court]] (Vic,  | |VSC = [[Supreme Court of Victoria|Supreme Court]] (Vic,  | ||
|VSCA = [[Supreme Court of Victoria|Court of Appeal]] (Vic,  | |VSCA = [[Supreme Court of Victoria|Court of Appeal]] (Vic,  | ||
Revision as of 11:00, 4 October 2020
[{{{year}}}] {{{source}}} {{{num}}}
| This is the template sandbox page for Template:Cite AustLII (diff). See also the companion subpage for test cases. |
Usage
This template links to a variety of different case reports located on the Australasian Legal Information Institute (AustLII) website. You should look up the case you wish to cite on AustLII, then refer to the URL of the web page on which the case appears to fill in the information required by the template.
Templates
The template should be used as follows:
{{cite AustLII|litigants=|link=|SOURCE|NUM|YEAR|pinpoint=|parallelcite=|date=|courtname=|juris=|ref=}}
or
{{cite AustLII|litigants=|link=|source=|num=|year=|pinpoint=|parallelcite=|date=|courtname=|juris=|ref=}}
or
{{cite AustLII|litigants=|link=|court=|num=|year=|pinpoint=|parallelcite=|date=|courtname=|juris=|ref=}}
"SOURCE" is a code representing the court or tribunal (see the list below), "NUM" is the medium-neutral item number, and "YEAR" is the year in which the judgment or transcript was published.
Note: ensure that no spaces appear around the parameters, or the template will not work.
The deprecated CLR and hcatranscripts functions are supported for legacy reasons only and should no longer be used. Links generated by these functions lead to a search page on the AustLII site as the former URL schema which supported these functions no longer exists. Existing uses of these functions should be updated accordingly.
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: "Commonwealth v. Tasmania". | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| link | The name of a Wikipedia article about the case, for example: "Commonwealth v Tasmania". This will be linked to the names of the litigants specified using the |litigants= parameter.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| AustLII link | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| source or court |
Mandatory: The code used by AustLII indicating the source of the case, as follows:
The template currently only handles cases decided by the above courts or reported by the above series of law reports. 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. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| num | Mandatory: the medium-neutral item number of the case. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| year | Mandatory: the year of the case. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| 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 "1 July 1983" or "1983-07-01". It will appear a day-month-year format. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| parallelcite | Parallel citations to the case. Separate the citations with commas, like this: "205 C.L.R. 337, 176 A.L.R. 644, 75 A.L.J.R. 277". | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| courtname | The court that decided the case. The name of the court can be wikilinked, like this: "[[High Court of Australia|High Court]]".
To have the template automatically indicate the court and jurisdiction of a case, type "courtname=auto". For Privy Council decisions, to indicate the jurisdiction from which the case was appealed, use | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| juris | The jurisdiction that decided the case, such as "Australia" or "New South Wales". It is unnecessary to use this parameter if you are already using "|courtname=auto", unless you wish to specify the jurisdiction from which an appeal to the Privy Council originated: see |courtname=.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| ref | This is equivalent to the corresponding parameter in Citation Style 1 templates. Use |ref={{sfnref|short reference text}} to link a citation with the corresponding inline callout {{sfn|short reference text}}. Do not place quotes around the ref value. The values |ref=harv and |ref=none do not have any special meaning.
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Examples
| Wikitext | Result |
|---|---|
| {{cite AustLII|litigants=Commonwealth v Tasmania|link=Commonwealth v Tasmania|court=HCA|year=1983|num=21|parallelcite=(1983) 158 C.L.R. 1|date=1 July 1983|courtname=H.C.}} | Commonwealth v Tasmania [1983] HCA 21, (1983) 158 C.L.R. 1 (1 July 1983), H.C. |
| {{cite AustLII|litigants=Minister of State for Immigration & Ethnic Affairs v Teoh|link=Minister of State for Immigration and Ethnic Affairs v Teoh|HCATrans|num=88|year=1994|parallelcite=P20/1994|date=24 October 1994|courtname=auto}} | Minister of State for Immigration & Ethnic Affairs v Teoh [1994] HCATrans 88, P20/1994 (24 October 1994), High Court (Australia) |
| {{cite AustLII|litigants=Webb v Outtrim|link=Deakin v Webb#Webb v Outtrim in the Privy Council|court=UKPCHCA|year=1906|num=4|parallelcite=(1906) 4 [[Commonwealth Law Reports|C.L.R.]] 356|courtname=auto|juris=Vic.}} | Webb v Outtrim [1906] UKPCHCA 4, (1906) 4 C.L.R. 356, Privy Council (on appeal from Vic., Australia) |
| {{cite AustLII|litigants=Griffin v Matthews|court=NSWCA|year=2012|num=348|courtname=auto}} | Griffin v Matthews [2012] NSWCA 348, Court of Appeal (NSW, Australia) |
| {{cite AustLII|VSC|508|2004|pinpoint=para. 38|courtname=[[Supreme Court of Victoria|S.C.]]|juris=Vic.}} | [2004] VSC 508 at para. 38, S.C. (Vic.) |
TemplateData
Generates links to a variety of different case reports located on the AustLII website.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Litigants | litigants | The names of the litigants separated with v or v. for versus (in other words, the case name).
| String | suggested |
| Link | link | The name of a Wikipedia article about the case which will be linked from the names of the litigants.
| String | suggested |
| Source | source court 1 | The abbreviation used by AustLII indicating the source of the case.
| String | required |
| Num | num 2 | The medium-neutral item number of the case. | Number | required |
| Year | year 3 | The year of the case. | Number | required |
| Pinpoint | pinpoint | The page or paragraph number at which information or a quotation you are referring to appears. When referring to a range of pages or paragraph numbers, separate the starting and ending numbers with an en dash like this: "528–530".
| String | optional |
| Date | date | The date that the case was decided.
| Date | optional |
| Parallelcite | parallelcite | Parallel citations to the case.
| String | optional |
| Courtname | courtname | The court that decided the case. The name of the court can be wikilinked.
| Unknown | optional |
| Juris | juris | The jurisdiction that decided the case. Unnecessary if "courtname=auto", unless you wish to specify the jurisdiction from which an appeal to the Privy Council originated.
| String | optional |
See also
|
|
| The above documentation is transcluded from Template:Cite AustLII/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (edit) pages. Please add categories to the /doc subpage. Subpages of this template. |