Template:Infobox legislation: Difference between revisions
m (1 revision imported) |
(wikipedia redirects) |
||
Line 33: | Line 33: | ||
|label12 = Date assented to | |label12 = Date assented to | ||
|data12 = {{{date_assented|}}} | |data12 = {{{date_assented|}}} | ||
|label13 = Date of [[Royal Assent]] | |label13 = Date of [[wikipedia:Royal Assent|Royal Assent]] | ||
|data13 = {{{royal_assent|}}} | |data13 = {{{royal_assent|}}} | ||
|label14 = Date signed | |label14 = Date signed | ||
Line 41: | Line 41: | ||
|label16 = Date commenced | |label16 = Date commenced | ||
|data16 = {{{date_commenced|{{{commencement|}}}}}} | |data16 = {{{date_commenced|{{{commencement|}}}}}} | ||
|label17 = [[Effective date|Date effective]] | |label17 = [[wikipedia:Effective date|Date effective]] | ||
|data17 = {{{date_effective|}}} | |data17 = {{{date_effective|}}} | ||
|label18 = Date of expiry | |label18 = Date of expiry | ||
Line 51: | Line 51: | ||
|header30 = {{#if:{{{bill|}}}{{{bill_date|}}}{{{1st_reading|}}}{{{2nd_reading|}}}{{{3rd_reading|}}}|Legislative history}} | |header30 = {{#if:{{{bill|}}}{{{bill_date|}}}{{{1st_reading|}}}{{{2nd_reading|}}}{{{3rd_reading|}}}|Legislative history}} | ||
|label31 = {{#if:{{{enacted_by2|}}}|[[Bill (proposed law)|Bill]] introduced in the {{{enacted_by}}}|[[Bill (proposed law)|Bill]]}} | |label31 = {{#if:{{{enacted_by2|}}}|[[wikipedia:Bill (proposed law)|Bill]] introduced in the {{{enacted_by}}}|[[wikipedia:Bill (proposed law)|Bill]]}} | ||
|data31 = {{{bill|}}} | |data31 = {{{bill|}}} | ||
|label32 = Bill citation | |label32 = Bill citation | ||
Line 59: | Line 59: | ||
|label34 = Introduced by | |label34 = Introduced by | ||
|data34 = {{{introduced_by|}}} | |data34 = {{{introduced_by|}}} | ||
|label35 = [[Reading (legislature)#First reading|First reading]] | |label35 = [[wikipedia:Reading (legislature)#First reading|First reading]] | ||
|data35 = {{{1st_reading|}}} | |data35 = {{{1st_reading|}}} | ||
|label36 = [[Reading (legislature)#Second reading|Second reading]] | |label36 = [[wikipedia:Reading (legislature)#Second reading|Second reading]] | ||
|data36 = {{{2nd_reading|}}} | |data36 = {{{2nd_reading|}}} | ||
|label37 = [[Reading (legislature)#Third reading|Third reading]] | |label37 = [[wikipedia:Reading (legislature)#Third reading|Third reading]] | ||
|data37 = {{{3rd_reading|}}} | |data37 = {{{3rd_reading|}}} | ||
|label38 = [[Conference committee]] bill passed | |label38 = [[wikipedia:Conference committee]] bill passed | ||
|data38 = {{{conf_committee_passed|}}} | |data38 = {{{conf_committee_passed|}}} | ||
|label39 = Committee report | |label39 = Committee report | ||
Line 89: | Line 89: | ||
|label49 = Date passed by conference committee | |label49 = Date passed by conference committee | ||
|data49 = {{{date_conf_committee|}}} | |data49 = {{{date_conf_committee|}}} | ||
|label50 = [[White paper#Government white papers|White paper]] | |label50 = [[wikipedia:White paper#Government white papers|White paper]] | ||
|data50 = {{{white_paper|}}} | |data50 = {{{white_paper|}}} | ||
Line 95: | Line 95: | ||
|data61 = {{{amendments|}}} | |data61 = {{{amendments|}}} | ||
|header62 = {{#if:{{{repeals|}}}|[[Repeal|Repealing legislation]]}} | |header62 = {{#if:{{{repeals|}}}|[[wikipedia:Repeal|Repealing legislation]]}} | ||
|data63 = {{{repeals|{{{repealing_legislation|}}}}}} | |data63 = {{{repeals|{{{repealing_legislation|}}}}}} | ||
Line 107: | Line 107: | ||
|data69 = {{{keywords|}}} | |data69 = {{{keywords|}}} | ||
|header70 = {{#if:{{{struckdown|}}}|[[Judicial review|Judicially struck down]]}} | |header70 = {{#if:{{{struckdown|}}}|[[wikipedia:Judicial review|Judicially struck down]]}} | ||
|data71 = {{{struckdown|{{{struckdown_case|}}}}}} | |data71 = {{{struckdown|{{{struckdown_case|}}}}}} | ||
Line 137: | Line 137: | ||
|amended = Amended | |amended = Amended | ||
|expired = Expired | |expired = Expired | ||
|spent = [[Spent enactment|Spent]] | |spent = [[wikipedia:Spent enactment|Spent]] | ||
|repealed = [[Repeal]]ed | |repealed = [[wikipedia:Repeal|Repeal]]ed | ||
|struck down= [[Judicial review|Struck down]] | |struck down= [[wikipedia:Judicial review|Struck down]] | ||
|halted = Halted | |halted = Halted | ||
|#default = Unknown | |#default = Unknown |
Revision as of 14:17, 11 September 2022
Usage
{{{short_title}}} | |
---|---|
[[File:{{{image}}}|{{{imagesize}}}|alt={{{imagealt}}}]] | |
{{{legislature}}} | |
{{{long_title}}} | |
Citation | {{{citation}}} |
Territorial extent | {{{territorial_extent}}} |
Considered by | {{{considered_by}}} |
Enacted by | {{{enacted_by}}} |
Date passed | {{{date_passed}}} |
Date enacted | {{{date_enacted}}} |
Enacted by | {{{enacted_by2}}} |
Date passed | {{{date_passed2}}} |
Date enacted | {{{date_enacted2}}} |
Date assented to | {{{date_assented}}} |
Date of Royal Assent | {{{royal_assent}}} |
Date signed | {{{date_signed}}} |
Signed by | {{{signed_by}}} |
Date commenced | {{{date_commenced}}} |
Date effective | {{{date_effective}}} |
Date of expiry | {{{date_of_expiry}}} |
Date repealed | {{{date_repealed}}} |
Administered by | {{{administered_by}}} |
Legislative history | |
Bill introduced in the {{{enacted_by}}} | {{{bill}}} |
Bill citation | {{{bill_citation}}} |
Bill published on | {{{bill_date}}} |
Introduced by | {{{introduced_by}}} |
First reading | {{{1st_reading}}} |
Second reading | {{{2nd_reading}}} |
Third reading | {{{3rd_reading}}} |
wikipedia:Conference committee bill passed | {{{conf_committee_passed}}} |
Committee report | {{{committee_report}}} |
Bill introduced in the {{{enacted_by2}}} | {{{bill2}}} |
Bill citation | {{{bill_citation2}}} |
Bill published on | {{{bill_date2}}} |
Introduced by | {{{introduced_by2}}} |
First reading | {{{1st_reading2}}} |
Second reading | {{{2nd_reading2}}} |
Third reading | {{{3rd_reading2}}} |
Conference committee bill passed | {{{conf_committee_passed2}}} |
Committee report | {{{committee_report2}}} |
Date passed by conference committee | {{{date_conf_committee}}} |
White paper | {{{white_paper}}} |
Amends | |
{{{amendments}}} | |
Repealing legislation | |
{{{repeals}}} | |
Related legislation | |
{{{related_legislation}}} | |
Summary | |
{{{summary}}} | |
Keywords | |
{{{keywords}}} | |
Status: Unknown |
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
{{Infobox legislation |short_title = |legislature = |image = |imagesize = |imagealt = |caption = |long_title = |citation = |enacted_by = |date_enacted = |date_passed = |enacted_by2 = |date_enacted2 = |date_passed2 = |date_assented = |royal_assent = |date_commenced = |bill = |bill_citation = |bill_date = |introduced_by = |1st_reading = |2nd_reading = |3rd_reading = |committee_report = |bill2 = |bill_citation2 = |bill_date2 = |introduced_by2 = |1st_reading2 = |2nd_reading2 = |3rd_reading2 = |committee_report2 = |white_paper = |amendments = |repeals = |related_legislation = |summary = |keywords = |status = }}
All available parameters
{{Infobox legislation |short_title = |legislature = |image = |imagesize = |imagealt = |caption = |long_title = |citation = |territorial_extent = |considered_by = |enacted_by = |date_enacted = |date_passed = |enacted_by2 = |date_enacted2 = |date_passed2 = |date_assented = |royal_assent = |date_signed = |signed_by = |date_commenced = |date_effective = |date_of_expiry = |date_repealed = |administered_by = |bill = |bill_citation = |bill_date = |introduced_by = |1st_reading = |2nd_reading = |3rd_reading = |conf_committee_passed = |committee_report = |bill2 = |bill_citation2 = |bill_date2 = |introduced_by2 = |1st_reading2 = |2nd_reading2 = |3rd_reading2 = |conf_committee_passed2 = |committee_report2 = |date_conf_committee = |white_paper = |amendments = |repeals = |related_legislation = |summary = |keywords = |status = }}
Parameters
This infobox takes a number of parameters, which are all optional:
Parameter | Description | ||
---|---|---|---|
Basic information | |||
short_title | The short title of the legislation, which should preferably be the same as the article title. If the parameter is left blank or omitted, the article name is used. | ||
image | An image to represent the person or institution that enacted the legislation, such as a coat of arms, a seal or a photograph of a building. Type the name of the image without the "File:" prefix and do not wikilink it. If you omit this parameter, the template automatically displays an image according to the scheme at {{Infobox legislation/images}}. | ||
imagesize | The width of the image in pixels (px), particularly if it is less than 180 px. Type the number without the "px" suffix ("150", not "150px"). If this parameter is left blank or omitted, the image size defaults to 180 px. | ||
imagealt | Alt text for the image. For more information, see "Wikipedia:Alternative text for images". | ||
caption | A caption for the image. Terms in the caption can be wikilinked, if desired. | ||
legislature | The name of the legislature that enacted the legislation. You only need to use this parameter if the legislature of the jurisdiction in question is bicameral, and you wish to state its name rather than just the names of the upper house (or senate) and lower house, which can be specified using |enacted_by= and |enacted_by2= .
If you have used | ||
long_title | The long title of the legislation. | ||
citation | The citation of the legislation. If the legislation is available online, use a citation template where available to generate an external link automatically, or else create a link manually. If the citation uses square brackets, replace them with [ and ] when putting them inside an external link. | ||
territorial_extent | The territorial area to which the legislation extends or applies. If possible provide a wikilink. | ||
enacted_by | The name of the person or institution that enacted the legislation. Wikilink the name to a Wikipedia article about the person or institution, if there is one. To cause the template to automatically display an image representing the person or institution, such as a coat of arms, a seal or a photograph of a building, enter the name of the person or institution as shown at {{Infobox legislation/images}}.
In a bicameral jurisdiction, use this parameter to specify the legislative chamber that initiated the legislation. | ||
date_enacted date_passed |
The date the legislation was enacted or passed. Select either |date_enacted= or |date_passed= depending on whether the term enacted or passed is customarily used in the jurisdiction. In line with "Wikipedia:Manual of Style (dates and numbers)#Linking and autoformatting of dates", do not wikilink dates.
| ||
enacted_by2 date_enacted2 date_passed2 |
In a bicameral legislature, use these parameters to specify the name of the legislative chamber that considered the legislation after it was initiated by the other chamber, and the date when the second chamber enacted or passed the legislation. | ||
date_assented royal_assent date_signed signed_by |
Use one of the following:
Do not use parameter(s) from two or three of the above categories together. | ||
date_commenced date_effective |
The date when the legislation commenced (came into force), or became effective as law. Use the parameter that corresponds to the term customary in the jurisdiction, not both the parameters. | ||
Legislation history | |||
bill | The name of the bill that was eventually enacted. Wikilink the name to an article about the bill, if there is one.
In a bicameral jurisdiction, use this parameter to state the name of the bill that was introduced by the legislative chamber that initiated the legislation. | ||
bill_citation | The citation of the bill. If the bill is available online, create an external link to it. If the citation uses square brackets, replace them with [ and ] when putting them inside an external link. | ||
bill_date | The date when the bill was published. | ||
introduced_by | The name of the legislator who introduced the bill. | ||
1st_reading 2nd_reading 3rd_reading |
The dates of the first, second and third readings of the bill in the legislature. If the legislative debates are available online, create external links to them. | ||
conf_committee_passed | The date when the legislative chamber of a bicameral legislature that introduced a bill passed the version of the bill passed by a conference committee. | ||
committee_report | The name of a report issued by a legislative committee about the bill that was eventually enacted. If the report is available online, create an external link to it. | ||
bill2 bill_citation2 bill_date2 introduced_by2 1st_reading2 2nd_reading2 3rd_reading2 conf_committee_passed2 committee_report2 |
In a bicameral legislature, use these parameters to specify information about the bill that was considered in one chamber after it was passed by the other chamber. | ||
date_conf_committee | The date when a conference committee passed a bill. This parameter should be used together with |conf_committee_passed= and |conf_committee_passed2= – use these parameters to indicate the dates when the upper and lower legislative chambers passed the version of the bill passed by the conference committee.
| ||
white_paper | The name of a white paper relating to the legislation. If the white paper is available online, create an external link to it. | ||
amendments | The citations of any notable amendments to the legislation. If the texts of the amendments are available online, create external links to them. | ||
repealing_legislation | The citations of any notable legislation repealing parts or previous versions of the legislation. If the texts of the repealing legislation are available online, create external links to them. | ||
related_legislation | The names and citations of any related pieces of legislation. Where possible, link the name of a related piece of legislation to a Wikipedia article about it, and link the citation to an external website containing the text of the related legislation. | ||
summary | A very brief summary of the subjects that the legislation deals with. | ||
keywords | A list of keywords that describe the legal issues dealt with by the legislation. List keywords alphabetically, separate them with commas, and link them to appropriate Wikipedia articles wherever possible; for example, "[[Bailment]], [[common carrier]], [[negligence]], [[strict liability]]". | ||
Status | |||
status | The status of the bill or legislation. The possible values are:
If some value other than the ones above is given to |
Examples
Statute
Criminal Law (Temporary Provisions) Act | |
---|---|
An Act to make temporary provisions for the maintenance of public order, the control of supplies by sea to Singapore, and the prevention of strikes and lock-outs in essential services | |
Citation | Ordinance No. 26 of 1955, now Cap. 67, 2000 Rev. Ed. |
Territorial extent | Whole of Singapore |
Enacted by | Legislative Assembly of Singapore |
Date enacted | 22 September 1955 |
Date commenced | 21 October 1955 |
Legislative history | |
Bill published on | 31 August 1955 |
Introduced by | Chief Secretary William Allmond Codrington Goode |
First reading | 18 August 1955 |
Second reading | 22 September 1955 |
Third reading | 22 September 1955 |
Status: In force |
{{Infobox legislation |short_title = Criminal Law (Temporary Provisions) Act |long_title = An Act to make temporary provisions for the maintenance of public order, the control of supplies by sea to Singapore, and the prevention of strikes and lock-outs in essential services |citation = Ordinance No. 26 of 1955, now {{Singapore Statute|cap=67|ed=2000}} |territorial_extent = Whole of [[Singapore]] |enacted_by = [[Legislative Assembly of Singapore]] |date_enacted = 22 September 1955 |date_commenced = 21 October 1955 |bill_date = 31 August 1955 |introduced_by = Chief Secretary [[William Allmond Codrington Goode]] |1st_reading = 18 August 1955 |2nd_reading = 22 September 1955 |3rd_reading = 22 September 1955 |status = in force }}
Bill
Naval Aid Bill | |
---|---|
An Act to authorize measures for increasing the effective naval forces of the Empire. | |
Considered by | Parliament of Canada |
Legislative history | |
Introduced by | Robert Borden |
First reading | December 5, 1912 |
Third reading | May 15, 1913 |
Status: Not passed |
{{Infobox legislation |short_title = Naval Aid Bill |long_title = An Act to authorize measures for increasing the effective naval forces of the Empire. |considered_by = [[Parliament of Canada]] |introduced_by = [[Robert Borden]] |1st_reading = December 5, 1912 |3rd_reading = May 15, 1913 |status = Not passed }}
Technical information
This section contains technical information to assist editors familiar with templates and parser functions to edit this template. |
The |image=
parameter in the template contains (with slight modifications) the following function:
{{#invoke:InfoboxImage|InfoboxImage|image={{#if:{{{image|}}} |{{{image}}} |{{Infobox legislation/images |image={{ifempty|{{{legislature|}}}|{{{considered_by|}}}|{{{enacted_by|}}}}} |date={{{date_enacted|}}} }} }}|size={{{imagesize|}}}|sizedefault=frameless|alt={{{imagealt|}}}}}
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.
See also
- {{Infobox EU legislation}}
- {{Infobox UK legislation}}
- {{Infobox U.S. legislation}}
- {{Infobox U.S. Presidential Document}} (for Presidential Documents that are not passed through the legislature, e.g. Executive Orders, memoranda)