Template:Uksi fallback: Difference between revisions

From FOIwiki
Jump to navigationJump to search
(Experimentally use #if to allow us to use this template for SIs not on SLD)
(Finally switch to using legislation.gov.uk for fallback on SIs.)
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#if:{{SLDnum/uksi/{{{1}}}/{{{2}}}}}|{{SLDlink|SI {{{1}}}/{{{2}}}|{{SLDnum/uksi/{{{1}}}/{{{2}}}}}}}|SI {{{1}}}/{{{2}}}}}
{{#switch:1
|{{#expr:{{{1}}} < 1987}} = SI {{{1}}}/{{{2}}}
|#default = [http://www.legislation.gov.uk/id/uksi/{{{1}}}/{{{2}}} SI {{{1}}}/{{{2}}}]}}

Latest revision as of 19:45, 1 August 2015