Jump to content

Template:Infobox UK legislation and Template:Infobox UK legislation/sandbox: Difference between pages

(Difference between pages)
Page 1
Page 2
Content deleted Content added
Fixed 1837–1900 coat of arms. The winged harp wasn't dropped until Elizabeth II.
Tags: Mobile edit Mobile web edit Advanced mobile edit
 
mNo edit summary
 
Line 1: Line 1:
{{short description|United Kingdom legislation|noreplace}}{{Infobox
{{short description|United Kingdom legislation|noreplace}}{{Infobox
| bodyclass = vevent {{#if:{{{collapsed|}}}|mw-collapsible mw-collapsed}}
| bodyclass = vevent {{#if:{{{collapsed|}}}|collapsible collapsed}}


| title = {{#if:{{{collapsed|}}}||{{{short_title|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}
| above = {{#if:{{{collapsed|}}}||{{{short_title|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}
| titleclass = summary

| above = {{#if:{{{collapsed|}}}|<span style="font-size:125%">{{{short_title|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}</span>|}}
| abovestyle = font-size:100%
| aboveclass = summary
| aboveclass = summary


| abovestyle = {{#if:{{{background_color|}}}|border-top: 2px solid {{{background_color}}}; border-bottom: 2px solid {{{background_color}}}|background-color: #ededed}}
| 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|ni act=Act of the Northern Ireland Assembly|gibraltar act=Act of the Gibraltar Parliament|measure=Measure of the National Assembly for Wales|sr&o=Statutory Rules and Orders}}
| headerstyle = {{#if:{{{background_color|}}}|border-top: 2px solid {{{background_color}}}; border-bottom: 2px solid {{{background_color}}}|background-color: #ededed}}

| 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 Senedd Cymru|senedd act=Act of Senedd Cymru|ni act=Act of the Northern Ireland Assembly|gibraltar act=Act of the Gibraltar Parliament|measure=Measure of the National Assembly for Wales}}
| subheaderstyle = font-weight: bold;
| subheaderstyle = font-weight: bold;


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


| image = {{#switch:{{{parliament|}}}
| image = {{#switch:{{{parliament|}}}
|Scottish Parliament
|Scottish Parliament
|Scottish= [[File:Coat of Arms of the United Kingdom in Scotland (Variant 1).svg|140px|link=|alt=]]
|Scottish= [[File:Coat of Arms of the United Kingdom in Scotland (Variant 1).svg|140px|link=|alt=]]
| Northern Ireland Assembly = [[File:Royal Coat of Arms of the United Kingdom (Variant 1, 2022).svg|140px|link=|alt=]]
| Northern Ireland Assembly = [[File:Royal Coat of Arms of the United Kingdom (HM Government) (2022).svg|140px|link=|alt=]]
| Welsh Parliament - Senedd Cymru
| Welsh Parliament - Senedd Cymru = [[File:Royal Coat of Arms of the United Kingdom (HM Government) (2022).svg|140px|link=|alt=]]
| Senedd Cymru - Welsh Parliament
| Senedd Cymru - Welsh Parliament = [[File:Royal Coat of Arms of the United Kingdom (HM Government) (2022).svg|140px|link=|alt=]]
| Welsh Parliament = [[File:Royal Coat of Arms of the United Kingdom (HM Government) (2022).svg|140px|link=|alt=]]
| Welsh Parliament
| Senedd Cymru = [[File:Royal Coat of Arms of the United Kingdom (HM Government) (2022).svg|140px|link=|alt=]]
| Senedd Cymru
| Senedd = [[File:Royal Coat of Arms of the United Kingdom (HM Government) (2022).svg|140px|link=|alt=]]
| Senedd
| National Assembly for Wales = [[File:Royal Badge of Wales (2008).svg|140px|link=|alt=]]
| National Assembly for Wales = [[File:Royal Badge of Wales (2008).svg|140px|link=|alt=]]
| Parliament of Northern Ireland = [[File:Royal Arms of the United Kingdom (Privy Council).svg|140px|link=|alt=]]
| Parliament of Northern Ireland = [[File:Royal Coat of Arms of the United Kingdom (HM Government) (2022).svg|140px|link=|alt=]]
| Parliament of Gibraltar = [[File:Coat of Arms of the Government of Gibraltar.svg|140px|link=|alt=]]
| Parliament of Gibraltar = [[File:Coat of Arms of the Government of Gibraltar.svg|140px|link=|alt=]]
|Parliament of Scotland
|Parliament of Scotland
Line 92: Line 90:
}}
}}
| #default = {{#if:{{{year|}}}|<!-- Assume Parliament of the United Kingdom if it's not otherwise specified -->
| #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=]] }} <!-- George III from Act of Union to 1816 -->
{{#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=]] }} <!-- George III from 1816 to William IV -->
{{#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}}} < 1901 | [[File:Coat of Arms of the United Kingdom (1837).svg|140px|link=|alt=]] }} <!-- Queen Victoria -->
{{#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}}} >= 1901 and {{{year|2000}}} < 1953 | [[File:Coat of arms of the United Kingdom (1901-1952).svg|140px|link=|alt=]] }} <!-- Edward VII to George VI -->
{{#ifexpr:{{{year|2000}}} >= 1952 and {{{year|2000}}} < 2022 | [[File:Royal Coat of Arms of the United Kingdom (HM Government).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|2000}}} >= 1953 and {{{year|2000}}} < 2022 | [[File:Royal Coat of Arms of the United Kingdom (variant 1, 1952-2022).svg|140px|link=|alt=]]}} <!-- Elizabeth II -->
{{#ifexpr:{{{year|2000}}} >= 2022 | [[File:Royal Coat of Arms of the United Kingdom (HM Government) (2022).svg|140px|link=|alt=]] }}
{{#ifexpr:{{{year|2000}}} >= 2022 | [[File:Royal Coat of Arms of the United Kingdom (Variant 1, 2022).svg|140px|link=|alt=]] }}<!-- Charles III -->
| <includeonly>[[File:Royal Coat of Arms of the United Kingdom (HM Government) (2022).svg|140px|link=|alt=]]<!-- if no {{{year}}} use post-2022 arms --></includeonly>
| <includeonly>[[File:Royal Coat of Arms of the United Kingdom (Variant 1, 2022).svg|140px|link=|alt=]]<!-- if no {{{year}}} use post-2022 arms --></includeonly>
}}
}}
}}
}}
| caption = {{#if:{{{parliament|}}}|[[{{{parliament}}}]]}}
| header1 = {{#if:{{{parliament|}}}|[[{{{parliament}}}]]}}


|data2= {{Collapsible list
| label2 = [[Short and long titles|Long title]]
|titlestyle=font-weight:normal;background:transparent;text-align:center;
| data2 = {{{long_title|}}}{{#if:{{{citation_auth|}}}|<br/>(The short title is authorised by section {{{citation_auth|}}} of the Act.)}}
| title = '''[[Long title]]'''
| expand = {{#if:{{{autocollapse_long_title|}}}||true}}
| {{#if: {{{long_title|}}} |{{center|{{{long_title}}} }}
}} }} {{#if:{{{citation_auth|}}}|<br/>{{small|(The short title is authorised by section {{{citation_auth|}}} of the Act.)}}}}
| class2 = description
| class2 = description
| label3 = [[Citation of United Kingdom legislation|Citation]]
| label3 = [[Citation of United Kingdom legislation|Citation]]
Line 114: Line 115:
}} }}
}} }}
| class4 = organiser
| class4 = organiser
| label5 = {{nowrap|Territorial extent&nbsp;}}
| label5 = Territorial extent
| data5 = {{{territorial_extent|}}}
| data5 = {{{territorial_extent|}}}


Line 149: Line 150:
| data20 = {{{related_legislation|}}}
| data20 = {{{related_legislation|}}}


| header21 = {{#if:{{{status|}}}|<div style="background-color: #{{#switch:{{lc:{{{status}}}}}|current=ccffcc|amended=ffffcc|repealed=ffcccc|revoked=ffcccc|expired=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|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 enactment|Spent]]|expired=Expired|partially_repealed=Partially repealed|#default=Unknown}}</div>}}
| header21 = {{#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|partially expired=ffcccc|}};">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_expired=Partially expired|partially_repealed=Partially repealed|#default=Unknown}}</div>}}


| header22 = {{#if:{{{status_IE|}}}{{{status_NI|}}}{{{status_EW|}}}{{{status_Scot|}}}|Status}}
| header22 = {{#if:{{{status_IE|}}}{{{status_NI|}}}{{{status_EW|}}}{{{status_Scot|}}}|Status}}
| label23 = England and Wales
| 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 enactment|Spent]]|expired=Expired|partially_repealed=Partially repealed|#default={{{status_EW|}}}}}
| data23 = {{#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|partially expired=ffcccc|#default={{{status_EW|}}}}}
| label24 = Scotland
| 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 enactment|Spent]]|expired=Expired|partially_repealed=Partially repealed|#default={{{status_Scot|}}}}}
| data24 = {{#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|partially expired=ffcccc|#default={{{status_Scot|}}}}}
| label25 = Republic of Ireland
| 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 enactment|Spent]]|expired=Expired|partially_repealed=Partially repealed|#default={{{status_IE|}}}}}
| data25 = {{#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|partially expired=ffcccc|#default={{{status_IE|}}}}}
| label26 = Northern Ireland
| 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 enactment|Spent]]|expired=Expired|partially_repealed=Partially repealed|#default={{{status_NI|}}}}}
| data26 = {{#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|partially expired=ffcccc|#default={{{status_NI|}}}}}


| header27 = {{#if:{{{legislation_history|}}}|[{{{legislation_history|}}} History of passage through Parliament]}}
| data27 = {{#if:{{{legislation_history|}}}| ----[{{{legislation_history|}}} History of passage through Parliament] <br>----}}
| header28 = {{#if:{{{theyworkforyou|}}}|[https://www.theyworkforyou.com/search/?s={{urlencode:{{{theyworkforyou|}}}}} Records of Parliamentary debate relating to the statute] from [[Hansard]], at [[TheyWorkForYou]]}}
| data28 = {{#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]}}
| data29 = {{#if:{{{millbankhansard|}}}|[https://hansard.parliament.uk/search?searchTerm={{urlencode:{{{millbankhansard|}}}}} Records of Parliamentary debate relating to the statute] from [http://hansard.parliament.uk/ Hansard]<br> ----}}
| header30 = {{#if:{{{original_text|}}}|[{{{original_text|}}} Text of statute as originally enacted]}}
| data30 = {{#if:{{{original_text|}}}|[{{{original_text|}}} Text of statute as originally enacted]}}
| header31 = {{#if:{{{revised_text|}}}|[{{{revised_text|}}} Revised text of statute as amended]}}
| data31 = {{#if:{{{revised_text|}}}|[{{{revised_text|}}} Revised text of statute as amended]<br> ----}}
| header32 = {{#ifeq:{{{use_new_UK-LEG}}}|yes
| data32 = {{#ifeq:{{{use_new_UK-LEG}}}|yes
| {{UK-LEG|title={{#if:{{{UK-LEG_title|}}}|{{{UK-LEG_title}}}|{{PAGENAME}}}}}}
| {{UK-LEG|title={{#if:{{{UK-LEG_title|}}}|{{{UK-LEG_title}}}|{{PAGENAME}}}}}}
| {{#if:{{{UK-LEG_title|}}}|{{UK-LEG|title={{{UK-LEG_title}}}}}}}
| {{#if:{{{UK-LEG_title|}}}|{{UK-LEG|title={{{UK-LEG_title}}}}}}}