Template:Ukpga format: Difference between revisions

From FOIwiki
Jump to navigationJump to search
(Hide expansion because it's horrible without the argument supplied)
(Support overriding link text)
 
(3 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><includeonly>{{#if:{{#show:{{{1}}}|?Category:dull legislation}}
 
|{{SLDlink|{{{1}}}|{{#show:{{{1}}}|?SLD number}}}}
</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}}}]]