Difference between revisions of "Template:Infobox EU legislation"

From blackwiki
Jump to navigation Jump to search
imported>Plastikspork
(Closed TfD)
imported>Cobaltcigs
m (rv)
 
(7 intermediate revisions by 6 users not shown)
Line 1: Line 1:
{| class="infobox geography" align=right width=300
+
{{Infobox
| colspan="2" align="center" bgcolor="#efefef"|{{flagicon|European Union}} {{#switch:{{{type|}}} | Directive='''[[Directive (European Union){{!}}European Union directive]]:''' | Regulation='''[[Regulation (European Union){{!}}European Union regulation]]:''' | Decision='''[[European Union decision]]:''' | }}  
+
| title    = {{#switch:{{lc:{{{type}}}}}|directive=Directive|regulation=Regulation|decision=Decision}} {{{number}}}
|-
+
 
! colspan="2" style="background:#f9f9f9; text-align:center; font-size:135%" |{{#switch:{{{type|}}} | Directive='''Directive {{{number}}}''' | Regulation='''Regulation {{{number}}}''' | Decision='''Decision {{{number}}}''' | }}
+
| subheaderstyle = background-color: #ddd; font-weight: bold;
|-
+
| subheader = {{#switch:{{lc:{{{type}}}}}|directive=[[Directive (European Union)|European Union directive]]|regulation=[[Regulation (European Union)|European Union regulation]]|decision=[[Decision (European Union)|European Union decision]]}}
| colspan="2" style="background:#f9f9f9; text-align:center" |{{{title}}}
+
| subheader2 = {{#if:{{{EEA|}}}|Text with [[European Economic Area|EEA]] relevance}}
|-
+
| subheader3 = {{#if:{{{Enhancedcooperation|}}}|Text adopted under the [[Enhanced cooperation]] procedure}}
{{ #if: {{{EEA|}}} | {{!}} colspan="2" style="background:#f9f9f9; text-align:center" {{!}} (Text with [[European Economic Area|EEA]] relevance) }}
+
 
|-
+
| bodystyle = width: 24em;
{{ #if: {{{Enhancedcooperation|}}} | {{!}} colspan="2" style="background:#f9f9f9; text-align:center" {{!}} (Text adopted under the [[Enhanced cooperation]] procedure) }}
+
| headerstyle = background-color: #ccf;
|-
+
| image = [[File:Flag of Europe.svg|140px|link=|alt=]]
{{ #if: {{{Parties|}}} | {{!}} align="right" {{!}} '''Applicability''' {{!!}} align="left" {{!}} {{{Parties}}} }}<!--use this parameter only if some parts of the EU are excluded-->
+
| label1    = Title
|-
+
|  data1    = {{{title|}}}
| align="right" | '''Made by'''
+
| label2    = Applicability
| align="left" | {{{madeby}}}
+
|  data2    = {{{Parties|}}}
|-
+
| label3    = Made by
| align="right" | '''Made under'''
+
| data3    = {{{madeby|}}}
| align="left" | {{{madeunder}}}
+
| label4    = Made under
|-
+
| data4    = {{{madeunder|}}}
| align="right" | '''[[Official Journal of the European Union|Journal]] reference'''
+
| label5    = [[Official Journal of the European Union|Journal]] reference
| align="left" | {{#if: {{{OJrefurl|}}}|<span class="plainlinksneverexpand">[{{{OJrefurl}}} {{{OJref}}}]</span>|{{{OJref}}}}}
+
| data5    = {{#if:{{{OJrefurl|}}}|[{{{OJrefurl}}} {{{OJref}}}]|{{{OJref|}}}}}
|-
+
| label6    = EEA Agreement
{{ #if: {{{EEATreaty|}}} | {{!}} align="right" {{!}} EEA Agreement {{!!}} align="left" {{!}} {{{EEATreaty}}} }}
+
|  data6    = {{{EEATreaty|}}}
{{ #if: {{{EEADec|}}} | {{!}} align="right" {{!}} EEA Joint Committee decision {{!!}} align="left" {{!}} {{{EEADec}}} }}
+
| label7    = EEA Joint Committee decision
|-
+
|  data7    = {{{EEADec|}}}
! colspan=2 style="background: #ccccff; text-align:center" | History
+
 
|-
+
| header8  = {{#if:{{{made|}}}{{{commenced|}}}{{{implementation|}}}{{{application|}}}|History}}
| align="right" | Made
+
| label9    = European Parliament vote
| align="left" | {{{made}}}
+
|  data9    = {{{EPVote|}}}
|-
+
| label10  = Council Vote
| align="right" | Came into force
+
| data10  = {{{CouncilVote|}}}
| align="left" | {{{commenced}}}
+
| label11    = Date made
|-
+
| data11    = {{{made|}}}
{{ #if: {{{implementation|}}} | {{!}} align="right" {{!}} Implementation date {{!!}} align="left" {{!}} {{{implementation}}} }}
+
| label12  = Came into force
|-
+
| data12  = {{{commenced|}}}
{{ #if: {{{application|}}} | {{!}} align="right" {{!}} Applies from {{!!}} align="left" {{!}} {{{application}}} }}
+
| label13  = Implementation date
|-
+
|  data13  = {{{implementation|}}}
! colspan=2 style="background: #ccccff; text-align:center" | Preparative texts
+
| label14  = Applies from
|-
+
|  data14  = {{{application|}}}
{{ #if: {{{CommProp|}}} | {{!}} align="right" {{!}} [[European Commission|Commission]] proposal {{!!}} align="left" {{!}} {{{CommProp}}} }}
+
 
|-
+
| header15  = {{#if:{{{CommProp|}}}{{{ESCOpin|}}}{{{CROpin|}}}{{{ParlOpin|}}}{{{Reports|}}}|Preparative texts}}
{{ #if: {{{ESCOpin|}}} | {{!}} align="right" {{!}} [[European Economic and Social Committee|EESC]] opinion {{!!}} align="left" {{!}} {{{ESCOpin}}} }}
+
| label16  = [[European Commission|Commission]] proposal
|-
+
|  data16  = {{{CommProp|}}}
{{ #if: {{{CROpin|}}} | {{!}} align="right" {{!}} [[Committee of the Regions|CR]] opinion {{!!}} align="left" {{!}} {{{CROpin}}} }}
+
| label17  = [[European Economic and Social Committee|EESC]] opinion
|-
+
|  data17  = {{{ESCOpin|}}}
{{ #if: {{{ParlOpin|}}} | {{!}} align="right" {{!}} [[European Parliament|EP]] opinion {{!!}} align="left" {{!}} {{{ParlOpin}}} }}
+
| label18  = [[Committee of the Regions|CR]] opinion
|-
+
|  data18  = {{{CROpin|}}}
{{ #if: {{{Reports|}}} | {{!}} align="right" {{!}} Reports {{!!}} align="left" {{!}} {{{Reports}}} }}
+
| label19  = [[European Parliament|EP]] opinion
|-
+
|  data19  = {{{ParlOpin|}}}
! colspan=2 style="background: #ccccff; text-align:center" | Other legislation
+
| label20  = Reports
|-
+
| data20  = {{{Reports|}}}
{{ #if: {{{replaces|}}} | {{!}} align="right" {{!}} Replaces {{!!}} align="left" {{!}} {{{replaces}}} }}
+
 
|-
+
| header21  = {{#if:{{{replaces|}}}{{{amends|}}}{{{amendedby|}}}{{{replacedby|}}}|Other legislation}}
{{ #if: {{{amends|}}} | {{!}} align="right" {{!}} Amends {{!!}} align="left" {{!}} {{{amends}}} }}
+
| label22  = Replaces
|-
+
|  data22  = {{{replaces|}}}
{{ #if: {{{amendedby|}}} | {{!}} align="right" {{!}} Amended by {{!!}} align="left" {{!}} {{{amendedby}}} }}
+
| label23  = Amends
|-
+
|  data23  = {{{amends|}}}
{{ #if: {{{replacedby|}}} | {{!}} align="right" {{!}} Replaced by {{!!}} align="left" {{!}} {{{replacedby}}} }}
+
| label24  = Amended by
|-
+
|  data24  = {{{amendedby|}}}
| align="center" colspan="2" style="background: #{{#switch:{{{status}}} | Current=ccffcc | Pending=ffa500 | Amended=ffffcc | Repealed=ffcccc |f9f9f9 | Proposed=b9b966 }}" | '''Status: {{#switch:{{{status}}} | Current=Current legislation | Pending=Pending legislation | Amended=Substantially amended | Repealed=Repealed | Proposed=Proposed | Unknown }}'''
+
| label25  = Replaced by
|}<noinclude>
+
|  data25  = {{{replacedby|}}}
{{documentation}}
+
 
</noinclude>
+
| belowstyle = background-color: #{{#switch:{{lc:{{{status}}}}}|current=ccffcc|pending=ffa500|amended=ffffcc|repealed=ffcccc|proposed=b9b966}}; font-weight: bold;
 +
| below    = {{#switch:{{lc:{{{status}}}}}|current=Current legislation|pending=Pending legislation|amended=Substantially amended|repealed=Repealed|proposed=Proposed|recast=Recast with new legislation}}
 +
}}<noinclude>
 +
{{Documentation}}</noinclude>

Latest revision as of 09:29, 11 September 2020

{{{number}}}

[[Category:Infobox templates|Template:Remove first word]]

Template documentation[view] [edit] [history] [purge]

Usage

Regulation {{{number}}}
European Union regulation
Text with EEA relevance
Text adopted under the Enhanced cooperation procedure
File:Flag of Europe.svg
Title{{{title}}}
Applicability{{{Parties}}}
Made by{{{madeby}}}
Made under{{{madeunder}}}
Journal reference{{{OJref}}}
EEA Agreement{{{EEATreaty}}}
EEA Joint Committee decision{{{EEADec}}}
History
European Parliament vote{{{EPVote}}}
Council Vote{{{CouncilVote}}}
Date made{{{made}}}
Came into force{{{commenced}}}
Implementation date{{{implementation}}}
Applies from{{{application}}}
Preparative texts
Commission proposal{{{CommProp}}}
EESC opinion{{{ESCOpin}}}
CR opinion{{{CROpin}}}
EP opinion{{{ParlOpin}}}
Reports{{{Reports}}}
Other legislation
Replaces{{{replaces}}}
Amends{{{amends}}}
Amended by{{{amendedby}}}
Replaced by{{{replacedby}}}
Current legislation
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox EU legislation
| number              = 
| type                = 
| EEA                 = 
| Enhancedcooperation = 
| title               = 
| Parties             = 
| madeby              = 
| madeunder           = 
| OJrefurl            = 
| OJref               = 
| EEATreaty           = 
| EEADec              = 
| made                = 
| commenced           = 
| implementation      = 
| application         = 
| CommProp            = 
| ESCOpin             = 
| CROpin              = 
| ParlOpin            = 
| Reports             = 
| replaces            = 
| amends              = 
| amendedby           = 
| replacedby          = 
| status              = 
}}

Short syntax

{{Infobox EU legislation 
| number    = 
| type      = 
| title     = 
| madeby    = 
| madeunder = 
| OJref     = 
| OJrefurl     = 
| made      = 
| commenced = 
| status = one of: "proposed", "current", "pending", "amended", "recast", or "repealed"
}}

Parameters

EEA
can either be "yes" (when the Directive or Regulation has EEA relevance) or left empty, when there is no EEA relevance
Enhancedcooperation 
can either be "yes" (when the Directive or Regulation is established under enhanced cooperation) or left empty, where procedure does not apply
type
one of: "directive", "regulation" or "decision"
status
one of: "proposed", "current", "pending", "amended", "recast", or "repealed"