Template:Legislation: Difference between revisions
From FOIwiki
Jump to navigationJump to search
Expermientally try pulling in title from OPSI |
Remove awkward newlines |
||
Line 9: | Line 9: | ||
</pre> | </pre> | ||
Edit the page to see the template text. | Edit the page to see the template text. | ||
</noinclude><includeonly> | </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}} | ||
{{#get_external_data:http://www.legislation.gov.uk/id/{{{Legislation ID}}}|XML|title=dc:title}} | |||
* Short title (from Legislation API): {{#external_value: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]] | [[Category:Dull legislation]] | ||
</includeonly> | </includeonly> |
Revision as of 14:38, 7 May 2010
This is the "Dull legislation" template. It should be called in the following format:
{{Dull legislation |Legislation ID= |SLD number= }}
Edit the page to see the template text.