Template:Legislation: Difference between revisions
From FOIwiki
Jump to navigationJump to search
Try adding a newline to fix formatting |
Don't try to link to OPSI at all for regnal years (yet) |
||
Line 18: | Line 18: | ||
|1=* [http://www.opsi.gov.uk/acts/acts{{{Year}}}/{{{Type}}}_{{{Year}}}{{padleft:{{{Number}}}|4}}_en_1 Original text on OPSI site] | |1=* [http://www.opsi.gov.uk/acts/acts{{{Year}}}/{{{Type}}}_{{{Year}}}{{padleft:{{{Number}}}|4}}_en_1 Original text on OPSI site] | ||
}} | }} | ||
* [http://www.opsi.gov.uk/RevisedStatutes/Acts/ukpga/{{{Year}}}/cukpga_{{{Year}}}{{padleft:{{{Number}}}|4}}_en_1 Revised text on OPSI site] | {{#switch:{{#expr:{{{Year}}} >= 1963}} | ||
}}{{#if:{{{Legislation ID|}}}|* [[Property:Legislation ID|Legislation ID]]: [[Legislation ID::{{{Legislation ID|}}}]] | |1=* [http://www.opsi.gov.uk/RevisedStatutes/Acts/ukpga/{{{Year}}}/cukpga_{{{Year}}}{{padleft:{{{Number}}}|4}}_en_1 Revised text on OPSI site] | ||
}}}}{{#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|}}}}} | ||
}}<includeonly>{{#switch:{{{Type}}} | }}<includeonly>{{#switch:{{{Type}}} |
Revision as of 17:56, 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= }}