Template:Template sandbox: Difference between revisions

Replaced content with '<noinclude>{{Please leave this line alone (template sandbox heading)}}<!-- * Welcome to the template sandbox! * *...'
Tag: Reverted
(Replaced content with '<noinclude>{{Please leave this line alone (template sandbox heading)}}<!-- * Welcome to the template sandbox! * *...')
Tags: Replaced Manual revert Reverted
* Feel free to try your editing skills below *
■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■■--></noinclude>
 
{{Infobox
| bodyclass = vevent {{#if:{{{collapsed|}}}|collapsible collapsed}}
 
| title = {{#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
 
| 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}}
| subheaderstyle = font-weight: bold;
 
| headerstyle = border-top: 1px solid #aaa;
 
| image = Seal of California.svg
| 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]}}
| header27 = {{#if:{{{theyworkforyou|}}}|[https://www.theyworkforyou.com/search/?s={{urlencode:{{{theyworkforyou|}}}}} Records of Parliamentary debate relating to the statute] from [[Hansard]], at [[TheyWorkForYou]]}}
| 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]}}
| 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
}}