Template:Infobox UK legislation/doc

Usage
This infobox takes a number of parameters:


 * short title : the short title of the legislation, displayed at the top of the infobox. Should preferably be the same as the article title.
 * parliament : the name of the parliament which made the legislation. This will be linked. This parameter will also affect which coat of arms is displayed.
 * long title : the long title of the legislation (some are extremely long and thus clutter up the infobox).
 * year : the (calendar) year of the legislation — along with parliament, this parameter affects the coat of arms to be displayed.
 * statute book chapter : the chapter within the statute book where the legislation is to be found. Where this is before 1963, it must use the regnal year, not the calendar year (explanation)
 * introduced by : who first introduced the legislation into parliament. This could be a link to an individual politician, or a political party if you do not know the individual. One could also mention whether it was a government-supported bill or a private member's bill.
 * territorial extent : the parts of the United Kingdom to which the act extends.
 * royal assent : the date the legislation received Royal Assent (only applicable in Commonwealth countries, other users may wish to copy and modify the template).
 * commencement : the date(s) at which the legislation was brought into force (but note that for acts with more than three or four commencement dates this is inappropriate to use).
 * amendments : internal links to amending or repealing legislation, or even a list of years in which the legislation has been modified (note that for acts with a great deal of amending or repealing legislation only the most significant pieces of legislation should be listed).
 * related legislation : self-explanatory.
 * status : this can be one of five values, "Current" (for legislation still in force), "Amended" (for legislation which has been modified by separate legislation), "Repealed" (for legislation which has been repealed, or is no longer in force), "Not_yet_in_force" (for legislation which has not been commenced yet), or "Not_fully_in_force" (for legislation which has been partially commenced); this defaults to Unknown if no value is entered.
 * original text : link to the text of the legislation as originally enacted.
 * activeTextDocId : identification number of the legislation in the Statute Law Database, allowing linking to the text of it as amended from time to time.
 * legislation history : link to information about the passage of the legislation through the legislature.
 * use new UK-LEG : "yes" to use new UK-LEG template to automatically produce a URI for the new legislation.gov.uk service (will replace SLD and OPSI, so don't use with activeTextDocId).
 * revised text : link to a revised text of the legislation as amended.

Other versions

 * Infobox UK Legislation mini — a replica template incorporating show/hide code
 * Infobox UK Legislation/sandbox — a sandbox for testing major updates
 * Infobox UK Legislation/testcases — a set of test cases for testing major updates, transcluding several variants of Infobox UK Legislation/sandbox