Template:Ukpga format: Difference between revisions

From FOIwiki
Jump to navigationJump to search
(Try making a little link to the local page about dull legislation)
(Support overriding link text)
 
(2 intermediate revisions by one other user 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><includeonly>{{#if:{{#show:{{{1}}}|?Category:dull legislation}}
 
|{{SLDlink|{{{1}}}|{{#show:{{{1}}}|?SLD number}}}}<sup>([[{{{1}}}|about]])</sup>
</noinclude>[[{{{1}}}|{{#if:{{{2|}}}|{{{2}}}|{{{1}}}}}]]
|[[{{{1}}}]]
}}</includeonly>

Latest revision as of 22: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}}}]]