Template:Legislation: Difference between revisions
From FOIwiki
Jump to navigationJump to search
Create separate properties for the bits of legislation ID |
Items of type "wsi" should also have type "uksi" |
||
Line 16: | Line 16: | ||
* [[Property:Short title|Short title]]: [[Short title::{{{Short title|}}}]] | * [[Property:Short title|Short title]]: [[Short title::{{{Short title|}}}]] | ||
* [[Property:Legislation ID|Legislation ID]]: [[Legislation ID::{{{Type}}}/{{{Year}}}/{{{Number}}}]] [[Legislation type::{{{Type}}}| ]] [[Legislation year::{{{Year}}}| ]] [[Legislation number::{{{Number}}}| ]] | * [[Property:Legislation ID|Legislation ID]]: [[Legislation ID::{{{Type}}}/{{{Year}}}/{{{Number}}}]] [[Legislation type::{{{Type}}}| ]] [[Legislation year::{{{Year}}}| ]] [[Legislation number::{{{Number}}}| ]] | ||
{{#switch:{{{Type}}} | |||
<!-- Welsh and Northern Ireland SIs are UK SIs too. --> | |||
|wsi|nisi = * [[Property:Legislation ID|Legislation ID]]: [[Legislation ID::uksi/{{{Year}}}/{{{Number}}}]] [[Legislation type::uksi| ]] | |||
}} | |||
{{#switch:{{{Type}}} | {{#switch:{{{Type}}} | ||
|ukpga = | |ukpga = |
Revision as of 15:38, 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}}}