Template:Nisr: Difference between revisions

From FOIwiki
Jump to navigationJump to search
moved Template:Nisr to Template:Nisr fallback: Make way for a new version of the template.
 
No edit summary
 
Line 1: Line 1:
#REDIRECT [[Template:Nisr fallback]]
<noinclude>
This template is used to make a reference to a Northern Ireland Statutory Rule.  It takes two arguments: the first is the year of the SR, 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>nisr/''year''/''chapter''</code>.
 
<code><nowiki>{{nisr|2007|354}}</nowiki></code> &rarr; {{nisr|2007|354}}
 
<code><nowiki>{{nisr|2007|354|Pigs!}}</nowiki></code> &rarr; {{nisr|2007|354|Pigs!}}
 
</noinclude>{{Legislation link|nisr|{{{1}}}|{{{2}}}|{{{3|}}}}}

Latest revision as of 18:26, 9 May 2010

This template is used to make a reference to a Northern Ireland Statutory Rule. It takes two arguments: the first is the year of the SR, 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 nisr/year/chapter.

{{nisr|2007|354}}SR 2007/354

{{nisr|2007|354|Pigs!}}Pigs!

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