Template:Legislation: Difference between revisions

From FOIwiki
Jump to navigationJump to search
m *sigh*
Categories for types of legislation
Line 18: Line 18:
}}{{#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>{{case:{{{Type}}}
|ukpga=[[Category:Public General Acts of the UK Parliament]]
|ukla=[[Category:Local Acts of the UK Parliament]]
|uksi=[[Category:UK Statutory Instruments]]
|ssi=[[Category:Scottish Statutory Instruments]]
|default=[[Category:Legislation]]}}</includeonly>

Revision as of 17:09, 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=
}}