Difference between revisions of "Template:Ssi"

From FOIwiki
Jump to navigationJump to search
m (typo)
Line 2: Line 2:
 
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>.
 
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}}</nowiki></code> &rarr; {{ssi|2004|520}}
  
 
<code><nowiki>{{ssi|2004|520|EI(S)R 2004}}</nowiki></code> &rarr; {{ssi|2004|520|EI(S)R 2004}}
 
<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|}}}}}
 
</noinclude>{{Legislation link|ssi|{{{1}}}|{{{2}}}|{{{3|}}}}}

Revision as of 15:53, 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}}SSI 2004/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}}}}})