Difference between revisions of "Template:Infobox legislation"

From The League Wiki
Jump to navigation Jump to search
Template>Pizza1016
m
 
 
(3 intermediate revisions by 2 users not shown)
Line 6: Line 6:
 
| abovestyle  = {{#if:{{{background_color|}}}|border-top: 2px solid {{{background_color}}}; border-bottom: 2px solid {{{background_color}}}|background-color: #ededed}}
 
| abovestyle  = {{#if:{{{background_color|}}}|border-top: 2px solid {{{background_color}}}; border-bottom: 2px solid {{{background_color}}}|background-color: #ededed}}
 
| headerstyle = {{#if:{{{background_color|}}}|border-top: 2px solid {{{background_color}}}; border-bottom: 2px solid {{{background_color}}}|background-color: #ededed}}
 
| headerstyle = {{#if:{{{background_color|}}}|border-top: 2px solid {{{background_color}}}; border-bottom: 2px solid {{{background_color}}}|background-color: #ededed}}
|image      = {{#invoke:InfoboxImage|InfoboxImage|image={{#if:{{{image|}}}
+
|image      = {{center|{{#invoke:InfoboxImage|InfoboxImage|image={{#if:{{{image|}}}
 
   |{{{image}}}
 
   |{{{image}}}
 
   |{{Infobox legislation/images
 
   |{{Infobox legislation/images
Line 12: Line 12:
 
     |date={{{date_enacted|}}}  
 
     |date={{{date_enacted|}}}  
 
     }}
 
     }}
   }}|size={{{imagesize|{{{image_size|}}}}}}|sizedefault=frameless|upright={{{upright|{{{image_upright|yes}}}}}}|alt={{{imagealt|}}}}}
+
   }}|size={{{imagesize|{{{image_size|}}}}}}|sizedefault=frameless|upright={{{upright|{{{image_upright|yes}}}}}}|alt={{{imagealt|}}}}}}}
  
|caption    = {{{caption|}}}
+
|caption    = {{center|{{{caption|}}}}}
  
 
| labelstyle  = {{{labelstyle|}}}
 
| labelstyle  = {{{labelstyle|}}}
Line 46: Line 46:
 
|label13    = Assented to
 
|label13    = Assented to
 
|data13      = {{{date_assented|}}}
 
|data13      = {{{date_assented|}}}
|label14    = [[Royal assent]]
+
|label14    = Royal assent
 
|data14      = {{{royal_assent|}}}
 
|data14      = {{{royal_assent|}}}
 
|label15    = Signed
 
|label15    = Signed
Line 54: Line 54:
 
|label17    = Commenced
 
|label17    = Commenced
 
|data17      = {{{date_commenced|{{{commencement|}}}}}}
 
|data17      = {{{date_commenced|{{{commencement|}}}}}}
|label18    = [[Effective date|Effective]]
+
|label18    = Effective
 
|data18      = {{{date_effective|}}}
 
|data18      = {{{date_effective|}}}
 
|label19    = Date of expiry
 
|label19    = Date of expiry
Line 108: Line 108:
 
|data61      = {{{amends|}}}
 
|data61      = {{{amends|}}}
  
|header62    = {{#if:{{{repeals|}}}|[[Repeal]]s}}
+
|header62    = {{#if:{{{repeals|}}}|Repeals}}
 
|data63      = {{{repeals|}}}
 
|data63      = {{{repeals|}}}
  
Line 142: Line 142:
 
   |#default  = transparent; border-top:#aaa 1px solid;
 
   |#default  = transparent; border-top:#aaa 1px solid;
 
   }};
 
   }};
|below      = {{#if:{{{status|}}}|'''Status:''' {{#switch:{{lc:{{{status}}}}}  
+
|below      = {{center|{{#if:{{{status|}}}|'''Status:''' {{#switch:{{lc:{{{status}}}}}  
 
   |pending            = Pending
 
   |pending            = Pending
 
   |not passed        = Not passed
 
   |not passed        = Not passed
Line 160: Line 160:
 
   }}
 
   }}
 
}}
 
}}
}}{{#if:{{{amendments|}}}|[[Category:Pages using a deprecated parameter in the legislation infobox]]}}<noinclude>
+
}}{{#if:{{{amendments|}}}|[[Category:Pages using a deprecated parameter in the legislation infobox]]}}}}<noinclude>
 
{{Documentation}}</noinclude>
 
{{Documentation}}</noinclude>

Latest revision as of 14:20, 19 January 2023