Template:Infobox legislation/doc

Usage
This template summarizes information about a piece of legislation or a bill. It is designed to be generic so that it can be used for the bills, statutes and subsidiary legislation (delegated legislation) of any jurisdiction. If you have suggestions as to how the template may be improved, please leave a message on the talk page.

Commonly used parameters


All available parameters


Parameters
This infobox takes a number of parameters, which are all optional:

Statute


Bill


Technical information
The image parameter in the template contains (with slight modifications) the following function:



The function does the following tasks:
 * If the parameter image is used in the template, that image is displayed.
 * If image is not used, a check is done to see if the value of legislature or enacted_by is listed in Infobox legislation/images. If the result is blank, then no image is displayed. If the result is an image file (the coat of arms or seal, or a photograph of a building representing the person or institution that enacted the legislation), then the image file is displayed. Infobox legislation/images can be tweaked to display different images depending on the date when the legislation was decided – for help with this, leave a message on the talk page.
 * If a value is specified for imagesize, the image is given that width; otherwise the image width defaults to "frameless".
 * In either case the image is given alt text specified by imagealt.

JackLee came up with the first version of this function for Infobox court case, but thanks are due to Chris Cunningham for coming up with a cleaner solution that works better.