Template:Legislation: Difference between revisions

From FOIwiki
Jump to navigationJump to search
m (moved Template:Dull legislation to Template:Legislation over redirect: Change of heart -- no legislation is really dull)
(Do something useful with short title)
Line 1: Line 1:
<noinclude>
<noinclude>
This is the "Dull legislation" template.
This is the "Legislation" template.  It's intended to be put in a page describing a piece of legislation.
It should be called in the following format:
It should be called in the following format:
<pre>
<pre>
{{Dull legislation
{{Legislation
|Short title=
|Legislation ID=
|Legislation ID=
|SLD number=
|SLD number=
}}
}}
</pre>
</pre>
Edit the page to see the template text.
 
</noinclude><includeonly>{{#get_external_data:http://www.legislation.gov.uk/id/{{{Legislation ID}}}|XML|title=dc:title}}* Short title (from Legislation API): {{#external_value:title}}
</noinclude>* Short title: {{{Short title}}}
* [[Property:Legislation ID|Legislation ID]]: [[Legislation ID::{{{Legislation ID|}}}]]
* [[Property:Legislation ID|Legislation ID]]: [[Legislation ID::{{{Legislation ID|}}}]]
* {{SLD number|{{{SLD number|}}}}}
* {{SLD number|{{{SLD number|}}}}}
[[Category:Dull legislation]]
<includeonly>[[Category:Legislation]]</includeonly>
</includeonly>

Revision as of 16:39, 7 May 2010

This is the "Legislation" template. It's intended to be put in a page describing a piece of legislation. It should be called in the following format:

{{Legislation
|Short title=
|Legislation ID=
|SLD number=
}}