Template:Cite legislation UK/testcases


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.

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}}

"The Statutory Instruments Regulations 1947", legislation.gov.uk, The National Archives, SI 1948/1

{{Cite legislation UK/sandbox|type=si|brief=yes}}

"The Statutory Instruments Regulations 1947", legislation.gov.uk, The National Archives, SI 1948/1

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

{{Cite_legislation_UK}}

"Interpretation Act 1978", legislation.gov.uk, The National Archives, 1978 c. 30