Template:Template sandbox: Difference between revisions

no edit summary
Tag: Reverted
Tag: Reverted
* Feel free to try your editing skills below *
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■--></noinclude>
 
{{Infobox
| bodyclass = vevent {{#if:{{{collapsed|}}}|collapsible collapsed}}
| above = {{BASEPAGENAME}}
 
| image = [[Image:Seal of {{{State|}}}.svg|100px]]
| title = {{#if:{{{collapsed|}}}||{{{short_title|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}
| header1 = [[{{{State|}}} State Legislature]]
| titleclass = summary
| label2 = Full name
 
| data2 = {{{Full_name|}}}
| above = {{#if:{{{collapsed|}}}|<span style="font-size:125%">{{{short_title|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}</span>|}}
| label3 = Status
| abovestyle = font-size:100%
| data3 = {{{Status|}}}
| aboveclass = summary
| label4 = Introduced
 
| data4 = {{{Introduced|}}}
| subheader = {{#switch:{{lc:{{{type}}}}}|si|statutory instrument=Statutory Instrument|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 the Welsh Parliament|ni act=Act of the Northern Ireland Assembly|gibraltar act=Act of the Gibraltar Parliament|measure=Measure of the National Assembly for Wales}}
| label5 =Assembly voted
| subheaderstyle = font-weight: bold;
| data5 = {{{Assembly_Voted|}}}
 
| label6 =House voted
| headerstyle = border-top: 1px solid #aaa;
| data6 = {{{House_Voted|}}}
 
| label7 = Senate voted
| data7image = {{#switch:{{{Senate_Votedparliament|}}}
|Scottish Parliament
| label8 = Signed into law
|Scottish= [[File:Coat of Arms of the United Kingdom in Scotland (Variant 1).svg|140px|link=|alt=]]
| data8 = {{{Signed|}}}
| Northern Ireland Assembly = [[File:Royal Coat of Arms of the United Kingdom (HM Government).svg|140px|link=|alt=]]
| label9 = Sponsor(s)
| National Assembly for Wales = [[File:Royal Badge of Wales (2008).svg|140px|link=|alt=]]
| data9 = {{{Sponsors|}}}
| Parliament of Northern Ireland = [[File:Royal Coat of Arms of the United Kingdom (HM Government).svg|140px|link=|alt=]]
| label10 = Governor
| Parliament of Gibraltar = [[File:Coat of Arms of the Government of Gibraltar.svg|140px|link=|alt=]]
| data10 = {{{Governor|}}}
|Parliament of Scotland
| label11 = Code
| data11 Scotland= {{#if:{Code{{year|}}}|
{{#switch: {{{year}}}
| label12 = Section
| 1558 = [[File:Royal Arms of the Kingdom of Scotland (1558-1559).svg|140px|link=|alt=]]
| data12 = {{{Section|}}}
| 1559 = [[File:Royal Arms of the Kingdom of Scotland (1559-1560).svg|140px|link=|alt=]]
| label13 = Resolution
| 1560
| data13 = {{{Resolution|}}}
| 1561
| label14 = Associated bills
| 1562
| data14 = {{{Associated_bills|}}}
| 1563
| label15 = Website
| 1564 = [[File:Royal Arms of the Kingdom of Scotland (1560-1565).svg|140px|link=|alt=]]
| data15 = {{{URL|}}}
|
{{#ifexpr:{{{year|1600}}} < 1603 | [[File:Royal Coat of Arms of the Kingdom of Scotland (Variant 1).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|1600}}} >= 1603 and {{{year|1600}}} < 1649 | [[File:Coat of Arms of Scotland (1603-1649).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|1600}}} >= 1649 and {{{year|1600}}} < 1660 | [[File:Coat of Arms of the Protectorate (1653–1659).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|1600}}} >= 1660 and {{{year|1600}}} < 1689 | [[File:Coat of Arms of Scotland (1660-1689).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|1600}}} >= 1689 and {{{year|1600}}} < 1694 | [[File:Coat of Arms of Scotland (1689-1694).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|1600}}} >= 1694 and {{{year|1600}}} < 1702 | [[File:Coat of Arms of Scotland (1694-1702).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|1600}}} >= 1702 | [[File:Coat of Arms of Scotland (1660-1689).svg|140px|link=|alt=]] }}
}}
| #default = [[File:Royal Coat of Arms of the Kingdom of Scotland.svg|140px|link=|alt=]]<!-- if no {{{year}}} use arms of William the Lion -->
}}
|Parliament of Ireland
|Ireland
|Irish= {{#if:{{{year|}}}
| {{#ifexpr:{{{year|1800}}} < 1542
| [[File:Coat of arms of the Lordship of Ireland.svg|140px|link=|alt=]]<!-- Lordship of Ireland until Henry VIII's break with Rome -->
| [[File:Kingdom Ireland.svg|140px|link=|alt=]]<!-- Kingdom of Ireland after Henry VIII's break with Rome -->
}}
| [[File:Kingdom Ireland.svg|140px|link=|alt=]]<!-- if no {{{year}}} use Royal Arms of Ireland -->
}}
|Parliament of England
|England
|English = {{#if:{{{year|}}}|
{{#ifexpr:{{{year|1801}}} < 1154 | [[File:Coat of Arms of England (-1340).svg|140px|link=|alt=]] }}<!-- use 3 lions -->
{{#ifexpr:{{{year|1801}}} >= 1154 and {{{year|1801}}} < 1189 | [[File:Royal Arms of England (1154-1189).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|1801}}} >= 1189 and {{{year|1801}}} < 1198 | [[File:Royal Arms of England (1189-1198).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|1801}}} >= 1198 and {{{year|1801}}} < 1340 | [[File:Coat of Arms of England (-1340).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|1801}}} >= 1340 and {{{year|1801}}} < 1360 | [[File:Coat of Arms of Edward III of England (1327-1377) (Attributed).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|1801}}} >= 1360 and {{{year|1801}}} < 1369 | [[File:Coat of Arms of England (-1340).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|1801}}} >= 1369 and {{{year|1801}}} < 1395 | [[File:Coat of Arms of Edward III of England (1327-1377) (Attributed).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|1801}}} >= 1395 and {{{year|1801}}} < 1399 | [[File:Coat of Arms of Richard II of England (1377-1399).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|1801}}} >= 1399 and {{{year|1801}}} < 1406 | [[File:Coat of Arms of Edward III of England (1327-1377) (Attributed).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|1801}}} >= 1406 and {{{year|1801}}} < 1422 | [[File:Coat of Arms of Henry IV & V of England (1399-1413-1422).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|1801}}} >= 1422 and {{{year|1801}}} < 1461 | [[File:Coat of Arms of Henry VI of England (1422-1471).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|1801}}} >= 1461 and {{{year|1801}}} < 1470 | [[File:Coat of Arms of Edward IV of England (1461-1483).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|1801}}} >= 1470 and {{{year|1801}}} < 1471 | [[File:Coat of Arms of Henry VI of England (1422-1471).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|1801}}} >= 1471 and {{{year|1801}}} < 1483 | [[File:Coat of Arms of Edward IV of England (1461-1483).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|1801}}} >= 1483 and {{{year|1801}}} < 1485 | [[File:Coat of Arms of Richard III of England (1483-1485).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|1801}}} >= 1485 and {{{year|1801}}} < 1509 | [[File:Coat of Arms of Henry VII of England (1485-1509).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|1801}}} >= 1509 and {{{year|1801}}} < 1547 | [[File:Coat of Arms of Henry VIII of England (1509-1547).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|1801}}} >= 1547 and {{{year|1801}}} < 1554 | [[File:Coat of Arms of England (1509-1554).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|1801}}} >= 1554 and {{{year|1801}}} < 1558 | [[File:Coat of Arms of England (1554-1558).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|1801}}} >= 1558 and {{{year|1801}}} < 1603 | [[File:Coat of Arms of England (1558-1603).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|1801}}} >= 1603 and {{{year|1801}}} < 1649 | [[File:Coat of Arms of England (1603-1649).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|1801}}} >= 1649 and {{{year|1801}}} < 1660 | [[File:Coat of Arms of the Protectorate (1653–1659).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|1801}}} >= 1660 and {{{year|1801}}} < 1689 | [[File:Coat of Arms of England (1660-1689).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|1801}}} >= 1689 and {{{year|1801}}} < 1694 | [[File:Coat of Arms of England (1689-1694).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|1801}}} >= 1694 and {{{year|1801}}} < 1702 | [[File:Coat of Arms of England (1694-1702).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|1801}}} >= 1702 | [[File:Coat of Arms of England (1702-1707).svg|140px|link=|alt=]] }}
| [[File:Royal Arms of England (1603-1707).svg|140px|link=|alt=]]<!-- if no {{{year}}} use the unsupported Henry IV arms -->
}}
| Parliament of Great Britain = {{#ifexpr:{{{year|1801}}} < 1714
| [[File:Coat of Arms of Great Britain (1707-1714).svg|140px|link=|alt=]]<!-- Queen Anne -->
| [[File:Coat of Arms of Great Britain (1714-1801).svg|140px|link=|alt=]]<!-- Kings George I–III -->
}}
| #default = {{#if:{{{year|}}}|<!-- Assume Parliament of the United Kingdom if it's not otherwise specified -->
{{#ifexpr:{{{year|2000}}} < 1816 | [[File:Coat of Arms of the United Kingdom (1801-1816).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|2000}}} >= 1816 and {{{year|2000}}} < 1837 | [[File:Coat of Arms of the United Kingdom (1816-1837).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|2000}}} >= 1837 and {{{year|2000}}} < 1953 | [[File:Coat of Arms of the United Kingdom (1837-1952).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|2000}}} >= 1953 | [[File:Royal Coat of Arms of the United Kingdom (HM Government).svg|140px|link=|alt=]] }}
| <includeonly>[[File:Royal Coat of Arms of the United Kingdom (HM Government).svg|140px|link=|alt=]]<!-- if no {{{year}}} use post-1953 arms --></includeonly>
}}
}}
| caption = {{#if:{{{parliament|}}}|[[{{{parliament}}}]]}}
 
| label2 = [[Long title]]
| data2 = {{{long_title|}}}{{#if:{{{citation_auth|}}}|<br/>{{small|(The short title is authorised by section {{{citation_auth|}}} of the Act.)}}}}
| class2 = description
| label3 = [[Citation of United Kingdom legislation|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|}}} ({{hover title|2=Commons|the House of Commons}})}}
| 2 = {{#if:{{{introduced_lords|}}}|{{{introduced_lords|}}} ({{hover title|2=Lords|the House of Lords}})}}
}} }}
| class4 = organiser
| label5 = 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 = [[Coming into force|Commencement]]
| data10 = {{{commencement|}}}
| class10 = dtstart
| label11 = Repealed
| data11 = {{{repeal_date|}}}
| class11 = dtend
 
| header12 = {{#if:{{{amends|}}}{{{replaces|}}}{{{primary_legislation|}}}{{{eu_directives|}}}{{{amendments|}}}{{{repealing_legislation|}}}{{{related_legislation|}}}|Other legislation}}
| label13 = Amends
| data13 = {{{amends|}}}
| label14 = Repeals
| data14 = {{{replaces|}}}
| label15 = Made under
| data15 = {{{primary_legislation|}}}
| label16 = [[Transposition (law)|Transposes]]
| data16 = {{{eu_directives|}}}
| label17 = Amended by
| data17 = {{{amendments|}}}
| label18 = [[Repeal|Repealed by]]
| data18 = {{{repealing_legislation|}}}
| label19 = Relates to
| data19 = {{{related_legislation|}}}
 
| header20 = {{#if:{{{status|}}}|<div style="background-color: #{{#switch:{{lc:{{{status}}}}}|current=ccffcc|amended=ffffcc|repealed=ffcccc|not_yet_in_force=ffffcc|partly_in_force=ffffcc|not_passed=ffcccc|spent=ffcccc|partially_repealed=ffa16c}};">Status: {{#switch:{{lc:{{{status}}}}}|current=Current legislation|amended=Amended|repealed=Repealed|not_yet_in_force=Not yet in force|partly_in_force=Partly in force|not_passed=Not passed|spent=[[Spent enactment|Spent]]|expired=Expired|partially_repealed=Partially repealed|#default=Unknown}}</div>}}
 
| header21 = {{#if:{{{status_IE|}}}{{{status_NI|}}}{{{status_EW|}}}{{{status_Scot|}}}|Status}}
| label22 = England and Wales
| data22 = {{#switch:{{lc:{{{status_EW}}}}}|current=Current legislation|amended=Amended|repealed=Repealed|not_yet_in_force=Not yet in force|partly_in_force=Partly in force|not_passed=Not passed|spent=[[Spent enactment|Spent]]|expired=Expired|partially_repealed=Partially repealed|#default={{{status_EW|}}}}}
| label23 = Scotland
| data23 = {{#switch:{{lc:{{{status_Scot}}}}}|current=Current legislation|amended=Amended|repealed=Repealed|not_yet_in_force=Not yet in force|partly_in_force=Partly in force|not_passed=Not passed|spent=[[Spent enactment|Spent]]|expired=Expired|partially_repealed=Partially repealed|#default={{{status_Scot|}}}}}
| label24 = Republic of Ireland
| data24 = {{#switch:{{lc:{{{status_IE}}}}}|current=Current legislation|amended=Amended|repealed=Repealed|not_yet_in_force=Not yet in force|partly_in_force=Partly in force|not_passed=Not passed|spent=[[Spent enactment|Spent]]|expired=Expired|partially_repealed=Partially repealed|#default={{{status_IE|}}}}}
| label25 = Northern Ireland
| data25 = {{#switch:{{lc:{{{status_NI}}}}}|current=Current legislation|amended=Amended|repealed=Repealed|not_yet_in_force=Not yet in force|partly_in_force=Partly in force|not_passed=Not passed|spent=[[Spent enactment|Spent]]|expired=Expired|partially_repealed=Partially repealed|#default={{{status_NI|}}}}}
 
| header26 = {{#if:{{{legislation_history|}}}|[{{{legislation_history|}}} History of passage through Parliament]}}
| header16 = {{#if:{{{status|}}}|<div style="background-color: #{{#switch:{{lc:{{{status}}}}}|current=ccffcc|amended=ffffcc|repealed=ffcccc|not_yet_in_force=ffffcc|partly_in_force=ffffcc|not_passed=ffcccc|spent=ffcccc|partially_repealed=ffa16c}};">Status: {{#switch:{{lc:{{{status}}}}}|current=Current legislation|amended=Amended|repealed=Repealed|not_yet_in_force=Not yet in force|partly_in_force=Partly in force|not_passed=Not passed|spent=[[Spent enactment|Spent]]|expired=Expired|partially_repealed=Partially repealed|#default=Unknown}}</div>}}
| header27 = {{#if:{{{theyworkforyou|}}}|[https://www.theyworkforyou.com/search/?s={{urlencode:{{{theyworkforyou|}}}}} Records of Parliamentary debate relating to the statute] from [[Hansard]], at [[TheyWorkForYou]]}}
| label17 = Status
| header28 = {{#if:{{{millbankhansard|}}}|[https://hansard.parliament.uk/search?searchTerm={{urlencode:{{{millbankhansard|}}}}} Records of Parliamentary debate relating to the statute] from [http://hansard.parliament.uk/ Hansard]}}
| data17 = {{#switch:|current=Current legislation|amended=Amended|repealed=Repealed|not_yet_in_force=Not yet in force|partly_in_force=Partly in force|not_passed=Not passed|spent=[[Spent enactment|Spent]]|expired=Expired|partially_repealed=Partially repealed|#default=}}
| header29 = {{#if:{{{original_text|}}}|[{{{original_text|}}} Text of statute as originally enacted]}}
| header30 = {{#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}}}}}}}
}}
| class30 = url
| header31 = {{#if:{{{revised_text|}}}|[{{{revised_text|}}} Revised text of statute as amended]}}
}}{{#invoke:Check for unknown parameters|check
|unknown=[[Category:Pages using Infobox UK legislation with unknown parameters|_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 |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
}}