Template:Legislation: Difference between revisions
From FOIwiki
Jump to navigationJump to search
Alex skene (talk | contribs) No edit summary |
Describe legislation.gov.uk links better |
||
Line 20: | Line 20: | ||
|wsi|nisi = * [[Property:Legislation ID|Legislation ID]]: [[Legislation ID::uksi/{{{Year}}}/{{{Number}}}]] [[Legislation type::uksi| ]] | |wsi|nisi = * [[Property:Legislation ID|Legislation ID]]: [[Legislation ID::uksi/{{{Year}}}/{{{Number}}}]] [[Legislation type::uksi| ]] | ||
}} | }} | ||
{{#switch:{{{Type}}} | |||
|ukpga|ukla|asp|nisi|nia|apni = [http://www.legislation.gov.uk/{{{Type}}}/{{{Year}}}/{{{Number}}}/contents contents]; [http://www.legislation.gov.uk/{{{Type}}}/{{{Year}}}/{{{Number}}} full text] | |ukpga|ukla|asp|nisi|nia|apni = * Revised text on legislation.gov.uk: | ||
|uksi|wsi|ssi|nisr = [http://www.legislation.gov.uk/{{{Type}}}/{{{Year}}}/{{{Number}}}/contents/made contents]; [http://www.legislation.gov.uk/{{{Type}}}/{{{Year}}}/{{{Number}}}/made full text]}} | [http://www.legislation.gov.uk/{{{Type}}}/{{{Year}}}/{{{Number}}}/contents contents]; [http://www.legislation.gov.uk/{{{Type}}}/{{{Year}}}/{{{Number}}} full text] | ||
|uksi|wsi|ssi|nisr = * Original text on legislation.gov.uk: [http://www.legislation.gov.uk/{{{Type}}}/{{{Year}}}/{{{Number}}}/contents/made contents]; [http://www.legislation.gov.uk/{{{Type}}}/{{{Year}}}/{{{Number}}}/made full text]}} | |||
{{#switch:{{{Type}}} | {{#switch:{{{Type}}} | ||
|ukpga = | |ukpga = |
Revision as of 15:52, 11 November 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}}}