Difference between revisions of "Template:Infobox European Commission"

From blackwiki
Jump to navigation Jump to search
(rm custom bodystyle - infobox too wide)
imported>AlphaMikeOmega
m (Removed unnecessary parameters)
 
(7 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{infobox
+
<includeonly>{{infobox
| abovestyle = background-color: #a3d1ff;  
+
| bodystyle = width:auto; max-width:32em
| above       = <includeonly><span class="fn org">{{{cabinet_name|{{PAGENAMEBASE}}}}}</span></includeonly>
+
| abovestyle = background-color: #a3d1ff;  
 +
| above = <span class="fn org">{{{cabinet_name|{{PAGENAMEBASE}}}}}</span>
  
 
| subheaderstyle1 = font-weight:bold;
 
| subheaderstyle1 = font-weight:bold;
 
| subheader1 = {{br separated entries
 
| subheader1 = {{br separated entries
  | 1 = {{#invoke:InfoboxImage|InfoboxImage|image={{{flag|}}}|border={{#if:{{{flag_border|}}}|yes}}|size={{{flag_width|}}}|sizedefault=100px}}
+
  | 1 = {{#invoke:InfoboxImage|InfoboxImage|image=Flag of Europe.svg|border=yes|size=|sizedefault=100px}}
  | 2 = {{#if:{{{jurisdiction|}}}|{{{cabinet_number|}}} {{ifempty|{{{cabinet_type|}}}|cabinet}} of {{{jurisdiction}}}}}
+
  | 2 = {{{cabinet_number|}}} Commission of the [[European Union]]
 
  }}
 
  }}
  
Line 25: Line 26:
 
| header3 = {{#if:{{{commission_head|}}}{{{deputy_commission_head|}}}{{{current_number|}}}{{{former_members_number|}}}{{{total_number|}}}{{{political_party|}}}{{{legislature_status|}}}|People and organisations}}
 
| header3 = {{#if:{{{commission_head|}}}{{{deputy_commission_head|}}}{{{current_number|}}}{{{former_members_number|}}}{{{total_number|}}}{{{political_party|}}}{{{legislature_status|}}}|People and organisations}}
  
| label4 = {{#if:{{{commission_head_title|}}}|{{{commission_head_title}}}|Head of the Commission}}
+
| label4 = {{#if:{{{commission_head_title|}}}|{{{commission_head_title}}}|Head of Commission}}
 
| data4 = {{#if:{{{commission_head|}}}|{{{commission_head|}}}}}
 
| data4 = {{#if:{{{commission_head|}}}|{{{commission_head|}}}}}
  
| label5 = {{#if:{{{deputy_commission_head_title|}}}|{{{deputy_commission_head_title}}}|Deputy {{#if:{{{commission_head_title|}}}|{{{commission_head_title}}}|Head of the Commission}}}}
+
| label5 = {{#if:{{{deputy_commission_head_title|}}}|{{{deputy_commission_head_title}}}|Deputy {{#if:{{{commission_head_title|}}}|{{{commission_head_title}}}|Head of Commission}}}}
 
| data5 = {{{deputy_commission_head|}}}
 
| data5 = {{{deputy_commission_head|}}}
  
Line 79: Line 80:
  
 
| label20 = Predecessor
 
| label20 = Predecessor
| data20 = {{{previous|{{{predecessor|}}}}}}
+
| data20 = {{{predecessor|}}}
  
 
| label21 = Successor
 
| label21 = Successor
 
| data21 = {{{successor|}}}
 
| data21 = {{{successor|}}}
}}<noinclude>
+
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox European Commission with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox European Commission]] with unknown parameter "_VALUE_"|ignoreblank=y| advice_and_consent1 | advice_and_consent2 | advice_and_consent3 | advice_and_consent4 | advice_and_consent5 | alt | alt2 | alt3 | alt4 | budget | cabinet_name | cabinet_number | caption | commission_head | commission_head_title | current_number | date_dissolved | date_formed | deputy_commission_head | deputy_commission_head_title | election | former_members_number | image | image_size | image_size2 | image_size3 | image_size4 | image2 | image3 | image4 | incoming_formation | incumbent | last_election | legislature_status | legislature_term | members_number | other_commission_member | other_commission_member_title | outgoing_formation | political_parties | political_party | predecessor | successor | total_number }}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 21:50, 31 January 2020

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

Usage

{{{Commission_name}}}
Flag of Europe.svg
{{{Commission_number}}} Commission of the European Union
{{{incumbent}}}
[[File:{{{image}}}|300x200px]]
{{{caption}}}
Date formed{{{date_formed}}}
Date dissolved{{{date_dissolved}}}
People and organisations
Head of Commission{{{commission_head}}}
Deputy Head of Commission{{{deputy_commission_head}}}
No. of commissioners{{{members_number}}}
Commissioners removed
(Death/resignation/dismissal)
{{{former_members_number}}}
Total no. of commissioners{{{total_number}}}
Member parties{{{political_parties}}}
Status in legislature{{{legislature_status}}}
History
Election(s){{{election}}}
Outgoing election{{{last_election}}}
Legislature term(s){{{legislature_term}}}
Budget(s){{{budget}}}
Advice and consent{{{advice_and_consent1}}}
{{{advice_and_consent2}}}
Incoming formation{{{incoming_formation}}}
Outgoing formation{{{outgoing_formation}}}
Predecessor{{{predecessor}}}
Successor{{{successor}}}
[[Category:Infobox templates|Template:Remove first word]]
{{Infobox European Commission
| cabinet_name            = 
| cabinet_number          = 
| incumbent               = 
| image                   = 
| caption                 = 
| date_formed             = <!-- {{Start date|YYYY|MM|DD|df=y}} -->
| date_dissolved          = <!-- {{End date|YYYY|MM|DD|df=y}} -->
| commission_head         = 
| commission_head_history = 
| deputy_commission_head  =
| state_head              = 
| members_number          = 
| former_members_number   = 
| total_number            = 
| political_parties       = <!-- or | political_party = -->
| legislature_status      = 
| opposition_cabinet      = 
| opposition_party        = <!-- or | opposition_parties = -->
| opposition_leader       = <!-- or | opposition_leaders = -->
| election                = 
| last_election           = 
| legislature_term        = 
| budget                  = 
| advice_and_consent1     = 
| advice_and_consent2     = <!-- up to 5 times -->
| incoming_formation      = 
| outgoing_formation      = 
| predecessor             = 
| successor               = 
}}

Separate multiple values using {{plainlist}}.

Multiple images

For an array of up to four images, use

| image                  =
| image_size             = x85px
| image2                 =
| image_size2            = x85px
| image3                 =
| image_size3            = x85px
| image4                 =
| image_size4            = x85px

Tracking category