Template:Ukpga: Difference between revisions

From FOIwiki
Jump to navigationJump to search
(Indirect via another template <fx: crosses fingers>)
(Try making a magic link for adding a new Act)
Line 3: Line 3:


</noinclude>{{#ask:[[Legislation ID::ukpga/{{{1}}}/{{{2}}}]]
</noinclude>{{#ask:[[Legislation ID::ukpga/{{{1}}}/{{{2}}}]]
|default={{{1}}} c. {{{2}}}
|default={{{1}}} c. {{{2}}}<sup>{{#formlink:form=Dull legislation|link text=add|query string=Dull legislation[Legislation ID]=ukpga/{{{1}}}/{{{2}}}}}</sup>
|link=none|format=template|template=ukpga format}}
|link=none|format=template|template=ukpga format}}

Revision as of 01:03, 7 May 2010

This template is used to make a reference to a public general Act of the UK Parliament. It takes two arguments: the first is the year of the Act, and the second is its chapter number. It requires there to be a page somewhere in FOIwiki which has a Legislation ID property of ukpga/year/chapter.

{{{1}}} c. {{{2}}}{{#formlink:form=Dull legislation|link text=add|query string=Dull legislation[Legislation ID]=ukpga/{{{1}}}/{{{2}}}}}