Template:Uksi: Difference between revisions

From FOIwiki
Jump to navigationJump to search
(new uksi template)
m (typo)
Line 2: Line 2:
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>.
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>}}
</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:33, 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}}}}})