Template:Legislation: Difference between revisions

From FOIwiki
Jump to navigationJump to search
(nisr support)
m (typo)
Line 42: Line 42:
     }}
     }}
   |nisr =
   |nisr =
     {{#switch:{{#expr:{{{Year >= 1991}}
     {{#switch:{{#expr:{{{Year}}} >= 1991}}
       |1=* [http://www.opsi.gov.uk/sr/sr{{{Year}}}/nisr_{{{Year}}}{{padleft:{{{Number}}}|4}}_en_1 Original text on OPSI site]
       |1=* [http://www.opsi.gov.uk/sr/sr{{{Year}}}/nisr_{{{Year}}}{{padleft:{{{Number}}}|4}}_en_1 Original text on OPSI site]
     }}
     }}

Revision as of 18:40, 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}}}