Template:Infobox legislation: Difference between revisions
From Roses, Tulips, & Liberty
Content added Content deleted
m (Protected Template:Infobox Legislation: on today's FA [edit=sysop:move=sysop]) |
m (16 revisions imported from wikipedia:Template:Infobox_legislation) |
||
(140 intermediate revisions by 37 users not shown) | |||
Line 1: | Line 1: | ||
{{Infobox |
|||
<table align="right" border="1" cellpadding="4" cellspacing="0" style="margin: 0 0 1em 1em; background: #f9f9f9; border: 1px #aaaaaa solid; border-collapse: collapse; font-size: 95%; clear:right; width: {{#if:{{{tablewidth|}}}|{{{tablewidth}}}|300}}px;"> |
|||
| child = {{{child|}}} |
|||
<tr><td align="center" colspan="2" style="background: #f0f0f0"> '''''{{{Name}}}'''''</td></tr> |
|||
| subbox = {{{subbox|}}} |
|||
<tr><td align="center" colspan="2">{{{Parliament/Congress/Senate it was passed in}}}{{#if:{{{Logo of that parliament or congress|}}}| <br> <br> {{{Logo of that parliament or congress|}}}}}</td></tr>{{#if:{{{longtitle|}}}| |
|||
| above = {{{name|{{{short_title|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}} |
|||
<tr><td width="25%"> <small>Long title:</small></td> |
|||
| bodyclass = vcard |
|||
<td> {{{longtitle|}}}</td></tr>}}{{#if:{{{introducedby|}}}| |
|||
| abovestyle = {{#if:{{{background_color|}}}|border-top: 2px solid {{{background_color}}}; border-bottom: 2px solid {{{background_color}}}|background-color: #ededed}} |
|||
<tr><td width="25%"> <small>Introduced by:</small></td><td> {{{introducedby|}}}</td></tr>}} |
|||
| headerstyle = {{#if:{{{background_color|}}}|border-top: 2px solid {{{background_color}}}; border-bottom: 2px solid {{{background_color}}}|background-color: #ededed}} |
|||
<tr><td align="center" colspan="2" style="background: #f0f0f0">'''Dates'''</td></tr>{{#if:{{{datepassed|}}}| |
|||
|image = {{#invoke:InfoboxImage|InfoboxImage|image={{#if:{{{image|}}} |
|||
<tr><td width="25%"><small>Date passed:</small></td><td>{{{datepassed|}}}</td></tr>}}{{#if:{{{datesigned|}}}| |
|||
|{{{image}}} |
|||
<tr><td width="25%"><small>Date signed into law:</small></td><td>{{{datesigned|}}}</td></tr>}}{{#if:{{{amendments|}}}| |
|||
|{{Infobox legislation/images |
|||
<tr><td width="25%"><small>Amendments:<small></td><td>{{{amendments|}}}</td></tr>}}{{#if:{{{relatedlegislation|}}}| |
|||
|image={{if empty|{{{legislature|}}}|{{{enacted_by|}}}|{{{considered_by|}}}}} |
|||
<tr><td width="25%"><small>Related legislation:<small></td><td>{{{relatedlegislation|}}}</td></tr>}} |
|||
|date={{{date_enacted|}}} |
|||
</table> |
|||
}} |
|||
<noinclude> |
|||
}}|size={{{imagesize|{{{image_size|}}}}}}|sizedefault=frameless|upright={{{upright|{{{image_upright|yes}}}}}}|alt={{{imagealt|}}}}} |
|||
== Empty syntax == |
|||
<pre>{{Infobox Legislation |
|||
|caption = {{{caption|}}} |
|||
| Name= |
|||
| Parliament/Congress/Senate it was passed in= |
|||
| labelstyle = {{{labelstyle|}}} |
|||
| Logo of that parliament or congress= |
|||
| longtitle= |
|||
|header1 = {{if empty|{{{legislature|}}}|{{{enacted_by|}}}|{{{considered_by|}}}}} |
|||
| introducedby= |
|||
|data2 = {{Collapsible list |
|||
| datepassed= |
|||
|titlestyle=font-weight:normal;background:transparent;text-align:center; |
|||
| datesigned= |
|||
| title = '''[[Long title]]''' |
|||
| amendments= |
|||
| expand = {{#if:{{{autocollapse_long_title|}}}||true}} |
|||
| relatedlegislation= |
|||
| {{#if: {{{long_title|}}} |{{center|{{{long_title}}} }} |
|||
| tablewidth= |
|||
}} |
}} }} |
||
|label3 = Citation |
|||
== Parameters == |
|||
|data3 = {{{citation|}}} |
|||
* '''Name''' and '''Parliament/Congress/Senate it was passed in''' variables are required. All others are optional. |
|||
|label4 = Territorial extent |
|||
* If '''tablewidth''' is given, it must be a simple number. For example, enter ''250'' rather than ''250px''. |
|||
|data4 = {{{territorial_extent|}}} |
|||
[[Category:Politics infobox templates|Legislation]] |
|||
|label5 = Considered by |
|||
</noinclude> |
|||
|data5 = {{{considered_by|}}} |
|||
|label6 = Enacted by |
|||
|data6 = {{{enacted_by|}}} |
|||
|label7 = Passed |
|||
|data7 = {{{date_passed|}}} |
|||
|label8 = Enacted |
|||
|data8 = {{{date_enacted|}}} |
|||
|label9 = Considered by |
|||
|data9 = {{{considered_by2|}}} |
|||
|label10 = Enacted by |
|||
|data10 = {{{enacted_by2|}}} |
|||
|label11 = Passed |
|||
|data11 = {{{date_passed2|}}} |
|||
|label12 = Enacted |
|||
|data12 = {{{date_enacted2|}}} |
|||
|label13 = Assented by |
|||
|data13 = {{{assented_by|}}} |
|||
|label14 = Assented to |
|||
|data14 = {{{date_assented|}}} |
|||
|label15 = [[Royal assent]] |
|||
|data15 = {{{royal_assent|}}} |
|||
|label16 = Signed by |
|||
|data16 = {{{signed_by|}}} |
|||
|label17 = Signed |
|||
|data17 = {{{date_signed|}}} |
|||
|label18 = Vetoed by |
|||
|data18 = {{{vetoed_by|}}} |
|||
|label19 = Vetoed |
|||
|data19 = {{{date_vetoed|}}} |
|||
|label20 = Type of veto |
|||
|data20 = {{{veto_type|}}} |
|||
|label21 = Veto overridden |
|||
|data21 = {{{veto_overridden|}}} |
|||
|label22 = Holding |
|||
|data22 = {{{reference_holding|}}} |
|||
|label23 = [[Pocket veto|Pocket vetoed]] |
|||
|data23 = {{{date_pocket_vetoed|}}} |
|||
|label24 = Became law by inaction |
|||
|data24 = {{{date_became_law_by_inaction|}}} |
|||
|label25 = Commenced |
|||
|data25 = {{{date_commenced|{{{commencement|}}}}}} |
|||
|label26 = [[Effective date|Effective]] |
|||
|data26 = {{{date_effective|}}} |
|||
|label27 = Date of expiry |
|||
|data27 = {{{date_of_expiry|}}} |
|||
|label28 = Repealed |
|||
|data28 = {{{date_repealed|}}} |
|||
|label29 = Administered by |
|||
|data29 = {{{administered_by|}}} |
|||
|header30 = {{#if:{{{bill|}}}{{{bill_date|}}}{{{1st_reading|}}}{{{2nd_reading|}}}{{{3rd_reading|}}}{{{passage|}}}{{{passed|}}}|Legislative history}} |
|||
|header31 = {{#if:{{{enacted_by2|{{{considered_by2|}}}}}}|{{#if:{{{bill|}}}{{{bill_citation|}}}{{{bill_date|}}}{{{introduced_by|}}}{{{committee_responsible|}}}{{{preliminary_reading|}}}{{{1st_reading|}}}{{{committee_post1st|}}}{{{2nd_reading|}}}{{{committee_post2nd|}}}{{{committee_whole|}}}{{{3rd_reading|}}}{{{passed|}}}{{{conf_committee_passed|}}}{{{committee_report|}}}|First chamber: {{{enacted_by|{{{considered_by}}}}}}}}}} |
|||
|label32 = [[Bill (proposed law)|Bill]] title |
|||
|data32 = {{{bill|}}} |
|||
|label33 = Bill citation |
|||
|data33 = {{{bill_citation|}}} |
|||
|label34 = Bill published on |
|||
|data34 = {{{bill_date|}}} |
|||
|label35 = Introduced by |
|||
|data35 = {{{introduced_by|}}} |
|||
|label36 = Committee responsible |
|||
|data36 = {{{committee_responsible|}}} |
|||
|label37 = [[Reading (legislature)#Preliminary reading|Preliminary reading]] |
|||
|data37 = {{{preliminary_reading|}}} |
|||
|label38 = [[Reading (legislature)#First reading|First reading]] |
|||
|data38 = {{{1st_reading|}}} |
|||
|label39 = {{#if:{{{committee_responsible|}}}|Considered by the {{{committee_responsible}}} Committee|Considered in committee}} |
|||
|data39 = {{{committee_post1st|}}} |
|||
|label40 = [[Reading (legislature)#Second reading|Second reading]] |
|||
|data40 = {{{2nd_reading|}}} |
|||
|label41 = {{#if:{{{committee_responsible|}}}|Considered by the {{{committee_responsible}}} Committee|Considered in committee}} |
|||
|data41 = {{{committee_post2nd|}}} |
|||
|label42 = {{{committee_whole_label|[[Committee of the whole]]}}} |
|||
|data42 = {{{committee_whole|}}} |
|||
|label43 = [[Reading (legislature)#Third reading|Third reading]] |
|||
|data43 = {{{3rd_reading|}}} |
|||
|label44 = Passed |
|||
|data44 = {{{passed|}}} |
|||
|label45 = [[Conference committee]] bill passed |
|||
|data45 = {{{conf_committee_passed|}}} |
|||
|label46 = Committee report |
|||
|data46 = {{{committee_report|}}} |
|||
|header47 = {{#if:{{{enacted_by2|{{{considered_by2|}}}}}}|{{#if:{{{bill2|}}}{{{bill_citation2|}}}{{{bill_date2|}}}{{{introduced_by2|}}}{{{committee_responsible2|}}}{{{preliminary_reading2|}}}{{{1st_reading2|}}}{{{committee_post1st2|}}}{{{2nd_reading2|}}}{{{committee_post2nd2|}}}{{{committee_whole2|}}}{{{3rd_reading2|}}}{{{passed2|}}}{{{conf_committee_passed2|}}}{{{committee_report2|}}}|Second chamber: {{{enacted_by2|{{{considered_by2}}}}}}}}}} |
|||
|label48 = Bill title |
|||
|data48 = {{{bill2|}}} |
|||
|label49 = Bill citation |
|||
|data49 = {{{bill_citation2|}}} |
|||
|label50 = Bill published on |
|||
|data50 = {{{bill_date2|}}} |
|||
|label51 = Introduced by |
|||
|data51 = {{{introduced_by2|}}} |
|||
|label52 = Committee responsible |
|||
|data52 = {{{committee_responsible2|}}} |
|||
|label53 = Preliminary reading |
|||
|data53 = {{{preliminary_reading2|}}} |
|||
|label54 = First reading |
|||
|data54 = {{{1st_reading2|}}} |
|||
|label55 = {{#if:{{{committee_responsible2|}}}|Considered by the {{{committee_responsible2}}} Committee|Considered in committee}} |
|||
|data55 = {{{committee_post1st2|}}} |
|||
|label56 = Second reading |
|||
|data56 = {{{2nd_reading2|}}} |
|||
|label57 = {{#if:{{{committee_responsible2|}}}|Considered by the {{{committee_responsible2}}} Committee|Considered in committee}} |
|||
|data57 = {{{committee_post2nd2|}}} |
|||
|label58 = {{{committee_whole_label2|[[Committee of the whole]]}}} |
|||
|data58 = {{{committee_whole2|}}} |
|||
|label59 = Third reading |
|||
|data59 = {{{3rd_reading2|}}} |
|||
|label60 = Passed |
|||
|data60 = {{{passed2|}}} |
|||
|label61 = Conference committee bill passed |
|||
|data61 = {{{conf_committee_passed2|}}} |
|||
|label62 = Committee report |
|||
|data62 = {{{committee_report2|}}} |
|||
|label63 = Date passed by conference committee |
|||
|data63 = {{{date_conf_committee|}}} |
|||
|label64 = [[White paper#Government white papers|White paper]] |
|||
|data64 = {{{white_paper|}}} |
|||
|header65 = {{#if:{{{date_amendments_considered|}}}{{{date_final_passage|}}}|{{#if:{{{enacted_by2|{{{considered_by2|}}}}}}|Final stages}}}} |
|||
|label66 = {{{enacted_by2|{{{considered_by2}}}}}} amendments considered by the {{{enacted_by|{{{considered_by}}}}}} |
|||
|data66 = {{{date_amendments_considered|}}} |
|||
|label67 = Finally passed both chambers |
|||
|data67 = {{{date_final_passage|}}} |
|||
|header68 = {{#if:{{{amends|}}}|Amends}} |
|||
|data69 = {{{amends|}}} |
|||
|header70 = {{#if:{{{repeals|}}}|[[Repeal]]s}} |
|||
|data71 = {{{repeals|}}} |
|||
|header72 = {{#if:{{{amended_by|{{{amendments|}}}}}}|Amended by}} |
|||
|data73 = {{{amended_by|{{{amendments|}}}}}} |
|||
|header74 = {{#if:{{{repealed_by|}}}|Repealed by}} |
|||
|data75 = {{{repealed_by|}}} |
|||
|header76 = {{#if:{{{related|{{{related_legislation|}}}}}}|Related legislation}} |
|||
|data77 = {{{related|{{{related_legislation|}}}}}} |
|||
|header78 = {{#if:{{{summary|}}}|Summary}} |
|||
|data79 = {{{summary|}}} |
|||
|header80 = {{#if:{{{keywords|}}}|Keywords}} |
|||
|data81 = {{{keywords|}}} |
|||
|header82 = {{#if:{{{original_text|}}}|[{{{original_text|}}} Text of statute as originally enacted]}} |
|||
|belowstyle = background-color:{{#switch:{{lc:{{{status|}}}}} |
|||
|pending = <nowiki>#</nowiki>FBEC5D |
|||
|not passed = <nowiki>#</nowiki>FFCBDB |
|||
|vetoed = <nowiki>#</nowiki>FFCBDB |
|||
|lapsed |
|||
|withdrawn = <nowiki>#</nowiki>FFCBDB |
|||
|blocked = <nowiki>#</nowiki>FFCBDB |
|||
|void |
|||
|void ab initio |
|||
|halted = <nowiki>#</nowiki>FFCBDB |
|||
|not yet in force |
|||
|not fully in force = <nowiki>#</nowiki>FBEC5D |
|||
|current |
|||
|in force = <nowiki>#</nowiki>AAF0D1 |
|||
|amended = <nowiki>#</nowiki>FFFFCC |
|||
|expired |
|||
|spent |
|||
|repealed = <nowiki>#</nowiki>FFCCCC |
|||
|#default = transparent; border-top:#aaa 1px solid; |
|||
}}; |
|||
|below = {{#if:{{{status|}}}|'''Status:''' {{#switch:{{lc:{{{status}}}}} |
|||
|pending = Pending |
|||
|not passed = Not passed |
|||
|vetoed = Vetoed |
|||
|withdrawn = Withdrawn |
|||
|lapsed = Lapsed at end of [[Legislative session|session]] |
|||
|blocked = Blocked |
|||
|not yet in force = Not yet in force |
|||
|not fully in force = Not fully in force |
|||
|current = Current legislation |
|||
|in force = In force |
|||
|amended = Amended |
|||
|expired = Expired |
|||
|spent = [[Spent enactment|Spent]] |
|||
|repealed = [[Repeal]]ed |
|||
|struck down = [[Judicial review|Struck down]] |
|||
|halted = Halted |
|||
|void = Void |
|||
|void ab initio = Void ab initio |
|||
|#default = Unknown |
|||
}} |
|||
}} |
|||
}}{{#if:{{{amendments|}}}{{{passed1|}}}|[[Category:Pages using a deprecated parameter in the legislation infobox]]}}<noinclude> |
|||
{{Documentation}}</noinclude> |