Template:Legislation: Difference between revisions
From FOIwiki
Jump to navigationJump to search
legislation.gov.uk complete for NISRs only from 1996 onward |
Start date for full UKSI collection on legislation.gov.uk |
||
Line 22: | Line 22: | ||
|ukpga|asp|nisi|nia|apni = {{legislation.gov.uk revised|{{{Type}}}/{{{Year}}}/{{{Number}}}}} | |ukpga|asp|nisi|nia|apni = {{legislation.gov.uk revised|{{{Type}}}/{{{Year}}}/{{{Number}}}}} | ||
|ukla = {{#iferror:{{#ifexpr:{{{Year}}} >= 1991|{{legislation.gov.uk revised|{{{Type}}}/{{{Year}}}/{{{Number}}}}} | |ukla = {{#iferror:{{#ifexpr:{{{Year}}} >= 1991|{{legislation.gov.uk revised|{{{Type}}}/{{{Year}}}/{{{Number}}}}} | ||
}}}}|uksi|wsi|ssi = {{legislation.gov.uk original|{{{Type}}}/{{{Year}}}/{{{Number}}}}} | }}}}|uksi|wsi|ssi = {{#ifexpr:{{{Year}}} >= 1987|{{legislation.gov.uk original|{{{Type}}}/{{{Year}}}/{{{Number}}}}} | ||
}} |nisr ={{#ifexpr:{{{Year}}} >= 1996|{{legislation.gov.uk original|{{{Type}}}/{{{Year}}}/{{{Number}}} | |||
}}}} | }}}} | ||
}}{{#if:{{{SLD number|}}}|* {{SLD number|{{{SLD number|}}}}} | }}{{#if:{{{SLD number|}}}|* {{SLD number|{{{SLD number|}}}}} |
Revision as of 14:11, 8 January 2011
This is the "Legislation" template. It's intended to be put in a page describing a piece of legislation. It puts the page in one of the categories under Category:Legislation. It should be called in the following format:
{{Legislation |Type=ukpga|uksi|wsi|... |Year= |Number= |Short title= |SLD number= }}
- To link to this legislation, try
{{{{{Type}}}|{{{Year}}}|{{{Number}}}}}
. - Short title:
- Legislation ID: {{{Type}}}/{{{Year}}}/{{{Number}}}