Difference between revisions of "Template:Infobox EU legislation"

From blackwiki
Jump to navigation Jump to search
imported>Izkala
(converting to use {{Infobox}})
imported>L.tak
(voting results as options)
Line 26: Line 26:
  
 
| header8  = {{#if:{{{made|}}}{{{commenced|}}}{{{implementation|}}}{{{application|}}}|History}}
 
| header8  = {{#if:{{{made|}}}{{{commenced|}}}{{{implementation|}}}{{{application|}}}|History}}
| label9    = Date made
+
| label9   = European Parliament vote
data9   = {{{made|}}}
+
|  data9    = {{{EPVote|}}}
| label10   = Came into force
+
| label10  = Council Vote
data10   = {{{commenced|}}}
+
|  data10  = {{{Council Vote|}}}
| label11   = Implementation date
+
| label11   = Date made
data11   = {{{implementation|}}}
+
data11   = {{{made|}}}
| label12   = Applies from
+
| label12   = Came into force
data12   = {{{application|}}}
+
data12   = {{{commenced|}}}
 +
| label13   = Implementation date
 +
data13   = {{{implementation|}}}
 +
| label14   = Applies from
 +
data14   = {{{application|}}}
  
| header13 = {{#if:{{{CommProp|}}}{{{ESCOpin|}}}{{{CROpin|}}}{{{ParlOpin|}}}{{{Reports|}}}|Preparative texts}}
+
| header15 = {{#if:{{{CommProp|}}}{{{ESCOpin|}}}{{{CROpin|}}}{{{ParlOpin|}}}{{{Reports|}}}|Preparative texts}}
| label14   = [[European Commission|Commission]] proposal
+
| label16   = [[European Commission|Commission]] proposal
data14   = {{{CommProp|}}}
+
data16   = {{{CommProp|}}}
| label15   = [[European Economic and Social Committee|EESC]] opinion
+
| label17   = [[European Economic and Social Committee|EESC]] opinion
data15   = {{{ESCOpin|}}}
+
data17   = {{{ESCOpin|}}}
| label16   = [[Committee of the Regions|CR]] opinion
+
| label18   = [[Committee of the Regions|CR]] opinion
data16   = {{{CROpin|}}}
+
data18   = {{{CROpin|}}}
| label17   = [[European Parliament|EP]] opinion
+
| label19   = [[European Parliament|EP]] opinion
data17   = {{{ParlOpin|}}}
+
data19   = {{{ParlOpin|}}}
| label18   = Reports
+
| label20   = Reports
data18   = {{{Reports|}}}
+
data20   = {{{Reports|}}}
  
| header19 = {{#if:{{{replaces|}}}{{{amends|}}}{{{amendedby|}}}{{{replacedby|}}}|Other legislation}}
+
| header21 = {{#if:{{{replaces|}}}{{{amends|}}}{{{amendedby|}}}{{{replacedby|}}}|Other legislation}}
| label20   = Replaces
+
| label22   = Replaces
data20   = {{{replaces|}}}
+
data22   = {{{replaces|}}}
| label21   = Amends
+
| label23   = Amends
data21   = {{{amends|}}}
+
data23   = {{{amends|}}}
| label22   = Amended by
+
| label24   = Amended by
data22   = {{{amendedby|}}}
+
data24   = {{{amendedby|}}}
| label23   = Replaced by
+
| label25   = Replaced by
data23   = {{{replacedby|}}}
+
data25   = {{{replacedby|}}}
  
 
| belowstyle = background-color: #{{#switch:{{lc:{{{status}}}}}|current=ccffcc|pending=ffa500|amended=ffffcc|repealed=ffcccc|proposed=b9b966}}; font-weight: bold;
 
| belowstyle = background-color: #{{#switch:{{lc:{{{status}}}}}|current=ccffcc|pending=ffa500|amended=ffffcc|repealed=ffcccc|proposed=b9b966}}; font-weight: bold;

Revision as of 15:37, 17 April 2019

{{{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
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}}}
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"