Template:Template sandbox: Difference between revisions

no edit summary
(Reverted to revision 989627011 by Fluffy89502 (talk))
Tags: Undo Twinkle Reverted
Tag: Reverted
| data15 = {{{URL|}}}
 
| header16header20 = {{#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>}}
 
| label17 = Status
| header21 = {{#if:{{{status_IE|}}}{{{status_NI|}}}{{{status_EW|}}}{{{status_Scot|}}}|Status}}
| 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=}}
| label22 = England and Wales
| data17 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|}}}}}
}}