Template:Legislation: Difference between revisions

From FOIwiki
Jump to navigationJump to search
(Fix ASP links again (sigh))
(Create separate properties for the bits of legislation ID)
Line 15: Line 15:
</noinclude>* To link to this legislation, try <code><nowiki>{{</nowiki>{{{Type}}}<nowiki>|</nowiki>{{{Year}}}<nowiki>|</nowiki>{{{Number}}}<nowiki>}}</nowiki></code>.
</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|}}}]]
* [[Property:Short title|Short title]]: [[Short title::{{{Short title|}}}]]
* [[Property:Legislation ID|Legislation ID]]: [[Legislation ID::{{{Type}}}/{{{Year}}}/{{{Number}}}]]
* [[Property:Legislation ID|Legislation ID]]: [[Legislation ID::{{{Type}}}/{{{Year}}}/{{{Number}}}]] [[Legislation type::{{{Type}}}| ]] [[Legislation year::{{{Year}}}| ]] [[Legislation number::{{{Number}}}| ]]
{{#switch:{{{Type}}}
{{#switch:{{{Type}}}
   |ukpga =
   |ukpga =

Revision as of 15:41, 9 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|wsi|...
|Year=
|Number=
|Short title=
|SLD number=
}}
  • To link to this legislation, try {{{{{Type}}}|{{{Year}}}|{{{Number}}}}}.
  • Short title:
  • Legislation ID: {{{Type}}}/{{{Year}}}/{{{Number}}}