Template:Legislation: Difference between revisions

From FOIwiki
Jump to navigationJump to search
Try to link to SIs on OPSI site. Also try (fail) to make this more readable.
m Ahem
Line 23: Line 23:
     }}
     }}
   |uksi = {{#switch:{{#expr:{{{Year}}} >= 1987}}
   |uksi = {{#switch:{{#expr:{{{Year}}} >= 1987}}
     |1=* [http://www.opsi.gov.uk/si/si{{{1}}}/Uksi_{{{1}}}{{padleft:{{{2}}}|4}}_en_1.htm Original text on OPSI site]
     |1=* [http://www.opsi.gov.uk/si/si{{{Year}}}/Uksi_{{{Year}}}{{padleft:{{{Number}}}|4}}_en_1.htm Original text on OPSI site]
}}}}{{#if:{{{Legislation ID|}}}|* [[Property:Legislation ID|Legislation ID]]: [[Legislation ID::{{{Legislation ID|}}}]]
}}}}{{#if:{{{Legislation ID|}}}|* [[Property:Legislation ID|Legislation ID]]: [[Legislation ID::{{{Legislation ID|}}}]]
}}}}{{#if:{{{SLD number|}}}|* {{SLD number|{{{SLD number|}}}}}
}}}}{{#if:{{{SLD number|}}}|* {{SLD number|{{{SLD number|}}}}}

Revision as of 19:08, 7 May 2010

This is the "Legislation" template. It's intended to be put in a page describing a piece of legislation. It should be called in the following format:

{{Legislation
|Type=ukpga|uksi|...
|Year=
|Number=
|Short title=
|SLD number=
}}