Jump to content

Template:Infobox executive: Difference between revisions

The comprehensive free global encyclopedia of CEOs, corporate leadership, and business excellence
Admin (talk | contribs)
Improve infobox template with better structure
Update infobox with all fields and fix image overflow
Line 1: Line 1:
<div class="infobox">
<div class="infobox" style="width: 22em; font-size: 88%; line-height: 1.5em; border: 1px solid #aaa; background-color: #f9f9f9; float: right; clear: right; margin: 0 0 1em 1em; padding: 0.2em;">
{{#if:{{{name|}}}|
{{#if:{{{name|}}}|
<div class="infobox-header">{{{name}}}</div>
<div style="font-size: 125%; font-weight: bold; text-align: center; background-color: #cfe3ff; padding: 0.4em 0;">{{{name}}}</div>
}}
}}
{{#if:{{{image|}}}|
{{#if:{{{image|}}}|
<div class="infobox-image">[[File:{{{image}}}|{{#if:{{{image_size|}}}|{{{image_size}}}|250px}}]]{{#if:{{{caption|}}}|<div style="font-size:90%; padding:0.5em 0; color:#54595d;">{{{caption}}}</div>}}</div>
<div style="text-align: center; padding: 0.5em 0; overflow: hidden;">
<div style="max-width: 100%; overflow: hidden; display: inline-block;">[[File:{{{image}}}|{{#if:{{{image_size|}}}|{{{image_size}}}|250px}}|frameless]]</div>
{{#if:{{{caption|}}}|<div style="font-size: 90%; padding: 0.5em 0.5em 0 0.5em; color: #54595d; text-align: center;">{{{caption}}}</div>}}
</div>
}}
}}
<div class="infobox-section">
<table style="width: 100%; border-collapse: collapse;">
{{#if:{{{birth_name|}}}|
{{#if:{{{birth_name|}}}|
<div class="infobox-row">
<tr>
<div class="infobox-label">Born</div>
<td colspan="2" style="text-align: center; background-color: #eee; padding: 0.3em; font-weight: bold;">Personal details</td>
<div class="infobox-data">{{{birth_name}}}<br/>{{{birth_date}}}<br/>{{{birth_place}}}</div>
</tr>
</div>
<tr>
<td style="vertical-align: top; padding: 0.2em 0.4em; font-weight: bold;">Born</td>
<td style="padding: 0.2em 0.4em;">{{{birth_name}}}<br/>{{{birth_date}}}<br/>{{{birth_place}}}</td>
</tr>
|{{#if:{{{birth_date|}}}|
|{{#if:{{{birth_date|}}}|
<div class="infobox-row">
<tr>
<div class="infobox-label">Born</div>
<td colspan="2" style="text-align: center; background-color: #eee; padding: 0.3em; font-weight: bold;">Personal details</td>
<div class="infobox-data">{{{birth_date}}}<br/>{{{birth_place}}}</div>
</tr>
</div>
<tr>
<td style="vertical-align: top; padding: 0.2em 0.4em; font-weight: bold;">Born</td>
<td style="padding: 0.2em 0.4em;">{{{birth_date}}}<br/>{{{birth_place}}}</td>
</tr>
}}}}
}}}}
{{#if:{{{education|}}}|
{{#if:{{{nationality|}}}|
<div class="infobox-row">
<tr>
<div class="infobox-label">Education</div>
<td style="vertical-align: top; padding: 0.2em 0.4em; font-weight: bold;">Nationality</td>
<div class="infobox-data">{{{education}}}</div>
<td style="padding: 0.2em 0.4em;">{{{nationality}}}</td>
</div>
</tr>
}}
{{#if:{{{citizenship|}}}|
<tr>
<td style="vertical-align: top; padding: 0.2em 0.4em; font-weight: bold;">Citizenship</td>
<td style="padding: 0.2em 0.4em;">{{{citizenship}}}</td>
</tr>
}}
{{#if:{{{residence|}}}|
<tr>
<td style="vertical-align: top; padding: 0.2em 0.4em; font-weight: bold;">Residence</td>
<td style="padding: 0.2em 0.4em;">{{{residence}}}</td>
</tr>
}}
{{#if:{{{languages|}}}|
<tr>
<td style="vertical-align: top; padding: 0.2em 0.4em; font-weight: bold;">Languages</td>
<td style="padding: 0.2em 0.4em;">{{{languages}}}</td>
</tr>
}}
{{#if:{{{education|{{{alma_mater|}}}}}}|
<tr>
<td style="vertical-align: top; padding: 0.2em 0.4em; font-weight: bold;">Education</td>
<td style="padding: 0.2em 0.4em;">{{{education|{{{alma_mater}}}}}}</td>
</tr>
}}
{{#if:{{{spouse|}}}|
<tr>
<td style="vertical-align: top; padding: 0.2em 0.4em; font-weight: bold;">Spouse</td>
<td style="padding: 0.2em 0.4em;">{{{spouse}}}</td>
</tr>
}}
{{#if:{{{children|}}}|
<tr>
<td style="vertical-align: top; padding: 0.2em 0.4em; font-weight: bold;">Children</td>
<td style="padding: 0.2em 0.4em;">{{{children}}}</td>
</tr>
}}
{{#if:{{{parents|}}}|
<tr>
<td style="vertical-align: top; padding: 0.2em 0.4em; font-weight: bold;">Parents</td>
<td style="padding: 0.2em 0.4em;">{{{parents}}}</td>
</tr>
}}
{{#if:{{{relatives|}}}|
<tr>
<td style="vertical-align: top; padding: 0.2em 0.4em; font-weight: bold;">Relatives</td>
<td style="padding: 0.2em 0.4em;">{{{relatives}}}</td>
</tr>
}}
{{#if:{{{occupation|{{{title|{{{employer|}}}}}}}}}|
<tr>
<td colspan="2" style="text-align: center; background-color: #eee; padding: 0.3em; font-weight: bold;">Career details</td>
</tr>
}}
}}
{{#if:{{{occupation|}}}|
{{#if:{{{occupation|}}}|
<div class="infobox-row">
<tr>
<div class="infobox-label">Occupation</div>
<td style="vertical-align: top; padding: 0.2em 0.4em; font-weight: bold;">Occupation</td>
<div class="infobox-data">{{{occupation}}}</div>
<td style="padding: 0.2em 0.4em;">{{{occupation}}}</td>
</div>
</tr>
}}
}}
{{#if:{{{years_active|}}}|
{{#if:{{{years_active|}}}|
<div class="infobox-row">
<tr>
<div class="infobox-label">Years active</div>
<td style="vertical-align: top; padding: 0.2em 0.4em; font-weight: bold;">Years active</td>
<div class="infobox-data">{{{years_active}}}</div>
<td style="padding: 0.2em 0.4em;">{{{years_active}}}</td>
</div>
</tr>
}}
{{#if:{{{employer|{{{organization|}}}}}}|
<tr>
<td style="vertical-align: top; padding: 0.2em 0.4em; font-weight: bold;">Employer</td>
<td style="padding: 0.2em 0.4em;">{{{employer|{{{organization}}}}}}</td>
</tr>
}}
}}
{{#if:{{{title|}}}|
{{#if:{{{title|}}}|
<div class="infobox-row">
<tr>
<div class="infobox-label">Title</div>
<td style="vertical-align: top; padding: 0.2em 0.4em; font-weight: bold;">Title</td>
<div class="infobox-data">{{{title}}}</div>
<td style="padding: 0.2em 0.4em;">{{{title}}}</td>
</div>
</tr>
}}
}}
{{#if:{{{term|}}}|
{{#if:{{{term|}}}|
<div class="infobox-row">
<tr>
<div class="infobox-label">Term</div>
<td style="vertical-align: top; padding: 0.2em 0.4em; font-weight: bold;">Term</td>
<div class="infobox-data">{{{term}}}</div>
<td style="padding: 0.2em 0.4em;">{{{term}}}</td>
</div>
</tr>
}}
}}
{{#if:{{{predecessor|}}}|
{{#if:{{{predecessor|}}}|
<div class="infobox-row">
<tr>
<div class="infobox-label">Predecessor</div>
<td style="vertical-align: top; padding: 0.2em 0.4em; font-weight: bold;">Predecessor</td>
<div class="infobox-data">{{{predecessor}}}</div>
<td style="padding: 0.2em 0.4em;">{{{predecessor}}}</td>
</div>
</tr>
}}
}}
{{#if:{{{salary|}}}|
{{#if:{{{salary|}}}|
<div class="infobox-row">
<tr>
<div class="infobox-label">Compensation</div>
<td style="vertical-align: top; padding: 0.2em 0.4em; font-weight: bold;">Compensation</td>
<div class="infobox-data">{{{salary}}}</div>
<td style="padding: 0.2em 0.4em;">{{{salary}}}</td>
</div>
</tr>
}}
{{#if:{{{networth|{{{net_worth|}}}}}}|
<tr>
<td style="vertical-align: top; padding: 0.2em 0.4em; font-weight: bold;">Net worth</td>
<td style="padding: 0.2em 0.4em;">{{{networth|{{{net_worth}}}}}}</td>
</tr>
}}
{{#if:{{{boards|{{{board_member_of|}}}}}}|
<tr>
<td style="vertical-align: top; padding: 0.2em 0.4em; font-weight: bold;">Board member of</td>
<td style="padding: 0.2em 0.4em;">{{{boards|{{{board_member_of}}}}}}</td>
</tr>
}}
{{#if:{{{awards|}}}|
<tr>
<td style="vertical-align: top; padding: 0.2em 0.4em; font-weight: bold;">Awards</td>
<td style="padding: 0.2em 0.4em;">{{{awards}}}</td>
</tr>
}}
}}
{{#if:{{{networth|}}}|
{{#if:{{{website|}}}|
<div class="infobox-row">
<tr>
<div class="infobox-label">Net worth</div>
<td style="vertical-align: top; padding: 0.2em 0.4em; font-weight: bold;">Website</td>
<div class="infobox-data">{{{networth}}}</div>
<td style="padding: 0.2em 0.4em;">{{{website}}}</td>
</div>
</tr>
}}
}}
{{#if:{{{boards|}}}|
{{#if:{{{signature|}}}|
<div class="infobox-row">
<tr>
<div class="infobox-label">Board member</div>
<td style="vertical-align: top; padding: 0.2em 0.4em; font-weight: bold;">Signature</td>
<div class="infobox-data">{{{boards}}}</div>
<td style="padding: 0.2em 0.4em; text-align: center;">[[File:{{{signature}}}|128px]]</td>
</div>
</tr>
}}
}}
</div>
</table>
</div><noinclude>
</div><noinclude>
== Usage ==
== Usage ==
This template creates an infobox for business executives and CEOs.
=== All supported parameters ===
<pre>
{{Infobox executive
| name = Full name
| image = Filename.jpg
| image_size = 250px (optional, defaults to 250px)
| caption = Image caption
| birth_name = Birth name
| birth_date = Date of birth
| birth_place = Place of birth
| nationality = Nationality (with flags)
| citizenship = Citizenship (with flags)
| residence = Current residence
| languages = Languages spoken (with flags)
| education = Education details
| alma_mater = Alternative to education
| spouse = Spouse name
| children = Number or names of children
| parents = Parents names
| relatives = Other relatives
| occupation = Occupation
| years_active = Years active
| employer = Current employer
| organization = Alternative to employer
| title = Job title
| term = Term in office
| predecessor = Previous person in role
| salary = Compensation/Salary
| networth = Net worth
| net_worth = Alternative to networth
| boards = Board memberships
| board_member_of = Alternative to boards
| awards = Awards received
| website = Official website
| signature = Signature filename
}}
</pre>
=== Example ===
<pre>
<pre>
{{Infobox executive
{{Infobox executive
| name =  
| name = Satya Nadella
| image =  
| image = Satya_Nadella.jpg
| image_size =  
| image_size = 300px
| caption =  
| caption = Nadella speaking at Microsoft Ignite 2019
| birth_name =  
| birth_name = Satya Narayana Nadella
| birth_date =  
| birth_date = {{birth date and age|1967|8|19}}
| birth_place =  
| birth_place = Hyderabad, India
| education =  
| nationality = {{flagicon|USA}} American
| occupation =  
| citizenship = United States, India
| years_active =  
| occupation = Business Executive
| title =  
| employer = Microsoft Corporation
| term =  
| title = Chairman and CEO
| predecessor =  
| term = February 4, 2014 – present
| salary =
| predecessor = Steve Ballmer
| networth =
| net_worth = US$1.1 billion
| boards =  
}}
}}
</pre>
</pre>
[[Category:Infobox templates]]
[[Category:Infobox templates]]
</noinclude>
</noinclude>

Revision as of 18:21, 19 October 2025


Usage

This template creates an infobox for business executives and CEOs.

All supported parameters

{{Infobox executive
| name = Full name
| image = Filename.jpg
| image_size = 250px (optional, defaults to 250px)
| caption = Image caption
| birth_name = Birth name
| birth_date = Date of birth
| birth_place = Place of birth
| nationality = Nationality (with flags)
| citizenship = Citizenship (with flags)
| residence = Current residence
| languages = Languages spoken (with flags)
| education = Education details
| alma_mater = Alternative to education
| spouse = Spouse name
| children = Number or names of children
| parents = Parents names
| relatives = Other relatives
| occupation = Occupation
| years_active = Years active
| employer = Current employer
| organization = Alternative to employer
| title = Job title
| term = Term in office
| predecessor = Previous person in role
| salary = Compensation/Salary
| networth = Net worth
| net_worth = Alternative to networth
| boards = Board memberships
| board_member_of = Alternative to boards
| awards = Awards received
| website = Official website
| signature = Signature filename
}}

Example

{{Infobox executive
| name = Satya Nadella
| image = Satya_Nadella.jpg
| image_size = 300px
| caption = Nadella speaking at Microsoft Ignite 2019
| birth_name = Satya Narayana Nadella
| birth_date = {{birth date and age|1967|8|19}}
| birth_place = Hyderabad, India
| nationality = {{flagicon|USA}} American
| citizenship = United States, India
| occupation = Business Executive
| employer = Microsoft Corporation
| title = Chairman and CEO
| term = February 4, 2014 – present
| predecessor = Steve Ballmer
| net_worth = US$1.1 billion
}}