Template:Cite act/testcases

From Wikipedia, the free encyclopedia


Demo and error testing[edit]

overlinking title fields
{{Cite act |article=[[art II]] |article-type=Annex |date=20 March 2000 |index=2000/13/EC |legislature=The European Parliament |pages=29–42 |title=The [[approximation]] of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs |type=Directive |url=http://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32000L0013&from=EN}}

{{Cite act}}

The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs (Directive 2000/13/EC, Annex art II). The European Parliament. 20 March 2000. pp. 29–42.

{{Cite act/sandbox}}

The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs (Directive 2000/13/EC, Annex art II). The European Parliament. 20 March 2000. pp. 29–42.

basic test, with simple parameters
{{Cite act |article=II |article-type=Annex |date=20 March 2000 |df=yes |index=2000/13/EC |legislature=The European Parliament |pages=29–42 |title=The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs |type=Directive |url=http://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32000L0013&from=EN}}

{{Cite act}}

The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs (Directive 2000/13/EC, Annex II). The European Parliament. 20 March 2000. pp. 29–42. {{cite report}}: Invalid |df=yes (help)

{{Cite act/sandbox}}

The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs (Directive 2000/13/EC, Annex II). The European Parliament. 20 March 2000. pp. 29–42. {{cite report}}: Invalid |df=yes (help)

basic test with MDY date format
{{Cite act |article=II |article-type=Annex |date=20 March 2000 |df=mdy |number=2000/13/EC |pages=29–42 |title=The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs |type=Directive |url=http://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32000L0013&from=EN}}

{{Cite act}}

The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs (Directive 2000/13/EC, Annex II). March 20, 2000. pp. 29–42.

{{Cite act/sandbox}}

The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs (Directive 2000/13/EC, Annex II). March 20, 2000. pp. 29–42.

basic test with garbage data in the date parameter
{{Cite act |article=II |article-type=Annex |date=this is not a valid date string |number=2000/13/EC |pages=29–42 |title=The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs |type=Directive |url=http://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32000L0013&from=EN}}

{{Cite act}}

The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs (Directive 2000/13/EC, Annex II). this is not a valid date string. pp. 29–42. {{cite report}}: Check date values in: |date= (help)

{{Cite act/sandbox}}

The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs (Directive 2000/13/EC, Annex II). this is not a valid date string. pp. 29–42. {{cite report}}: Check date values in: |date= (help)

garbage data in year parameter
{{Cite act |article=II |article-type=Annex |number=2000/13/EC |pages=29–42 |title=The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs |type=Directive |url=http://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32000L0013&from=EN |year=garbage data}}

{{Cite act}}

The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs (Directive 2000/13/EC, Annex II). garbage data. pp. 29–42. {{cite report}}: Check date values in: |year= (help)

{{Cite act/sandbox}}

The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs (Directive 2000/13/EC, Annex II). garbage data. pp. 29–42. {{cite report}}: Check date values in: |year= (help)

both year and date parameters
{{Cite act |article=II |article-type=Annex |date=January 1, 2014 |number=2000/13/EC |pages=29–42 |title=The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs |type=Directive |url=http://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32000L0013&from=EN |year=2011}}

{{Cite act}}

The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs (Directive 2000/13/EC, Annex II). January 1, 2014. pp. 29–42. {{cite report}}: Check date values in: |year= / |date= mismatch (help)

{{Cite act/sandbox}}

The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs (Directive 2000/13/EC, Annex II). January 1, 2014. pp. 29–42. {{cite report}}: Check date values in: |year= / |date= mismatch (help)

garbage in date with valid year
{{Cite act |article=II |article-type=Annex |date=garbage |number=2000/13/EC |pages=29–42 |title=The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs |type=Directive |url=http://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32000L0013&from=EN |year=2011}}

{{Cite act}}

The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs (Directive 2000/13/EC, Annex II). garbage. pp. 29–42. {{cite report}}: Check date values in: |date= and |year= / |date= mismatch (help)

{{Cite act/sandbox}}

The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs (Directive 2000/13/EC, Annex II). garbage. pp. 29–42. {{cite report}}: Check date values in: |date= and |year= / |date= mismatch (help)

test to fix double space issue
{{Cite act |accessdate=2016-11-03 |article=1 |articletype=Schedule |date=November 1, 1996 |title=Representation of the People Act 1983 |url=http://www.legislation.gov.uk/ukpga/1983/2/schedule/1/part/I/1996-11-01}}

{{Cite act}}

Representation of the People Act 1983 (Schedule 1). November 1, 1996. Retrieved 2016-11-03.

{{Cite act/sandbox}}

Representation of the People Act 1983 (Schedule 1). November 1, 1996. Retrieved 2016-11-03.


Major legal citation style comparison[edit]

IndigoBook (US Bluebook CC0 clone)

Note for April 2024 comparisons to sandbox: series=reporter; firstpage->firstpage+at; authority=author; year->date

{{Cite act |article=§ 103 |at=§ 1201(e) |series=U.S.C.A. |title=Digital Millennium Copyright Act |volume=17 |year=1998}}
IndigoBook comparison test: US regulation republished
Digital Millennium Copyright Act of 1998 § 103, 17 U.S.C.A. § 1201(e) (West).
{{Cite act}}{{Cite act/sandbox}}
Digital Millennium Copyright Act (§ 103). U.S.C.A. Vol. 17. 1998. § 1201(e). Digital Millennium Copyright Act (§ 103). U.S.C.A. Vol. 17. 1998. § 1201(e).
{{Cite act |at=§ 223 |institution=U.S.C. |orig-date=2012 & Supp. I 2013 |title=Communications Act of 1934 |volume=47 |year=1934}}
IndigoBook: US Code historical
Communications Act of 1934, 47 U.S.C. § 223 (2012 & Supp. I 2013).
{{Cite act}}{{Cite act/sandbox}}
Communications Act of 1934. Vol. 47. U.S.C. 1934 [2012 & Supp. I 2013]. § 223. Communications Act of 1934. Vol. 47. U.S.C. 1934 [2012 & Supp. I 2013]. § 223.
{{Cite act |article=art. I, § 8, cl. 8. |title=U.S. Const.}}
IndigoBook: US constitutions
<sc>U.S. Const.</sc> art. I, § 8, cl. 8.
{{Cite act}}{{Cite act/sandbox}}
U.S. Const (art. I, § 8, cl. 8.). U.S. Const (art. I, § 8, cl. 8.).
{{Cite act |at=262 |date=2021 |number=117-11 |series=Stat. |title=FASTER Act |type=Pub. L. |volume=135}}
IndigoBook: US Congress session law
FASTER Act of 2021, Pub. L. No. 117-11, 135 Stat. 262 (2021).
{{Cite act}}{{Cite act/sandbox}}
FASTER Act (Pub. L. 117-11). Stat. Vol. 135. 2021. 262. FASTER Act (Pub. L. 117-11). Stat. Vol. 135. 2021. 262.
{{Cite act |legislature=116th Cong. |title=Protecting...Internet |url=https://www.congress.gov/event/116th-congress/house-event/110505 |year=2020}}
IndigoBook: US Congress hearing
Protecting Federal Judiciary Employees from Sexual Harassment, Discrimination, and Other Workplace Misconduct: Hearing Before the H. Subcommittee on Courts, Intellectual Property, and the Internet, 116th Cong. (2020), https://www.congress.gov/event/116th-congress/house-event/110505.
{{Cite act}}{{Cite act/sandbox}}
Protecting...Internet. 116th Cong. 2020. Protecting...Internet. 116th Cong. 2020.
{{Cite act |number=99-146 |page=42, 412 |series=U.S.C.C.A.N. |type=S. Rep. |volume=1986}}
IndigoBook: US Congress report
<sc>S. Rep.</sc> No. 99-146, at 363, as reprinted in 1986 U.S.C.C.A.N. 42, 412.
{{Cite act}}{{Cite act/sandbox}}
S. Rep. 99-146. U.S.C.C.A.N. Vol. 1986. p. 42, 412. S. Rep. 99-146. U.S.C.C.A.N. Vol. 1986. p. 42, 412.
OSCOLA UK/Commonwealth style

OSCOLA has no copyright claims that I can tell

{{Cite act |at=ss 1(1) and 4(3)(a) |date=2004 |mode=cs2 |number=2004/3166 |series=Stat. |title=Penalties for Disorderly Behaviour (Amendment of Minimum Age) |type=SI |volume=135}}
OSCOLA: Statutory instruments, etc
Penalties for Disorderly Behaviour (Amendment of Minimum Age) Order 2004, SI 2004/3166, ss 1(1) and 4(3)(a).
{{Cite act}}{{Cite act/sandbox}}
Penalties for Disorderly Behaviour (Amendment of Minimum Age) (SI 2004/3166), Stat., vol. 135, 2004, ss 1(1) and 4(3)(a) Penalties for Disorderly Behaviour (Amendment of Minimum Age) (SI 2004/3166), Stat., vol. 135, 2004, ss 1(1) and 4(3)(a)
{{Cite act |at=cl 8(2) |legislature=House of Lords (2010-11) |mode=cs2 |title=Academies HL Bill |volume=1}}
OOSCOLA: Bills
Academies HL Bill (2010-11) 1, cl 8(2)
{{Cite act}}{{Cite act/sandbox}}
Academies HL Bill, vol. 1, House of Lords (2010-11), cl 8(2) Academies HL Bill, vol. 1, House of Lords (2010-11), cl 8(2)
{{Cite act |at=ch 5 |author=Department for International Development |date=2009 |number=Cm 7656 |title=Eliminating World Poverty: Building our Common Future |type=White Paper}}
OSCOLA: Command papers/treaties
Department for International Development, Eliminating World Poverty: Building our Common Future (White Paper, Cm 7656, 2009) ch 5
{{Cite act}}{{Cite act/sandbox}}{{cite_tech_report}}
Department for International Development (2009). Eliminating World Poverty: Building our Common Future (White Paper Cm 7656). ch 5. Department for International Development (2009). Eliminating World Poverty: Building our Common Future (White Paper Cm 7656). ch 5. Department for International Development (2009). Eliminating World Poverty: Building our Common Future (White Paper). ch 5. Cm 7656.
{{Cite act |at=col WA261 |date=3 February 1977 |type=HC Deb |volume=389}}
OSCOLA: Hansard
HC Deb 3 February 1977, vol 389, col WA261
{{Cite act}}{{Cite act/sandbox}}
HC Deb. Vol. 389. 3 February 1977. col WA261. HC Deb. Vol. 389. 3 February 1977. col WA261.
{{Cite act |at=14-16 |legislature=UK Parliament 2009-10 |title=Digital Economy Bill |type=HL 73, HC 425}}
Committee reports:
Health Committee, Patient Safety (HC 2008–09, 151–I) paras 173–75
Joint Committee on Human Rights, Legislative Scrutiny: Equality Bill (second report);
Digital Economy Bill (2009–10, HL 73, HC 425) 14–16
{{Cite act}}{{Cite act/sandbox}}
Digital Economy Bill (HL 73, HC 425). UK Parliament 2009-10. 14-16. Digital Economy Bill (HL 73, HC 425). UK Parliament 2009-10. 14-16.


Australia style (AGLC)

See e.g. Murdoch Univ Library AGLC Referencing Guide:

Legislation: {{Act Title Year}/{Bill Title Year}\} ({Jurisdiction abbreviation}) {Pinpoint to section(s)/rule(s)}

{{Cite act |date=1990 |italics=y |location=NSW |title=Jaywalking |type=Act}}
Acts: Jaywalking Act 1990 (NSW).
{{Cite act}}{{Cite act/sandbox}}
Jaywalking (Act). NSW. 1990. Jaywalking (Act). NSW. 1990.
{{Cite act |date=1995 |location=Cth |title=Elections Amendment (Grassroots Funding) |type=Bill}}
Bills: Elections Amendment (Grassroots Funding) Bill 2011 (Cth).
{{Cite act}}{{Cite act/sandbox}}
Elections Amendment (Grassroots Funding) (Bill). Cth. 1995. Elections Amendment (Grassroots Funding) (Bill). Cth. 1995.
{{Cite act |access-date=11 November 2011 |at=ords 5–7, 9 r 2B |italics=y |location=Cth |title=Territory Court Rules 1971 |url=https://www.actlawsociety.asn.au/documents/item/1911}}
Orders :
Territory Court Rules 1971 (Cth) (at 11 November 2011) ords 5–7, 9 r 2B <https://www.actlawsociety.asn.au/documents/item/1911>.
{{Cite act}}{{Cite act/sandbox}}
Territory Court Rules 1971. Cth. ords 5–7, 9 r 2B. Retrieved 11 November 2011. Territory Court Rules 1971. Cth. ords 5–7, 9 r 2B. Retrieved 11 November 2011.
{{Cite act |access-date=11 November 2011 |at=para 12.2 |author=Department of Housing Affairs |chapter=Division 1.4 – Appointment to nominated positions (citizen approval) |italics=y |location=Cth |title=Procedures Advice Manual 2 |url=https://www.actlawsociety.asn.au/documents/item/1911}}
Policy :
Department of Housing Affairs (Cth), Procedures Advice Manual 2: Division 1.4 – Appointment to nominated positions (citizen approval), para 12.2.
{{Cite act}}{{Cite act/sandbox}}
Department of Housing Affairs. "Division 1.4 – Appointment to nominated positions (citizen approval)". Procedures Advice Manual 2. Cth. para 12.2. Retrieved 11 November 2011. Department of Housing Affairs. "Division 1.4 – Appointment to nominated positions (citizen approval)". Procedures Advice Manual 2. Cth. para 12.2. Retrieved 11 November 2011.
{{Cite act |location=Vic |title=Charter of Decency Bill 2010 |type=Explanatory Memorandum}}
Explanatory Memorandum/Notes/Statement :
Explanatory Memorandum, Charter of Decency Bill 2010 (Vic).
{{Cite act}}{{Cite act/sandbox}}
Charter of Decency Bill 2010 (Explanatory Memorandum). Vic. Charter of Decency Bill 2010 (Explanatory Memorandum). Vic.
{{Cite act |author=Mineral Resources Committee |date=September 2001 |legislature=Parliament of Queensland |title=Inquiry into the Global Warming Statement Process in Queensland |type=Parliamentary Paper No 19}}
Parliamentary Papers -- Hansard :
Mineral Resources Committee, Parliament of Queensland, Inquiry into the Global Warming Statement Process in Queensland (Parliamentary Paper No 19, September 2001).
{{Cite act}}{{Cite act/sandbox}}
Mineral Resources Committee (September 2001). Inquiry into the Global Warming Statement Process in Queensland (Parliamentary Paper No 19). Parliament of Queensland. Mineral Resources Committee (September 2001). Inquiry into the Global Warming Statement Process in Queensland (Parliamentary Paper No 19). Parliament of Queensland.
{{Cite act |at=59 |author=Robert Ross, Attorney-General |date=11 February 2004 |legislature=Senate |series=Parliamentary Debates |title=Commonwealth |type=Parliamentary Paper}}
Second Reading Speech (in Hansard) :
Commonwealth, Parliamentary Debates, Senate, 11 February 2004, 29 (Robert Ross, Attorney-General).
{{Cite act}}{{Cite act/sandbox}}
Robert Ross, Attorney-General (11 February 2004). Commonwealth (Parliamentary Paper). Parliamentary Debates. Senate. 59. Robert Ross, Attorney-General (11 February 2004). Commonwealth (Parliamentary Paper). Parliamentary Debates. Senate. 59.
{{Cite act |at=21 |date=2001 |orig-date=signed 1 August 2000, entered into force 20 December 2000 |series=ATS |title=Agreement between the Government of Australia and the Government of France Providing Nukes}}
Treaty:
Agreement between the Government of Australia and the Government of France Providing Nukes, signed 1 August 2000, [2001] ATS 21 (entered into force 20 December 2000).
{{Cite act}}{{Cite act/sandbox}}
Agreement between the Government of Australia and the Government of France Providing Nukes. ATS. 2001 [signed 1 August 2000, entered into force 20 December 2000]. 21. Agreement between the Government of Australia and the Government of France Providing Nukes. ATS. 2001 [signed 1 August 2000, entered into force 20 December 2000]. 21.

Test1
{{Cite act |access-date=30 March 2015 |article=II |article-type=Annex |date=20 March 2000 |number=2000/13/EC |page=P. 0029 - 0042 |publisher=test |title=The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs |type=Directive |url=http://eur-lex.europa.eu/legal-content/EN/TXT/HTML/?uri=CELEX:32000L0013&from=EN}}

{{Cite act}}

The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs (Directive 2000/13/EC, Annex II). test. 20 March 2000. p. P. 0029 - 0042. Retrieved 30 March 2015. {{cite report}}: |page= has extra text (help)

{{Cite act/sandbox}}

The approximation of the laws of the Member States relating to the labelling, presentation and advertising of foodstuffs (Directive 2000/13/EC, Annex II). test. 20 March 2000. p. P. 0029 - 0042. Retrieved 30 March 2015. {{cite report}}: |page= has extra text (help)

Test2
{{Cite act |access-date=December 21, 2012 |article=1.006 |date=August 30, 1991 |language=Spanish |number=81 |page=page 29–42 |title=[[Autonomous Municipalities Act of 1991]] |url=http://www2.pr.gov/presupuestos/presupuesto2012-2013/PresupuestoRecomendado2013/suppdocs/baselegal/036/036.pdf}}

{{Cite act}}

Autonomous Municipalities Act of 1991 (PDF) (81, 1.006) (in Spanish). August 30, 1991. p. page 29–42. Retrieved December 21, 2012. {{cite report}}: |page= has extra text (help)

{{Cite act/sandbox}}

Autonomous Municipalities Act of 1991 (PDF) (81, 1.006) (in Spanish). August 30, 1991. p. page 29–42. Retrieved December 21, 2012. {{cite report}}: |page= has extra text (help)

Test3
{{Cite act |access-date=December 21, 2012 |date=August 30, 1991 |language=Spanish |number=81 |title=[[Autonomous Municipalities Act of 1991]] |url=http://www2.pr.gov/presupuestos/presupuesto2012-2013/PresupuestoRecomendado2013/suppdocs/baselegal/036/036.pdf}}

{{Cite act}}

Autonomous Municipalities Act of 1991 (PDF) (81) (in Spanish). August 30, 1991. Retrieved December 21, 2012.

{{Cite act/sandbox}}

Autonomous Municipalities Act of 1991 (PDF) (81) (in Spanish). August 30, 1991. Retrieved December 21, 2012.

Test4
{{Cite act |access-date=December 21, 2012 |date=August 30, 1991 |language=Spanish |number=81 |url=http://www2.pr.gov/presupuestos/presupuesto2012-2013/PresupuestoRecomendado2013/suppdocs/baselegal/036/036.pdf}}

{{Cite act}}

81 (PDF) (in Spanish). August 30, 1991. Retrieved December 21, 2012.

{{Cite act/sandbox}}

81 (PDF) (in Spanish). August 30, 1991. Retrieved December 21, 2012.

Test5
{{Cite act |number=81 |publisher=Legislature |url=http://www2.pr.gov/presupuestos/presupuesto2012-2013/PresupuestoRecomendado2013/suppdocs/baselegal/036/036.pdf |year=1991}}

{{Cite act}}

81 (PDF). Legislature. 1991.

{{Cite act/sandbox}}

81 (PDF). Legislature. 1991.

Test6
{{Cite act |article=4 |date=1 September 1600 |language=Finnish |number=410 |title=Kuntalaki |trans-title=The Local Government Act |url=http://www.finlex.fi/fi/laki/ajantasa/2015/20150410}}

{{Cite act}}

Kuntalaki [The Local Government Act] (410, 4) (in Finnish). 1 September 1600.

{{Cite act/sandbox}}

Kuntalaki [The Local Government Act] (410, 4) (in Finnish). 1 September 1600.


MJL Test 1
{{cite law |code=General Statutes of Connecticut |date=June 14, 2018 |language=en |title=Sec. 17b-2. Programs administered by the Department of Social Services |url=https://www.cga.ct.gov/current/pub/chap_319o.htm#sec_17b-2}}

{{cite law}}

Sec. 17b-2. Programs administered by the Department of Social Services. June 14, 2018. {{cite report}}: Unknown parameter |code= ignored (help)

{{cite act/sandbox}}

Sec. 17b-2. Programs administered by the Department of Social Services. June 14, 2018. {{cite report}}: Unknown parameter |code= ignored (help)

{{cite book}}

Sec. 17b-2. Programs administered by the Department of Social Services. June 14, 2018. {{cite book}}: Unknown parameter |code= ignored (help)

{{citation}}

Sec. 17b-2. Programs administered by the Department of Social Services, June 14, 2018 {{citation}}: Unknown parameter |code= ignored (help)

MJL Test 2
{{cite law |date=January 1, 2019 |language=en |title=General Statutes of Connecticut |url=https://www.cga.ct.gov/current/pub/chap_319o.htm}}

{{cite law}}

General Statutes of Connecticut. January 1, 2019.

{{cite act/sandbox}}

General Statutes of Connecticut. January 1, 2019.

{{cite book}}

General Statutes of Connecticut. January 1, 2019.

{{citation}}

General Statutes of Connecticut, January 1, 2019