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
 
Better terminology
 
(5 intermediate revisions by the same user not shown)
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 SI, and the second is its number.  An optional third argument gives the link text.  It requires there to be a page somewhere in FOIwiki which has a [[Property:Legislation ID|Legislation ID]] property of <code>uksi/''year''/''chapter''</code>.
 
<code><nowiki>{{uksi|2004|3391}}</nowiki></code> &rarr; {{uksi|2004|3391}}
 
<code><nowiki>{{uksi|2004|3391|EIR 2004}}</nowiki></code> &rarr; {{uksi|2004|3391|EIR 2004}}
 
</noinclude>{{Legislation link|uksi|{{{1}}}|{{{2}}}|{{{3|}}}}}

Latest revision as of 17:45, 9 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 SI, and the second is its number. An optional third argument gives the link text. It requires there to be a page somewhere in FOIwiki which has a Legislation ID property of uksi/year/chapter.

{{uksi|2004|3391}}SI 2004/3391

{{uksi|2004|3391|EIR 2004}}EIR 2004

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