Difference between revisions of "Template:Infobox EU legislation"
Jump to navigation
Jump to search
[[Category:Infobox templates|Template:Remove first word]]
imported>Prosecreator (Adding recast as a status option since the original options are inadequate) |
imported>Izkala (converting to use {{Infobox}}) |
||
| Line 1: | Line 1: | ||
| − | {| | + | {{Infobox |
| − | | | + | | title = {{#switch:{{lc:{{{type}}}}}|directive=Directive|regulation=Regulation|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=[[European Union decision]]}} |
| − | + | | subheader2 = {{#if:{{{EEA|}}}|Text with [[European Economic Area|EEA]] relevance}} | |
| − | + | | subheader3 = {{#if:{{{Enhancedcooperation|}}}|Text adopted under the [[Enhanced cooperation]] procedure}} | |
| − | {{ #if: {{{EEA|}}} | | + | |
| − | | | + | | bodystyle = width: 24em; |
| − | {{ #if: {{{Enhancedcooperation|}}} | | + | | headerstyle = background-color: #ccf; |
| − | |- | + | |
| − | {{ | + | | label1 = Title |
| − | | | + | | data1 = {{{title|}}} |
| − | + | | label2 = Applicability | |
| − | | | + | | data2 = {{{Parties|}}} |
| − | | | + | | label3 = Made by |
| − | + | | data3 = {{{madeby|}}} | |
| − | | | + | | label4 = Made under |
| − | | | + | | data4 = {{{madeunder|}}} |
| − | + | | label5 = [[Official Journal of the European Union|Journal]] reference | |
| − | | | + | | data5 = {{#if:{{{OJrefurl|}}}|[{{{OJrefurl}}} {{{OJref}}}]|{{{OJref|}}}}} |
| − | | | + | | label6 = EEA Agreement |
| − | + | | data6 = {{{EEATreaty|}}} | |
| − | {{ #if: {{{ | + | | label7 = EEA Joint Committee decision |
| − | | | + | | data7 = {{{EEADec|}}} |
| − | + | ||
| − | | | + | | header8 = {{#if:{{{made|}}}{{{commenced|}}}{{{implementation|}}}{{{application|}}}|History}} |
| − | + | | label9 = Date made | |
| − | + | | data9 = {{{made|}}} | |
| − | | | + | | label10 = Came into force |
| − | + | | data10 = {{{commenced|}}} | |
| − | | | + | | label11 = Implementation date |
| − | | | + | | data11 = {{{implementation|}}} |
| − | + | | label12 = Applies from | |
| − | | | + | | data12 = {{{application|}}} |
| − | {{ #if: {{{ | + | |
| − | + | | header13 = {{#if:{{{CommProp|}}}{{{ESCOpin|}}}{{{CROpin|}}}{{{ParlOpin|}}}{{{Reports|}}}|Preparative texts}} | |
| − | + | | label14 = [[European Commission|Commission]] proposal | |
| − | + | | data14 = {{{CommProp|}}} | |
| − | {{ | + | | label15 = [[European Economic and Social Committee|EESC]] opinion |
| − | | | + | | data15 = {{{ESCOpin|}}} |
| − | + | | label16 = [[Committee of the Regions|CR]] opinion | |
| − | | | + | | data16 = {{{CROpin|}}} |
| − | + | | label17 = [[European Parliament|EP]] opinion | |
| − | | | + | | data17 = {{{ParlOpin|}}} |
| − | + | | label18 = Reports | |
| − | | | + | | data18 = {{{Reports|}}} |
| − | + | ||
| − | | | + | | header19 = {{#if:{{{replaces|}}}{{{amends|}}}{{{amendedby|}}}{{{replacedby|}}}|Other legislation}} |
| − | + | | label20 = Replaces | |
| − | + | | data20 = {{{replaces|}}} | |
| − | {{ #if: {{{replaces|}}} | + | | label21 = Amends |
| − | | | + | | data21 = {{{amends|}}} |
| − | { | + | | label22 = Amended by |
| − | | | + | | data22 = {{{amendedby|}}} |
| − | + | | label23 = Replaced by | |
| − | + | | data23 = {{{replacedby|}}} | |
| − | + | ||
| − | + | | 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> |
| − | </noinclude> | ||
Revision as of 17:33, 28 March 2015
[[Category:Infobox templates|Template:Remove first word]]
Usage
| 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 | |
| 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 | |
{{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"
| The above documentation is transcluded from Template:Infobox EU legislation/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |