Template:Legislation: Difference between revisions
From FOIwiki
Jump to navigationJump to search
Support for Welsh SIs, which are a subset of UK SIs that have a different URL scheme on the OPSI site (and a different canonical legislation type in the UK Legislation API) |
Provide a suggested link |
||
Line 1: | Line 1: | ||
<noinclude> | <noinclude> | ||
This is the "Legislation" template. It's intended to be put in a page describing a piece of legislation. | This is the "Legislation" template. It's intended to be put in a page describing a piece of legislation. | ||
It puts the page in one of the categories under [[:Category:Legislation]]. | |||
It should be called in the following format: | It should be called in the following format: | ||
<pre> | <pre> | ||
Line 12: | Line 13: | ||
</pre> | </pre> | ||
</noinclude>* [[Property:Short title|Short title]]: [[Short title::{{{Short title|}}}]] | </noinclude>* To link to this legislation, try <code><nowiki>{{</nowiki>{{{Type}}}<nowiki>|</nowiki>{{{Year}}}<nowiki>|</nowiki>{{{Number}}}<nowiki>}}</nowiki></code>. | ||
* [[Property:Short title|Short title]]: [[Short title::{{{Short title|}}}]] | |||
{{#if:{{{Type|}}} | {{#if:{{{Type|}}} | ||
|* [[Property:Legislation ID|Legislation ID]]: [[Legislation ID::{{{Type}}}/{{{Year}}}/{{{Number}}}]] | |* [[Property:Legislation ID|Legislation ID]]: [[Legislation ID::{{{Type}}}/{{{Year}}}/{{{Number}}}]] |
Revision as of 20:50, 8 May 2010
This is the "Legislation" template. It's intended to be put in a page describing a piece of legislation. It puts the page in one of the categories under Category:Legislation. It should be called in the following format:
{{Legislation |Type=ukpga|uksi|... |Year= |Number= |Short title= |SLD number= }}
- To link to this legislation, try
{{{{{Type}}}|{{{Year}}}|{{{Number}}}}}
. - Short title: