Template:Legislation link: Difference between revisions

From FOIwiki
Jump to navigationJump to search
m (typo)
(unhelpful space)
Line 6: Line 6:
-->
-->
</noinclude>{{#ask:[[Legislation ID::{{{1}}}/{{{2}}}/{{{3}}}]]
</noinclude>{{#ask:[[Legislation ID::{{{1}}}/{{{2}}}/{{{3}}}]]
|?category:void#,{{{4|}}}|default={{#if:{{{4|}}}|{{{4}}}|{{ {{{1}}} fallback|{{{2}}}|{{{3}}} }} }}<sup>({{#formlink:form=Legislation|link text=add|query string=Legislation[Type]={{{1}}}&Legislation[Year]={{{2}}}&Legislation[Number]={{{3}}}}})</sup>
|?category:void#,{{{4|}}}|default={{#if:{{{4|}}}|{{{4}}}|{{ {{{1}}} fallback|{{{2}}}|{{{3}}}}} }}<sup>({{#formlink:form=Legislation|link text=add|query string=Legislation[Type]={{{1}}}&Legislation[Year]={{{2}}}&Legislation[Number]={{{3}}}}})</sup>
|link=none|format=template|template={{{1}}} format}}
|link=none|format=template|template={{{1}}} format}}

Revision as of 13:44, 24 September 2010

This template is used to make a reference to a piece of legislation. It is called internally by templates like Template:uksi, Template:ukpga, etc.

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