Template:Legislation: Difference between revisions

From FOIwiki
Jump to navigationJump to search
Link to NIAs, and correctly to older ASPs
typo
Line 34: Line 34:
* [http://www.opsi.gov.uk/RevisedStatutes/Acts/asp/{{{Year}}}/casp_{{{Year}}}{{padleft:{{{Number}}}|4}}_en_1 Revised text on OPSI site]
* [http://www.opsi.gov.uk/RevisedStatutes/Acts/asp/{{{Year}}}/casp_{{{Year}}}{{padleft:{{{Number}}}|4}}_en_1 Revised text on OPSI site]
   |nia =
   |nia =
* [http://www.opsi.gov.uk/legislation/northernireland/acts/acts{{{Year}}}/#ifexpr:{{{Year}}} >= 2007|nia_{{{Year}}}{{padleft:{{{Number}}}|4}}_en_1|{{{Year}}}{{padleft:{{{Number}}}|4}}.htm}} Original text on OPSI site]
* [http://www.opsi.gov.uk/legislation/northernireland/acts/acts{{{Year}}}/{{#ifexpr:{{{Year}}} >= 2007|nia_{{{Year}}}{{padleft:{{{Number}}}|4}}_en_1|{{{Year}}}{{padleft:{{{Number}}}|4}}.htm}} Original text on OPSI site]
* [http://www.opsi.gov.uk/RevisedStatutes/Acts/ania/{{{Year}}}/cania_{{{Year}}}{{padleft:{{{Number}}}|4}}_en_1 Revised text on OPSI site]
* [http://www.opsi.gov.uk/RevisedStatutes/Acts/ania/{{{Year}}}/cania_{{{Year}}}{{padleft:{{{Number}}}|4}}_en_1 Revised text on OPSI site]
   |ssi = * [http://www.opsi.gov.uk/legislation/scotland/ssi{{{Year}}}/{{#ifexpr:{{{Year}}} >= 2007|ssi_{{{Year}}}{{padleft:{{{Number}}}|4}}_en_1|{{{Year}}}{{padleft:{{{Number}}}|4}}.htm}} Original text on OPSI site]
   |ssi = * [http://www.opsi.gov.uk/legislation/scotland/ssi{{{Year}}}/{{#ifexpr:{{{Year}}} >= 2007|ssi_{{{Year}}}{{padleft:{{{Number}}}|4}}_en_1|{{{Year}}}{{padleft:{{{Number}}}|4}}.htm}} Original text on OPSI site]

Revision as of 20:21, 10 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}}}