Template:Ukpga format: Difference between revisions

From FOIwiki
Jump to navigationJump to search
Detect interesting legislation, maybe
Support overriding link text
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<noinclude>
<noinclude>
This template formats a reference to a UK Public General Act of Parliament.  It expects to take the name of the page describing the Act as its only argument.
This template formats a reference to a UK Public General Act of Parliament.  It expects to take the name of the page describing the Act as its first argument, and optionally some text to use for the link.


</noinclude>{{#if:{{#show:{{{1}}}|?Category:dull legislation}}
</noinclude>[[{{{1}}}|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]
|{{SLDlink|{{{1}}}|{{#show:{{{1}}}|?SLD number}}}}
|[[{{{1}}}]]
}}

Latest revision as of 21:51, 8 May 2010

This template formats a reference to a UK Public General Act of Parliament. It expects to take the name of the page describing the Act as its first argument, and optionally some text to use for the link.

[[{{{1}}}|{{{1}}}]]