Template:Infobox UK legislation/sandbox

{{short description|United Kingdom legislation|noreplace}}{{Infobox

| bodyclass = vevent {{#if:{{{collapsed|}}}|mw-collapsible mw-collapsed}}

| title = {{#if:{{{collapsed|}}}||{{{short_title|{{PAGENAMEBASE}}}}}}}

| titleclass = summary

| above = {{#if:{{{collapsed|}}}|{{{short_title|{{PAGENAMEBASE}}}}}|}}

| abovestyle = font-size:100%

| aboveclass = summary

| subheader = {{#switch:{{lc:{{{type}}}}}|si|statutory instrument=Statutory Instrument|act|public general act|local act|act of parliament=Act of Parliament|scottish act=Act of the Scottish Parliament|welsh assembly act=Act of the National Assembly for Wales|welsh act=Act of Senedd Cymru|senedd act=Act of Senedd Cymru|measure=Measure of the National Assembly for Wales |ni act=Act of the Northern Ireland Assembly|gibraltar act=Act of the Gibraltar Parliament|jersey law=Law of the States of Jersey|guernsey law=Law of the States of Guernsey|iom act=Act of Tynwald |church measure=Church of England Measure|church|sr&o=Statutory Rules and Orders}}

| subheaderstyle = font-weight: bold;

| headerstyle = border-top: 1px solid #aaa;

| image = {{#switch:{{{parliament|}}}

|Scottish Parliament

|Scottish= File:Coat of Arms of the United Kingdom in Scotland (Variant 1).svg

| Northern Ireland Assembly = File:Flag of Northern Ireland Assembly.svg

| Welsh Parliament - Senedd Cymru

| Senedd Cymru - Welsh Parliament

| Welsh Parliament

| Senedd Cymru

| Senedd

| Welsh Assembly

| Cynulliad

| National Assembly for Wales = File:Royal Badge of Wales (2008).svg

| Parliament of Northern Ireland = File:Royal Arms of the United Kingdom (Privy Council).svg

| Parliament of Gibraltar = File:Coat of Arms of the Government of Gibraltar.svg

| Tynwald = File:Coat of arms of the Isle of Man.svg

| States of Guernsey = File:Coat of arms of Guernsey.svg

| States of Jersey = File:Coat of Arms of Jersey.svg

| General Synod of the Church of England = File:Logo of the Church of England-cropped.png

|Parliament of Scotland

|Scotland= {{#if:{{{year|}}}|

{{#switch: {{{year}}}

| 1558 = File:Royal Arms of the Kingdom of Scotland (1558-1559).svg

| 1559 = File:Royal Arms of the Kingdom of Scotland (1559-1560).svg

| 1560

| 1561

| 1562

| 1563

| 1564 = File:Royal Arms of the Kingdom of Scotland (1560-1565).svg

|

{{#ifexpr:{{{year|1600}}} < 1603 | File:Royal Coat of Arms of the Kingdom of Scotland (Variant 1).svg }}

{{#ifexpr:{{{year|1600}}} >= 1603 and {{{year|1600}}} < 1649 | File:Coat of Arms of Scotland (1603-1649).svg }}

{{#ifexpr:{{{year|1600}}} >= 1649 and {{{year|1600}}} < 1660 | File:Coat of Arms of the Protectorate (1653–1659).svg }}

{{#ifexpr:{{{year|1600}}} >= 1660 and {{{year|1600}}} < 1689 | File:Coat of Arms of Scotland (1660-1689).svg }}

{{#ifexpr:{{{year|1600}}} >= 1689 and {{{year|1600}}} < 1694 | File:Coat of Arms of Scotland (1689-1694).svg }}

{{#ifexpr:{{{year|1600}}} >= 1694 and {{{year|1600}}} < 1702 | File:Coat of Arms of Scotland (1694-1702).svg }}

{{#ifexpr:{{{year|1600}}} >= 1702 | File:Coat of Arms of Scotland (1660-1689).svg }}

}}

| #default = File:Royal Coat of Arms of the Kingdom of Scotland.svg

}}

|Parliament of Ireland

|Ireland

|Irish= {{#if:{{{year|}}}

| {{#ifexpr:{{{year|1800}}} < 1542

| File:Coat of arms of the Lordship of Ireland.svg

| File:Kingdom Ireland.svg

}}

| File:Kingdom Ireland.svg

}}

|Parliament of England

|England

|English = {{#if:{{{year|}}}|

{{#ifexpr:{{{year|1801}}} < 1154 | File:Coat of Arms of England (-1340).svg }}

{{#ifexpr:{{{year|1801}}} >= 1154 and {{{year|1801}}} < 1189 | File:Royal Arms of England (1154-1189).svg }}

{{#ifexpr:{{{year|1801}}} >= 1189 and {{{year|1801}}} < 1198 | File:Royal Arms of England (1189-1198).svg }}

{{#ifexpr:{{{year|1801}}} >= 1198 and {{{year|1801}}} < 1340 | File:Coat of Arms of England (-1340).svg }}

{{#ifexpr:{{{year|1801}}} >= 1340 and {{{year|1801}}} < 1360 | File:Coat of Arms of Edward III of England (1327-1377) (Attributed).svg }}

{{#ifexpr:{{{year|1801}}} >= 1360 and {{{year|1801}}} < 1369 | File:Coat of Arms of England (-1340).svg }}

{{#ifexpr:{{{year|1801}}} >= 1369 and {{{year|1801}}} < 1395 | File:Coat of Arms of Edward III of England (1327-1377) (Attributed).svg }}

{{#ifexpr:{{{year|1801}}} >= 1395 and {{{year|1801}}} < 1399 | File:Coat of Arms of Richard II of England (1377-1399).svg }}

{{#ifexpr:{{{year|1801}}} >= 1399 and {{{year|1801}}} < 1406 | File:Coat of Arms of Edward III of England (1327-1377) (Attributed).svg }}

{{#ifexpr:{{{year|1801}}} >= 1406 and {{{year|1801}}} < 1422 | File:Coat of Arms of Henry IV & V of England (1399-1413-1422).svg }}

{{#ifexpr:{{{year|1801}}} >= 1422 and {{{year|1801}}} < 1461 | File:Coat of Arms of Henry VI of England (1422-1471).svg }}

{{#ifexpr:{{{year|1801}}} >= 1461 and {{{year|1801}}} < 1470 | File:Coat of Arms of Edward IV of England (1461-1483).svg }}

{{#ifexpr:{{{year|1801}}} >= 1470 and {{{year|1801}}} < 1471 | File:Coat of Arms of Henry VI of England (1422-1471).svg }}

{{#ifexpr:{{{year|1801}}} >= 1471 and {{{year|1801}}} < 1483 | File:Coat of Arms of Edward IV of England (1461-1483).svg }}

{{#ifexpr:{{{year|1801}}} >= 1483 and {{{year|1801}}} < 1485 | File:Coat of Arms of Richard III of England (1483-1485).svg }}

{{#ifexpr:{{{year|1801}}} >= 1485 and {{{year|1801}}} < 1509 | File:Coat of Arms of Henry VII of England (1485-1509).svg }}

{{#ifexpr:{{{year|1801}}} >= 1509 and {{{year|1801}}} < 1547 | File:Coat of Arms of Henry VIII of England (1509-1547).svg }}

{{#ifexpr:{{{year|1801}}} >= 1547 and {{{year|1801}}} < 1554 | File:Coat of Arms of England (1509-1554).svg }}

{{#ifexpr:{{{year|1801}}} >= 1554 and {{{year|1801}}} < 1558 | File:Coat of Arms of England (1554-1558).svg }}

{{#ifexpr:{{{year|1801}}} >= 1558 and {{{year|1801}}} < 1603 | File:Coat of Arms of England (1558-1603).svg }}

{{#ifexpr:{{{year|1801}}} >= 1603 and {{{year|1801}}} < 1649 | File:Coat of Arms of England (1603-1649).svg }}

{{#ifexpr:{{{year|1801}}} >= 1649 and {{{year|1801}}} < 1660 | File:Coat of Arms of the Protectorate (1653–1659).svg }}

{{#ifexpr:{{{year|1801}}} >= 1660 and {{{year|1801}}} < 1689 | File:Coat of Arms of England (1660-1689).svg }}

{{#ifexpr:{{{year|1801}}} >= 1689 and {{{year|1801}}} < 1694 | File:Coat of Arms of England (1689-1694).svg }}

{{#ifexpr:{{{year|1801}}} >= 1694 and {{{year|1801}}} < 1702 | File:Coat of Arms of England (1694-1702).svg }}

{{#ifexpr:{{{year|1801}}} >= 1702 | File:Coat of Arms of England (1702-1707).svg }}

| File:Royal Arms of England (1603-1707).svg

}}

| Parliament of Great Britain = {{#ifexpr:{{{year|1801}}} < 1714

| File:Coat of Arms of Great Britain (1707-1714).svg

| File:Coat of Arms of Great Britain (1714-1801).svg

}}

| #default = {{#if:{{{year|}}}|

{{#ifexpr:{{{year|2000}}} < 1816 | File:Coat of Arms of the United Kingdom (1801-1816).svg }}

{{#ifexpr:{{{year|2000}}} >= 1816 and {{{year|2000}}} < 1837 | File:Coat of Arms of the United Kingdom (1816-1837).svg }}

{{#ifexpr:{{{year|2000}}} >= 1837 and {{{year|2000}}} < 1901 | File:Coat of Arms of the United Kingdom (1837).svg }}

{{#ifexpr:{{{year|2000}}} >= 1901 and {{{year|2000}}} < 1953 | File:Coat of arms of the United Kingdom (1901-1952).svg }}

{{#ifexpr:{{{year|2000}}} >= 1953 and {{{year|2000}}} < 2022 | File:Royal Coat of Arms of the United Kingdom (variant 1, 1952-2022).svg}}

{{#ifexpr:{{{year|2000}}} >= 2022 | File:Coat of arms of the United Kingdom (2022, variant 1).svg }}

| File:Coat of arms of the United Kingdom (2022, variant 1).svg

}}

}}

| caption = {{#if:{{{parliament|}}}|{{{parliament}}}}}

| label2 = Long title

| data2 = {{{long_title|}}}{{#if:{{{citation_auth|}}}|
(The short title is authorised by section {{{citation_auth|}}} of the Act.)}}

| class2 = description

| label3 = Citation

| data3 = {{{citation|{{{statute_book_chapter|}}}}}}

| label4 = Introduced by

| data4 = {{{introduced_by|}}}{{#if:{{{introduced_commons|}}}{{{introduced_lords|}}}|{{br separated entries

| 1 = {{#if:{{{introduced_commons|}}}|{{{introduced_commons|}}} ({{tooltip|Commons|the House of Commons}})}}

| 2 = {{#if:{{{introduced_lords|}}}|{{{introduced_lords|}}} ({{tooltip|Lords|the House of Lords}})}}

}} }}

| class4 = organiser

| label5 = {{nowrap|Territorial extent }}

| data5 = {{{territorial_extent|}}}

| header6 = {{#if:{{{si_made_date|}}}{{{si_laid_date|}}}{{{royal_assent|}}}{{{commencement|}}}{{{repeal_date|}}}|Dates}}

| label7 = Made

| data7 = {{{si_made_date|}}}

| label8 = Laid before Parliament

| data8 = {{{si_laid_date|}}}

| label9 = Royal assent

| data9 = {{{royal_assent|}}}

| label10 = Commencement

| data10 = {{{commencement|}}}

| class10 = dtstart

| label11 = Expired

| data11 = {{{expiry_date|}}}

| class11 = dtend

| label12 = {{#switch:{{lc:{{{type}}}}}|si|statutory instrument=Revoked|#default=Repealed}}

| data12 = {{{repeal_date|}}}

| class12 = dtend

| header13 = {{#if:{{{amends|}}}{{{replaces|}}}{{{primary_legislation|}}}{{{eu_directives|}}}{{{amendments|}}}{{{repealing_legislation|}}}{{{related_legislation|}}}|Other legislation}}

| label14 = Amends

| data14 = {{{amends|}}}

| label15 = Repeals/revokes

| data15 = {{{replaces|}}}

| label16 = Made under

| data16 = {{{primary_legislation|}}}

| label17 = Transposes

| data17 = {{{eu_directives|}}}

| label18 = Amended by

| data18 = {{{amendments|}}}

| label19 = Repeal

| data19 = {{{repealing_legislation|}}}

| label20 = Relates to

| data20 = {{{related_legislation|}}}

| header21 = {{#if:{{{status|}}}|

Status: {{#switch:{{lc:{{{status}}}}}|current=Current legislation|amended=Amended|repealed=Repealed|revoked=Revoked|not_yet_in_force=Not yet in force|Not_fully_in_force=Partly in force|partly_in_force=Partly in force|not_passed=Not passed|spent=Spent|expired=Expired|partially_repealed=Partially repealed|#default=Unknown}}
}}

| header22 = {{#if:{{{status_IE|}}}{{{status_NI|}}}{{{status_EW|}}}{{{status_Scot|}}}|Status}}

| label23 = England and Wales

| data23 = {{#switch:{{lc:{{{status_EW}}}}}|current=Current legislation|amended=Amended|repealed=Repealed|revoked=Revoked|not_yet_in_force=Not yet in force|partly_in_force=Partly in force|not_passed=Not passed|spent=Spent|expired=Expired|partially_repealed=Partially repealed|#default={{{status_EW|}}}}}

| label24 = Scotland

| data24 = {{#switch:{{lc:{{{status_Scot}}}}}|current=Current legislation|amended=Amended|repealed=Repealed|revoked=Revoked|not_yet_in_force=Not yet in force|partly_in_force=Partly in force|not_passed=Not passed|spent=Spent|expired=Expired|partially_repealed=Partially repealed|#default={{{status_Scot|}}}}}

| label25 = Republic of Ireland

| data25 = {{#switch:{{lc:{{{status_IE}}}}}|current=Current legislation|amended=Amended|repealed=Repealed|revoked=Revoked|not_yet_in_force=Not yet in force|partly_in_force=Partly in force|not_passed=Not passed|spent=Spent|expired=Expired|partially_repealed=Partially repealed|#default={{{status_IE|}}}}}

| label26 = Northern Ireland

| data26 = {{#switch:{{lc:{{{status_NI}}}}}|current=Current legislation|amended=Amended|repealed=Repealed|revoked=Revoked|not_yet_in_force=Not yet in force|partly_in_force=Partly in force|not_passed=Not passed|spent=Spent|expired=Expired|partially_repealed=Partially repealed|#default={{{status_NI|}}}}}

| header27 = {{#if:{{{legislation_history|}}}|[{{{legislation_history|}}} History of passage through Parliament]}}

| header28 = {{#if:{{{theyworkforyou|}}}|[https://www.theyworkforyou.com/search/?s={{urlencode:{{{theyworkforyou|}}}}} Records of Parliamentary debate relating to the statute] from Hansard, at TheyWorkForYou}}

| header29 = {{#if:{{{millbankhansard|}}}|[https://hansard.parliament.uk/search?searchTerm={{urlencode:{{{millbankhansard|}}}}} Records of Parliamentary debate relating to the statute] from [http://hansard.parliament.uk/ Hansard]}}

| header30 = {{#if:{{{original_text|}}}|[{{{original_text|}}} Text of statute as originally enacted]}}

| header31 = {{#if:{{{revised_text|}}}|[{{{revised_text|}}} Revised text of statute as amended]}}

| header32 = {{#ifeq:{{{use_new_UK-LEG}}}|yes

| {{UK-LEG|title={{#if:{{{UK-LEG_title|}}}|{{{UK-LEG_title}}}|{{PAGENAME}}}}}}

| {{#if:{{{UK-LEG_title|}}}|{{UK-LEG|title={{{UK-LEG_title}}}}}}}

}}

| class33 = url

}}{{#invoke:Check for unknown parameters|check

|unknown=_VALUE_{{PAGENAME}}

|preview=Page using Template:Infobox UK legislation with unknown parameter "_VALUE_"

|amendments |amends

|citation |collapsed |commencement |citation_auth

|eu_directives

|introduced_by |introduced_commons |introduced_lords

|legislation_history |long_title

|millbankhansard

|original_text

|parliament |primary_legislation

|related_legislation |repeal_date |expiry_date |repealing_legislation |replaces |revised_text |royal_assent

|short_title |si_laid_date |si_made_date |status |status_EW |status_IE |status_NI |status_Scot |statute_book_chapter

|territorial_extent |theyworkforyou |type

|UK-LEG_title |use_new_UK-LEG

|year

}}

{{Documentation}}