Template:Uksi: Difference between revisions

From FOIwiki
Jump to navigationJump to search
(moved Template:Uksi to Template:Uksi fallback: Want to introduce a new Template:Uksi that works like Template:Ukpga)
 
(new uksi template)
Line 1: Line 1:
#REDIRECT [[Template:Uksi fallback]]
<noinclude>
This template is used to make a reference to a UK Statutory Instrument.  It takes two arguments: the first is the year of the Act, and the second is its chapter number.  It requires there to be a page somewhere in FOIwiki which has a [[Property:Legislation ID|Legislation ID]] property of <tt>uksi/''year''/''chapter''</tt>.
 
</noinclude>{{#if:{{#ask:[[Legislation ID::uksi/{{{1}}}/{{{2}}}]]}}|[[{{#ask:[[Legislation ID::uksi/{{{1}}}/{{{2}}}]]|link=none}} SI {{{1}}}/{{{2}}}]]|{{uksi fallback|{{{1}}}|{{{2}}}}}<sup>({{#formlink:form=Legislation|link text=add|query string=Legislation[Type]=uksi&Legislation[Year]={{{1}}}&Legislation[Number]={{{2}}}}})</sup>}}

Revision as of 20:26, 7 May 2010

This template is used to make a reference to a UK Statutory Instrument. It takes two arguments: the first is the year of the Act, and the second is its chapter number. It requires there to be a page somewhere in FOIwiki which has a Legislation ID property of uksi/year/chapter.

SI {{{1}}}/{{{2}}}({{#formlink:form=Legislation|link text=add|query string=Legislation[Type]=uksi&Legislation[Year]={{{1}}}&Legislation[Number]={{{2}}}}})