Template:Ssi: Difference between revisions
From FOIwiki
Jump to navigationJump to search
No edit summary |
m Reverted edits by 200.145.44.3 (talk) to last revision by Bjh21 |
||
(2 intermediate revisions by 2 users not shown) | |||
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> → {{ | <code><nowiki>{{ssi|2004|520}}</nowiki></code> → {{ssi|2004|520}} | ||
<code><nowiki>{{ssi|2004|520|EI(S)R 2004}}</nowiki></code> → {{ssi|2004|520|EI(S)R 2004}} | <code><nowiki>{{ssi|2004|520|EI(S)R 2004}}</nowiki></code> → {{ssi|2004|520|EI(S)R 2004}} | ||
</noinclude>{{Legislation link|ssi|{{{1}}}|{{{2}}}|{{{3|}}}}} | </noinclude>{{Legislation link|ssi|{{{1}}}|{{{2}}}|{{{3|}}}}} |
Latest revision as of 21:21, 21 July 2011
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}}}}})