Template:Cite legislation UK/testcases
This is the template test cases page for the sandbox of Template:Cite legislation UK. to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki; see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins and parsers with these links: |
Standards
[edit]The Oxford Standard for Citation of Legal Authorities, 4th edn, lists the following examples of standardised format for citation of UK legislation. The template should output these results verbatim.
- primary legislation:
- in-text:
- UK-wide:
- Food Standards Act 1999, c. 28
- Act of Supremacy 1558 (note it's been repealed almost entirely, and legislation.gov.uk doesn't actually have any of the content except the incipit and s VIII, nor does the archives collection (which has Henry VIII's 1534 Act of Supremacy); however, Hanover U. has a copy of a bill for this Act, differing in both the incipit and use of modern English, but matching s VIII at its page 447 para 2)
- Shipping and Trading Interests (Protection) Act 1995
- Section 7(1) of the Nuclear Installations Act 1965 (note subsection anchor in URL)
- Nuclear Installations Act 1965, s 7(1)
- section 5(1)(a) of the Race Relations Act 1976 (note the need for modified URL, since this was repealed in 2011;
/enacted
cites original) - the Race Relations Act 1976, s 5(1)(a) (note this URL links to the 1 Oct. 2003 revision, not 1976 original revision; OSCOLA doesn't provide a format for indicating this)
- section 11(1A) of the Limitation Act 1980 (as revised) (note that sections may be alphanumeric; 11(1A) was inserted between 11(1) & 11(2) in 1997)
- England
- part of a multi-jurisdiction Act:
- Water Resources Act 1991 (UK) (note URL is to full text (not table of contents), and
?view=extent
is needed to show the jurisdiction annotations; there doesn't appear to be a filter to show only a specific jurisdiction)
- Water Resources Act 1991 (UK) (note URL is to full text (not table of contents), and
- old Acts; e.g. royal assent given in 41st year of the reign of George III, chapter 90 (90th Act passed that session):
- part of a multi-jurisdiction Act:
- Northern Ireland:
- made in NI:
- post 1998:
- Presumption of Death Act (Northern Ireland) 2009 (note
nia
in URL)
- Presumption of Death Act (Northern Ireland) 2009 (note
- pre 1998 (by former Parliament of Northern Ireland):
- Poultry Improvement Act (NI) 1968 (note
apni
in URL, and title on website uses(Northern Ireland)
, contrary to OSCOLA's specific contrast that this should be written(NI)
instead)
- Poultry Improvement Act (NI) 1968 (note
- post 1998:
- made in NI:
- Scotland:
- made in Scotland (Acts of the Scottish Parliament):
- Crofting Reform etc Act 2007 (asp 7) (note
asp
in URL)
- Crofting Reform etc Act 2007 (asp 7) (note
- made in Scotland (Acts of the Scottish Parliament):
- Wales:
- made by Wesh Assembly, National Assembly of Wales Measure (nawm (English) or mccc (Welsh)):
- Learner Travel (Wales) Measure 2008 (nawm 2) (note
mwa
in URL) - Mesur Teithio gan Ddysgwyr (Cymru) 2008 (mccc 2) (note
/welsh
in URL to get Welsh version, and only the original is available in Welsh; latest revised is only in English)
- Learner Travel (Wales) Measure 2008 (nawm 2) (note
- made by Wesh Assembly, National Assembly of Wales Measure (nawm (English) or mccc (Welsh)):
- UK-wide:
- explanatory notes:
- Explanatory Notes to the Charities Act 2006, para 15 (note
notes
in URL to get notes, and URL numbering/division/4/1/12
is not predictable; this is 4th heading (first 3 are introduction, summary, & background); 1st section (commentary); 12th paragraph (s 1-3 & s 6-7 got one paragraph each))
- Explanatory Notes to the Charities Act 2006, para 15 (note
- footnote (put a . after the cite):
- plain:
- Consumer Protection Act 1987, s 2.
- Human Rights Act 1998, s 2.
- Human Rights Act 1998, s 15(1)(b). (note subsection anchor)
- Criminal Attempts Act 1981, ss 1(1) and 4(3). (note separate links needed for multiple pincites)
- Sexual Offences Act 2003, s 1(1)(c).
- with short reference for later use:
- Nuclear Installations Act 1965 (NIA 1965) s 7(1). (note OSCOLA omits the comma before section here; probably an error on their part, as it's inconsistent with all the other examples)
- subsequent reference:
- plain:
- abbreviations (full form in first use main body; short form subsequent & footnotes):
- part/parts: pt/pts
- section/sections: s/ss
- subsection/subsections: sub-s/sub-ss
- paragraph/paragraphs: para/paras
- subparagraph/subparagraphs: subpara/subparas
- schedule/schedules: sch/schs
- not in OSCOLA:
- Act of Supremacy 1558 (1 Eliz 1 c 1) (full citation form of Act cited by OSCOLA without regnal parenthetical)
- Representation of the People Act 1983, ss 60–66B (OSCOLA doesn't specify how to cite a crossheading, but ss 60–66B is the full range for the pt 1 crossheading Offences, not just an arbitrary range of sections)
- The Misuse of Drugs Act 1971, sch 2, pt III (note
/schedule
in URL, and/part/III
in Roman numerals; OSCOLA doesn't give an example of citing a subpart, e.g. whether to use a comma or Roman numerals)
- in-text:
- secondary legislation:
- in-text:
- England & UK-wide
- modern (SI identifier is "SI (year)/(serial #)"):
- Food Safety and Hygiene (England) Regulations 2013 (SI 2013/2996) (note OSCOLA doesn't specify whether to use . in footnotes for SIs, and OSCOLA omits the "The" that's in the title)
- Penalties for Disorderly Behaviour (Amendment of Minimum Age) Order 2004, SI 2004/3166
- Eggs and Chicks (England) Regulations 2009, SI 2009/2163, reg 7(2) (note legislation.gov.uk is missing a subsection anchor for
regulation-7-2
but hasregulation-7
andregulation-7-2-a
; this is probably an unpredictable error on their part)
- older ("statutory rules and orders"):
- Hollow-ware and Galvanising Welfare Order 1921, SR & O 1921/2032 (note legislation.gov.uk doesn't seem to have this at all, just a reference to it in a superseding SI)
- modern (SI identifier is "SI (year)/(serial #)"):
- Wales
- made at Westminster:
- The Learner Travel (Wales) Measure 2008 (Commencement No 2) Order, SI 2009/2819 (W 245) (note
wsi
in URL, omission ofW 245
in URL (though it's in the page's subtitle), and/made
rather than/enacted
for original, though SIs are usually only available in an original, since new ones are typically written to revoke-and-supersede, rather than to amend, even when it's a minor change; e.g. Gender Recognition (Approved Countries and Territories) Order 2011, SI 2011/1630 changed only couple lines from the GRA (AC&T) Order 2005, SI 2005/874)
- The Learner Travel (Wales) Measure 2008 (Commencement No 2) Order, SI 2009/2819 (W 245) (note
- made in Wales:
- made at Westminster:
- Scotland
- made in Scotland - might be SI or SSI (Scottish Statutory Instrument) (OSCOLA doesn't specify when to use which):
- Breeding of Dogs (Licensing Records) (Scotland) Regulations 1999, SSI 1999/176 (note
ssi
in URL) - Act of Sederunt (Rules of the Court of Session 1994) 1994, SI 1994/1443 (note OSCOLA omits
S. 69
, and this is underuksi
even though it's an Act of Sederunt) - Act of Adjournal (Criminal Appeals) 2003, SSI 2003/387 (note
ssi
notuksi
)
- Breeding of Dogs (Licensing Records) (Scotland) Regulations 1999, SSI 1999/176 (note
- made in Scotland - might be SI or SSI (Scottish Statutory Instrument) (OSCOLA doesn't specify when to use which):
- Northern Ireland
- made in NI (statutory rules, SR):
- The River Bann Navigation Order (Northern Ireland) 2010, SR 2010/126 (note
nisr
in URL)
- The River Bann Navigation Order (Northern Ireland) 2010, SR 2010/126 (note
- made in NI (statutory rules, SR):
- England & UK-wide
- footnote:
- with short reference for later use:
- Unfair Terms in Consumer Contract Regulations 1999 (UTCCR 1999)
- subsequent reference:
- with short reference for later use:
- abbreviations:
- regulation/regulations: reg/regs
- rule/rules: r/rr
- article/articles: art/arts
- not in OSCOLA:
- The Misuse of Drugs Regulations 2001 (SI 2001/3998), sch 3 (example of SI schedule)
- in-text:
Testing sandbox version
[edit]Defaults
[edit]{{Cite legislation UK/sandbox}}
- "Interpretation Act 1978", legislation.gov.uk, The National Archives, 1978 c. 30
{{Cite legislation UK/sandbox|brief=yes}}
- "Interpretation Act 1978", legislation.gov.uk, The National Archives, 1978 c. 30
{{Cite legislation UK/sandbox|type=si}}
{{Cite legislation UK/sandbox|type=si|brief=yes}}
Specific Act
[edit]{{Cite legislation UK/sandbox|year=1835|chapter=50|act=Highway Act 1835}}
- "Highway Act 1835", legislation.gov.uk, The National Archives, 1835 c. 50
{{Cite legislation UK/sandbox|year=1835|chapter=50|act=Highway Act 1835|brief=yes}}
- "Highway Act 1835", legislation.gov.uk, The National Archives, 1835 c. 50
Specific SI
[edit]{{Cite legislation UK/sandbox|type=si|year=2017|number=797|si=The Legal Officers (Annual Fees) Order 2017}}
- "The Legal Officers (Annual Fees) Order 2017", legislation.gov.uk, The National Archives, SI 2017/797
{{Cite legislation UK/sandbox|type=si|year=2017|number=797|si=The Legal Officers (Annual Fees) Order 2017|brief=yes}}
- "The Legal Officers (Annual Fees) Order 2017", legislation.gov.uk, The National Archives, SI 2017/797
SI with different subdivisions
[edit]{{Cite legislation UK/sandbox|type=si|year=2017|number=797|si=The Legal Officers (Annual Fees) Order 2017|article=3}}
- "The Legal Officers (Annual Fees) Order 2017: Article 3", legislation.gov.uk, The National Archives, SI 2017/797 (art. 3)
{{Cite legislation UK/sandbox|type=si|year=2002|si=The Traffic Signs Regulations and General Directions 2002|regulation=36}}
- "The Traffic Signs Regulations and General Directions 2002: Regulation 36", legislation.gov.uk, The National Archives, SI 2002/3113 (reg. 36)
{{Cite legislation UK/sandbox|type=si|year=2020|si=The Criminal Procedure Rules 2020|rule=3.16}}
- "The Criminal Procedure Rules 2020: Rule 3.16", legislation.gov.uk, The National Archives, SI 2020/759 (r. 3.16)
Section parameter
[edit]{{Cite legislation UK/sandbox|year=2017|chapter=30|section=3|act=Digital Economy Act 2017}}
- "Digital Economy Act 2017: Section 3", legislation.gov.uk, The National Archives, 2017 c. 30 (s. 3)
{{Cite legislation UK/sandbox|year=2017|chapter=30|section=3|act=Digital Economy Act 2017|brief=yes}}
- "Digital Economy Act 2017: Section 3", legislation.gov.uk, The National Archives, 2017 c. 30 (s. 3)
Access date parameter
[edit]{{Cite legislation UK/sandbox|year=2011|chapter=25|section=10|act=Charities Act 2011|access-date=1 April 2018}}
- "Charities Act 2011: Section 10", legislation.gov.uk, The National Archives, 2011 c. 25 (s. 10), retrieved 1 April 2018
Show chapter parameter
[edit]{{Cite legislation UK/sandbox|year=1994|chapter=30|act=Education Act 1994|access-date=1 April 2018|show-chapter=yes}}
- "Education Act 1994", legislation.gov.uk, The National Archives, 1994 c. 30, retrieved 1 April 2018
{{Cite legislation UK/sandbox|year=1994|chapter=30|act=Education Act 1994|show-chapter=yes}}
- "Education Act 1994", legislation.gov.uk, The National Archives, 1994 c. 30
Testing main template
[edit]"Interpretation Act 1978", legislation.gov.uk, The National Archives, 1978 c. 30