A template to cite UK primary and secondary legislation, as provided by [legislation.gov.uk].

{{Cite legislation UK |type=act |year= |chapter= |act= |section= |date= |accessdate= }}

The template defaults to the Interpretation Act 1978:

"Interpretation Act 1978", en:legislation.gov.uk, राष्ट्रीय ग्रंथागार (यूके), 1978 c. 30
{{Cite legislation UK |type=si |year= |number= |si= |section= |date= |accessdate= }}

The template defaults to the Statutory Instruments Regulations 1947:

"The Statutory Instruments Regulations 1947", en:legislation.gov.uk, राष्ट्रीय ग्रंथागार (यूके), SI 1948/1

More to come.