Template:Infobox UK Legislation

{{Infobox | Scottish Parliament = | Northern Ireland Assembly = | National Assembly for Wales = | Parliament of Northern Ireland = | Parliament of Scotland = {{#if:{{{year|}}}| {{#switch: {{{year}}} | 1558 =      | 1559 =       | 1560|1561|1562|1563|1564 =       |        {{#ifexpr: {{{year|1600}}} < 1603 |  }} {{#ifexpr: {{{year|1600}}} >= 1603 and {{{year|1600}}} < 1649 | }} {{#ifexpr: {{{year|1600}}} >= 1649 and {{{year|1600}}} < 1660 | }} {{#ifexpr: {{{year|1600}}} >= 1660 and {{{year|1600}}} < 1689 | }} {{#ifexpr: {{{year|1600}}} >= 1689 and {{{year|1600}}} < 1694 | }} {{#ifexpr: {{{year|1600}}} >= 1694 and {{{year|1600}}} < 1702 | }} {{#ifexpr: {{{year|1600}}} >= 1702 | }} }}   |    }} | Parliament of Ireland = {{#if:{{{year|}}} | {{#ifexpr: {{{year|1800}}} < 1542 |      |       }}    |     }} | Parliament of England = {{#if:{{{year|}}}| {{#ifexpr: {{{year|1801}}} < 1154 | }} {{#ifexpr: {{{year|1801}}} >= 1154 and {{{year|1801}}} < 1189 | }} {{#ifexpr: {{{year|1801}}} >= 1189 and {{{year|1801}}} < 1198 | }} {{#ifexpr: {{{year|1801}}} >= 1198 and {{{year|1801}}} < 1340 | }} {{#ifexpr: {{{year|1801}}} >= 1340 and {{{year|1801}}} < 1360 | }} {{#ifexpr: {{{year|1801}}} >= 1360 and {{{year|1801}}} < 1369 | }} {{#ifexpr: {{{year|1801}}} >= 1369 and {{{year|1801}}} < 1395 | }} {{#ifexpr: {{{year|1801}}} >= 1395 and {{{year|1801}}} < 1399 | }} {{#ifexpr: {{{year|1801}}} >= 1399 and {{{year|1801}}} < 1406 | }} {{#ifexpr: {{{year|1801}}} >= 1406 and {{{year|1801}}} < 1422 | }} {{#ifexpr: {{{year|1801}}} >= 1422 and {{{year|1801}}} < 1461 | }} {{#ifexpr: {{{year|1801}}} >= 1461 and {{{year|1801}}} < 1470 | }} {{#ifexpr: {{{year|1801}}} >= 1470 and {{{year|1801}}} < 1471 | }} {{#ifexpr: {{{year|1801}}} >= 1471 and {{{year|1801}}} < 1483 | }} {{#ifexpr: {{{year|1801}}} >= 1483 and {{{year|1801}}} < 1485 | }} {{#ifexpr: {{{year|1801}}} >= 1485 and {{{year|1801}}} < 1509 | }} {{#ifexpr: {{{year|1801}}} >= 1509 and {{{year|1801}}} < 1547 | }} {{#ifexpr: {{{year|1801}}} >= 1547 and {{{year|1801}}} < 1554 | }} {{#ifexpr: {{{year|1801}}} >= 1554 and {{{year|1801}}} < 1558 | }} {{#ifexpr: {{{year|1801}}} >= 1558 and {{{year|1801}}} < 1603 | }} {{#ifexpr: {{{year|1801}}} >= 1603 and {{{year|1801}}} < 1649 | }} {{#ifexpr: {{{year|1801}}} >= 1649 and {{{year|1801}}} < 1660 | }} {{#ifexpr: {{{year|1801}}} >= 1660 and {{{year|1801}}} < 1689 | }} {{#ifexpr: {{{year|1801}}} >= 1689 and {{{year|1801}}} < 1694 | }} {{#ifexpr: {{{year|1801}}} >= 1694 and {{{year|1801}}} < 1702 | }} {{#ifexpr: {{{year|1801}}} >= 1702 | }} |    }} | Parliament of Great Britain= {{#ifexpr: {{{year|1801}}} < 1714 |    |     }} | {{#if:{{{year|}}| {{#ifexpr: {{{year|2000}}} < 1816 | }} {{#ifexpr: {{{year|2000}}} >= 1816 and {{{year|2000}}} < 1837 | }} {{#ifexpr: {{{year|2000}}} >= 1837 and {{{year|2000}}} < 1953 | }} {{#ifexpr: {{{year|2000}}} >= 1953 | }} |    }} }} }}
 * name        = Infobox UK Legislation
 * bodystyle   =
 * bodyclass   = vevent
 * title       =
 * titlestyle  =
 * above       = {{{short_title|}}}
 * aboveclass  = summary
 * abovestyle  =
 * image       = {{#switch: {{{parliament}}}
 * imagestyle  =
 * caption     =
 * captionstyle =
 * headerstyle =
 * labelstyle  =
 * datastyle   =
 * header1 = {{{parliament}}}
 * label2  = Long title:
 * data2   = {{{long_title|}}}
 * class2  = description
 * label3  = Statute book chapter:
 * data3   = {{{statute_book_chapter|}}}
 * label4  = Introduced by:
 * data4   = {{{introduced_by|}}}
 * class5  = organiser
 * label5  = Territorial extent:
 * data5   = {{{territorial_extent|}}}
 * header6 = {{#if:{{{royal_assent|}}}{{{commencement|}}}{{{repeal_date|}}} |Dates}}
 * label7  = Royal Assent:
 * data7   = {{{royal_assent|}}}
 * label8  = Commencement:
 * data8   = {{{commencement|}}}
 * label9  = Repeal date:
 * data9   = {{{repeal_date|}}}
 * header10 = {{#if:{{{amendments|}}}{{{related_legislation|}}}{{{repealing_legislation|}}} |Other legislation}}
 * label11 = Amendments:
 * data11  = {{{amendments|}}}
 * header12 =
 * label12 = Related legislation:
 * data12  = {{{related_legislation|}}}
 * header13 =
 * label13 = Repealing legislation:
 * data13  = {{{repealing_legislation|}}}
 * header14 = Status: {{#switch:{{{status}}} | Current=Current legislation | Amended=Substantially amended | Repealed=Repealed | Not_yet_in_force=Not yet in force | Not_fully_in_force=Not fully in force | Unknown }}
 * header15 = {{#if:{{{legislation_history|}}}|[{{{legislation_history|}}} History of passage through Parliament]}}
 * header16 = {{#if:{{{theyworkforyou|}}}||}}}}} Records of Parliamentary debate relating to the statute from Hansard, at TheyWorkForYou}}
 * header17 = {{#if:{{{millbankhansard|}}}||}}}}} Records of Parliamentary debate relating to the statute from hansard.millbanksystems.com}}
 * header18 = {{#if:{{{original_text|}}}|[{{{original_text|}}} Text of statute as originally enacted]}}
 * header19 = {{#if:{{{use_new_UK-LEG|}}}||{{#if:{{{activeTextDocId|}}}|{{UK-SLD|{{{activeTextDocId|}}} }} }}}}
 * header20 = {{#ifeq:{{{use_new_UK-LEG}}}|yes|{{UK-LEG|{{PAGETITLE}}}}}}
 * belowstyle =
 * below =
 * header18 = {{#if:{{{original_text|}}}|[{{{original_text|}}} Text of statute as originally enacted]}}
 * header19 = {{#if:{{{use_new_UK-LEG|}}}||{{#if:{{{activeTextDocId|}}}|{{UK-SLD|{{{activeTextDocId|}}} }} }}}}
 * header20 = {{#ifeq:{{{use_new_UK-LEG}}}|yes|{{UK-LEG|{{PAGETITLE}}}}}}
 * belowstyle =
 * below =
 * below =