Template:Legislation: Difference between revisions
From FOIwiki
Jump to navigationJump to search
(Allow for specifying type, year, and number separately) |
(Is this better?) |
||
Line 13: | Line 13: | ||
</noinclude>* [[Property:Short title|Short title]]: [[Short title::{{{Short title|}}}]] | </noinclude>* [[Property:Short title|Short title]]: [[Short title::{{{Short title|}}}]] | ||
{{#if:{{{Type}}} | {{#if:{{{Type|}}} | ||
|* [[Property:Legislation ID|Legislation ID]]: [[Legislation ID::{{{Type}}}/{{{Year}}}/{{{Number}}}]] | |* [[Property:Legislation ID|Legislation ID]]: [[Legislation ID::{{{Type}}}/{{{Year}}}/{{{Number}}}]] | ||
}}{{#if:{{{Legislation ID}}}|* [[Property:Legislation ID|Legislation ID]]: [[Legislation ID::{{{Legislation ID|}}}]] | }}{{#if:{{{Legislation ID|}}}|* [[Property:Legislation ID|Legislation ID]]: [[Legislation ID::{{{Legislation ID|}}}]] | ||
}}{{#if:{{{SLD number}}}|* {{SLD number|{{{SLD number|}}}}} | }}{{#if:{{{SLD number}}}|* {{SLD number|{{{SLD number|}}}}} | ||
}}<includeonly>[[Category:Legislation]]</includeonly> | }}<includeonly>[[Category:Legislation]]</includeonly> |
Revision as of 17:01, 7 May 2010
This is the "Legislation" template. It's intended to be put in a page describing a piece of legislation. It should be called in the following format:
{{Legislation |Type=ukpga|uksi|... |Year= |Number= |Short title= |SLD number= }}