Templeeti:Infobox UK legislation
| This template is used on approximately 5,500 pages and changes may be widely noticed. Test changes in the template's /sandbox or /testcases subpages, or in your own user subpage. Consider discussing changes on the talk page before implementing them. |
| This template adds an automatically generated short description. If the automatic short description is not optimal, override it by adding {{Short description}} at the top of the article. |
| This template uses Lua: |
Usage
[dezie ebe o si]Full syntax
[dezie ebe o si]This infobox takes a number of parameters:
[[{{{parliament}}}]] | |
| Long title | {{{long_title}}} (The short title is authorised by section {{{citation_auth}}} of the Act.) |
|---|---|
| Citation | {{{citation}}} |
| Introduced by | {{{introduced_by}}}{{{introduced_commons}}} (Commons) {{{introduced_lords}}} (Lords) |
| Territorial extent | {{{territorial_extent}}} |
| Dates | |
| Made | {{{si_made_date}}} |
| Laid before Parliament | {{{si_laid_date}}} |
| Royal assent | {{{royal_assent}}} |
| Commencement | {{{commencement}}} |
| Expired | {{{expiry_date}}} |
| Repealed | {{{repeal_date}}} |
| Other legislation | |
| Amends | {{{amends}}} |
| Repeals/revokes | {{{replaces}}} |
| Made under | {{{primary_legislation}}} |
| Transposes | {{{eu_directives}}} |
| Amended by | {{{amendments}}} |
| Repealed by | {{{repealing_legislation}}} |
| Relates to | {{{related_legislation}}} |
Status: Unknown | |
| [{{{legislation_history}}} History of passage through Parliament] | |
| Records of Parliamentary debate relating to the statute from Hansard, at TheyWorkForYou | |
| Records of Parliamentary debate relating to the statute from Hansard | |
| [{{{original_text}}} Text of statute as originally enacted] | |
| [{{{revised_text}}} Revised text of statute as amended] | |
| Text of the {{{UK-LEG_title}}} as in force today (including any amendments) within the United Kingdom, from legislation.gov.uk. | |
{{Infobox UK legislation
| short_title =
| type =
| parliament =
| long_title =
| citation_auth =
| year =
| citation =
| introduced_by =
| introduced_commons =
| introduced_lords =
| territorial_extent =
| si_made_date =
| si_laid_date =
| royal_assent =
| commencement =
| expiry_date =
| repeal_date =
| amends =
| replaces =
| primary_legislation =
| eu_directives =
| amendments =
| repealing_legislation =
| related_legislation =
| status =
| status_EW =
| status_Scot =
| status_IE =
| status_NI =
| legislation_history =
| theyworkforyou =
| millbankhansard =
| original_text =
| revised_text =
| use_new_UK-LEG = yes
| UK-LEG_title =
| collapsed =
}}
Acts of Parliament
[dezie ebe o si]{{Infobox UK legislation
| short_title =
| type = Act
| parliament =
| long_title =
| year =
| citation =
| introduced_commons =
| introduced_lords =
| territorial_extent =
| royal_assent =
| commencement =
| expiry_date =
| repeal_date =
| amends =
| replaces =
| amendments =
| repealing_legislation =
| related_legislation =
| status =
| legislation_history =
| theyworkforyou =
| millbankhansard =
| original_text =
| revised_text =
| use_new_UK-LEG =
| UK-LEG_title =
| collapsed =
}}
Acts of the Scottish Parliament (from 1999)
[dezie ebe o si]Not to be used for the pre-union Parliament of Scotland legislation.
{{Infobox UK legislation
| short_title =
| type = Scottish Act
| parliament = Scottish Parliament
| long_title =
| year =
| citation =
| introduced_by =
| territorial_extent =
| royal_assent =
| commencement =
| expiry_date =
| repeal_date =
| amends =
| replaces =
| amendments =
| repealing_legislation =
| related_legislation =
| status =
| legislation_history =
| theyworkforyou =
| millbankhansard =
| original_text =
| revised_text =
| use_new_UK-LEG = yes
| UK-LEG_title =
| collapsed =
}}
Acts of the Senedd Cymru (from 2020)
[dezie ebe o si]{{Infobox UK legislation
| short_title =
| type = Welsh Act
| parliament = Senedd Cymru
| long_title =
| year =
| citation =
| introduced_by =
| territorial_extent =
| royal_assent =
| commencement =
| expiry_date =
| repeal_date =
| amends =
| replaces =
| amendments =
| repealing_legislation =
| related_legislation =
| status =
| legislation_history =
| theyworkforyou =
| millbankhansard =
| original_text =
| revised_text =
| use_new_UK-LEG = yes
| UK-LEG_title =
| collapsed =
}}
Acts of the Northern Ireland Assembly (from 1999)
[dezie ebe o si]{{Infobox UK legislation
| short_title =
| type = NI Act
| parliament = Northern Ireland Assembly
| long_title =
| year =
| citation =
| introduced_by =
| territorial_extent =
| royal_assent =
| commencement =
| expiry_date =
| repeal_date =
| amends =
| replaces =
| amendments =
| repealing_legislation =
| related_legislation =
| status =
| legislation_history =
| theyworkforyou =
| millbankhansard =
| original_text =
| revised_text =
| use_new_UK-LEG = yes
| UK-LEG_title =
| collapsed =
}}
UK statutory instruments
[dezie ebe o si]{{Infobox UK legislation
| short_title =
| type = Statutory Instrument
| parliament =
| year =
| citation =
| introduced_commons =
| introduced_lords =
| territorial_extent =
| si_made_date =
| si_laid_date =
| commencement =
| expiry_date =
| repeal_date =
| amends =
| replaces =
| primary_legislation =
| eu_directives =
| amendments =
| repealing_legislation =
| related_legislation =
| status =
| legislation_history =
| theyworkforyou =
| millbankhansard =
| original_text =
| revised_text =
| use_new_UK-LEG = yes
| UK-LEG_title =
| collapsed =
}}
Tracking category
[dezie ebe o si]Microformat
[dezie ebe o si]- Classes used
The HTML classes of this microformat include:
- attendee
- contact
- description
- dtend
- dtstart
- location
- organiser
- summary
- url
- vevent
nor collapse nested elements which use them.
TemplateData
[dezie ebe o si]TemplateData for Infobox UK legislation
An infobox for UK statute legislation.
| Oke | Nkọwa | Dee | Ọnọdụ | |
|---|---|---|---|---|
| Short title | short_title | The short title of the legislation, displayed at the top of the infobox. This will usually be the same as the article title.
| Eriri | Na-atụ aro |
| Type | type | The type of legislation, for example if it is an Act or Statutory Instrument. Displays as a subheading at the top of the infobox. Valid values are:
| Eriri | Na-atụ aro |
| Parliament | 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. Valid values:
| Áhà ihü: | Na-atụ aro |
| Long title | long_title | The long title of the legislation. Some are extremely long and can clutter up the infobox. | Eriri | Nhọrọ |
| Year | year | The (calendar) year of the legislation — along with "parliament", this parameter affects the coat of arms to be displayed. | Ọnụ ọgụgụ | Na-atụ aro |
| Citation | citation | 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; see [[Citation of United Kingdom legislation#Acts of Parliament]]. | Eriri | Nhọrọ |
| Introduced by | introduced_by | Who first introduced the legislation into parliament? This should be a link (if an article exists) to the individual or otherwise the name of the individual who introduced the legislation. If this is not known link to a political party or leave blank. One could also mention whether it was a government-supported bill or a private member's bill. For Scottish, Welsh and NI Assembly Acts, devolved secondary legislation, some English Civil War era legislation and very old English legislation where the division between the Commons and Lords did not exist. For legislation passed by the UK parliament, where possible you should use either introduced_commons or introduced_lords. | Ọdịnaya | Nhọrọ |
| introduced_commons | introduced_commons | Who first introduced the legislation into the House of Commons? This should be a link (if an article exists) to the individual or otherwise the name of the individual who introduced the legislation in the Commons. If this is not known link to a political party or leave blank. One could also mention whether it was a government-supported bill or a private member's bill. | Ọdịnaya | Na-atụ aro |
| introduced_lords | introduced_lords | Who first introduced the legislation into the House of Lords? This should be a link (if an article exists) to the individual or otherwise the name of the individual who introduced the legislation in the Lords. If this is not known link to a political party or leave blank. One could also mention whether it was a government-supported bill or a private member's bill. | Ọdịnaya | Na-atụ aro |
| Territorial extent | territorial_extent | The part(s) of the United Kingdom to which the act extends. If this is self-evident or obvious by context, this can be left blank - e.g. you do not need to state that Acts of the Scottish Parliament extend to Scotland. | Áhà ihü: | Nhọrọ |
| Date made | si_made_date | The date a Statutory Instrument was made. | Deeti | Nhọrọ |
| Date laid before Parliament | si_laid_date | The date a Statutory Instrument was laid before Parliament. | Deeti | Nhọrọ |
| Royal Assent | royal_assent | The date the legislation received Royal Assent. | Deeti | Na-atụ aro |
| Commencement | 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) or a link to the section of the article which explains how the legislation commences. | Ọdịnaya | Nhọrọ |
| Expiry date | expiry_date | The date the legislation expired. Do not add until the legislation actually expired as there is still a possibility that legislation might be extended. Use repeal_date instead if the legislation does not explicitly state a date which it will stop being in force. | Ọdịnaya | Nhọrọ |
| Repeal date | repeal_date | The date the legislation was repealed or revoked (if it is a Statutory Instrument). This may be different from the day the legislation expired. Label shows "Revoked" if the legislation is a Statutory Instrument, otherwise it shows "Repealed" | Ọdịnaya | Nhọrọ |
| Amends | amends | Earlier legislation that is amended by this piece of legislation. | Deeti | Nhọrọ |
| Repeals/revokes | replaces | Earlier legislation that is repealed or revoked (stopped from being law) by the legislation. | Deeti | Nhọrọ |
| Primary legislation | primary_legislation | The primary legislation secondary legislation is made under. | Ọdịnaya | Nhọrọ |
| EU directives | eu_directives | The EU directives this legislation transposes. This should not be used for legislation passed after the end of the Brexit transition period (31 December 2020). | Ọdịnaya | kwụsịrị |
| Amendments | 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). | Ọdịnaya | Nhọrọ |
| Repealed by or Revoked by (if type is a statutory instrument) | repealing_legislation | Links to legislation which revokes (if a Statutory Instrument) or repeals (otherwise) the legislation. | Ọdịnaya | Nhọrọ |
| Related legislation | related_legislation | Links to related legislation | Ọdịnaya | Nhọrọ |
| Status | status | This can be one of the following values:
| Eriri | Na-atụ aro |
| Legislation history link | legislation_history | External link to information about the passage of the legislation through the legislature. | Eriri | Nhọrọ |
| TWFY URL slug | theyworkforyou | URL slug for TheyWorkForYou link | Eriri | Nhọrọ |
| Hansard URL slug | millbankhansard | URL search slug for hansard.parliament.uk, Parliament's official service for Hansard. Use this to give a link to the official record in Parliament about the legislation. | Eriri | Nhọrọ |
| Original text link | original_text | External link to the text of the legislation as originally enacted. | Eriri | Nhọrọ |
| Revised text link | revised_text | External link to the revised text of the statute, as amended | Eriri | Nhọrọ |
| Use new UK-LEG? | use_new_UK-LEG | "yes" to use new {{tl|UK-LEG}} template to automatically produce a URI for the legislation.gov.uk service | Eriri | Nhọrọ |
| UK-LEG title | UK-LEG_title | Variable for {{tl|UK-LEG}}
| Eriri | Nhọrọ |
| Collapse? | collapsed | "y" if the infobox should be collapsed by default. | Eriri | Nhọrọ |