Template:Ssi: Difference between revisions

From FOIwiki
Jump to navigationJump to search
(moved Template:Ssi to Template:Ssi fallback: Making way for new ssi template)
 
No edit summary
Line 1: Line 1:
#REDIRECT [[Template:Ssi fallback]]
<noinclude>
This template is used to make a reference to a Scottish 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>ssi/''year''/''chapter''</code>.
 
<code><nowiki>{{ssi|2004|520}}</nowiki></code> &rarr; {{wsi|2004|520}}
 
<code><nowiki>{{ssi|2004|520|EI(S)R 2004}}</nowiki></code> &rarr; {{ssi|2004|520|EI(S)R 2004}}
 
</noinclude>{{Legislation link|ssi|{{{1}}}|{{{2}}}|{{{3|}}}}}

Revision as of 17:52, 9 May 2010

This template is used to make a reference to a Scottish 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 ssi/year/chapter.

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

{{ssi|2004|520|EI(S)R 2004}}EI(S)R 2004

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