Template:Ukpga: Difference between revisions

From FOIwiki
Jump to navigationJump to search
(Documentation!)
(Better doc)
Line 1: Line 1:
<noinclude>
<noinclude>
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.
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 [[Property:Legislation ID|Legislation ID]] property of <tt>ukpga/''year''/''chapter''</tt>.
 
</noinclude>{{#ask:[[Legislation ID::ukpga/{{{1}}}/{{{2}}}]]
</noinclude>{{#ask:[[Legislation ID::ukpga/{{{1}}}/{{{2}}}]]
|?SLD number
|?SLD number
|default={{{1}}} c. {{{2}}}
|default={{{1}}} c. {{{2}}}
|link=none|format=template|template=SLDlink}}
|link=none|format=template|template=SLDlink}}

Revision as of 20:12, 6 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}}}