Template:Legislation: Difference between revisions

From FOIwiki
Jump to navigationJump to search
(ASP support)
(Fix links for asps)
Line 25: Line 25:
     }}
     }}
   |asp =
   |asp =
     * [http://www.opsi.gov.uk/legislation/scotland/acts{{{Year}}}/asp_{{{Year}}}{{padleft:{{{Number}}}|4}}_en_1 Revised text on OPSI site]
     * [http://www.opsi.gov.uk/legislation/scotland/acts{{{Year}}}/asp_{{{Year}}}{{padleft:{{{Number}}}|4}}_en_1 Original 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]
   |uksi =
   |uksi =
     {{#switch:{{#expr:{{{Year}}} >= 1987}}
     {{#switch:{{#expr:{{{Year}}} >= 1987}}

Revision as of 00:12, 9 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}}}