Template:Legislation: Difference between revisions
From FOIwiki
Jump to navigationJump to search
No need to support {{{Legislation ID}}}; can safely assume {{{Type}}}. |
ASP support |
||
Line 24: | Line 24: | ||
|1=* [http://www.opsi.gov.uk/RevisedStatutes/Acts/ukpga/{{{Year}}}/cukpga_{{{Year}}}{{padleft:{{{Number}}}|4}}_en_1 Revised text on OPSI site] | |1=* [http://www.opsi.gov.uk/RevisedStatutes/Acts/ukpga/{{{Year}}}/cukpga_{{{Year}}}{{padleft:{{{Number}}}|4}}_en_1 Revised text on OPSI site] | ||
}} | }} | ||
|asp = | |||
* [http://www.opsi.gov.uk/legislation/scotland/acts{{{Year}}}/asp_{{{Year}}}{{padleft:{{{Number}}}|4}}_en_1 Revised text on OPSI site] | |||
|uksi = | |uksi = | ||
{{#switch:{{#expr:{{{Year}}} >= 1987}} | {{#switch:{{#expr:{{{Year}}} >= 1987}} | ||
Line 36: | Line 38: | ||
|ukpga=[[Category:Public General Acts of the UK Parliament]] | |ukpga=[[Category:Public General Acts of the UK Parliament]] | ||
|ukla=[[Category:Local Acts of the UK Parliament]] | |ukla=[[Category:Local Acts of the UK Parliament]] | ||
|asp=[[Category:Acts of the Scottish Parliament]] | |||
|uksi=[[Category:UK Statutory Instruments]] | |uksi=[[Category:UK Statutory Instruments]] | ||
|ssi=[[Category:Scottish Statutory Instruments]] | |ssi=[[Category:Scottish Statutory Instruments]] | ||
|wsi=[[Category:Welsh Statutory Instruments]] | |wsi=[[Category:Welsh Statutory Instruments]] | ||
|#default=[[Category:Legislation]]}}</includeonly> | |#default=[[Category:Legislation]]}}</includeonly> |
Revision as of 23:07, 8 May 2010
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}}}