Jump to content

Template:Cite legislation UK: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
No edit summary
No edit summary
Line 3: Line 3:
|website=[[legislation.gov.uk]]
|website=[[legislation.gov.uk]]
|id={{#switch:{{{type|act}}}| act= {{{year|1978}}} c. {{{chapter|30}}} | si = SI {{{year|1948}}}/{{{number|1}}}}} {{#if: {{{section|}}} | {{sp}}(s. {{{section}}})}}{{#if: {{{schedule|}}} | (sch.{{#ifeq:{{{schedule|}}}|0||{{sp}}{{{schedule}}})}}}}
|id={{#switch:{{{type|act}}}| act= {{{year|1978}}} c. {{{chapter|30}}} | si = SI {{{year|1948}}}/{{{number|1}}}}} {{#if: {{{section|}}} | {{sp}}(s. {{{section}}})}}{{#if: {{{schedule|}}} | (sch.{{#ifeq:{{{schedule|}}}|0||{{sp}}{{{schedule}}})}}}}
|title={{#switch:{{{type|act}}}| act= {{{act|Interpretation Act 1978}}} | si = {{{si|The Statutory Instruments Regulations 1947}}}}}{{#if: {{{section|}}} | : Section {{{section}}}}}{{#if: {{{schedule|}}} | : Schedule {{#ifeq:{{{schedule|}}}|0||{{{schedule|}}}}}}}
|title={{#switch:{{{type|act}}}| act= {{{act|Interpretation Act 1978}}} | si = {{{si|The Statutory Instruments Regulations 1947}}}}}{{#if: {{{section|}}} | {{colon}} Section {{{section}}}}}{{#if: {{{schedule|}}} | {{colon}} Schedule {{#ifeq:{{{schedule|}}}|0||{{{schedule|}}}}}}}
|url=http://legislation.gov.uk/{{#switch:{{{type|act}}}| act= ukpga/{{{year|1978}}}/{{{chapter|30}}}{{#if: {{{section|}}} | /section/{{{section}}}}} | si = uksi/{{{year|1948}}}/{{{number|1}}}{{#if: {{{section|}}} | /section/{{{section}}}}}}}{{#if: {{{schedule|}}} | /schedule/{{#ifeq:{{{schedule|}}}|0||{{{schedule|}}}}}}}
|url=http://legislation.gov.uk/{{#switch:{{{type|act}}}| act= ukpga/{{{year|1978}}}/{{{chapter|30}}}{{#if: {{{section|}}} | /section/{{{section}}}}} | si = uksi/{{{year|1948}}}/{{{number|1}}}{{#if: {{{section|}}} | /section/{{{section}}}}}}}{{#if: {{{schedule|}}} | /schedule/{{#ifeq:{{{schedule|}}}|0||{{{schedule|}}}}}}}
|accessdate={{{accessdate|}}}
|accessdate={{{accessdate|}}}

Revision as of 07:48, 12 September 2019

Cite UK Acts of parliament, and UK statutory instruments

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
Typetype

'act' for Act or 'si' for Statutory Instrument

Default
act
Example
act
Unknownsuggested
YearYear

The year of the Act or SI

Example
1978
Dateoptional
Chapterchapter

The chapter number of the act

Example
30
Numbersuggested
Numbernumber

The number of the SI

Example
1
Numbersuggested
Nameact

The full name of the Act

Example
Interpretation Act 1978
Stringoptional
SI namesi

The full name of the SI

Example
The Statutory Instrument Regulations 1947
Stringoptional
Sectionsection

The section number, if you would like to cite a particular section

Numberoptional
Scheduleschedule

The Schedule number, if you would like to cite a specific schedule; for acts with a single schedule, use '0'

Numberoptional
Access Dateaccessdate

The date that legislation.gov.uk was accessed

Dateoptional
Datedate

The date the act was given Royal Assent or the SI was made

Example
20 July 1978
Dateoptional