Difference between revisions of "Template:Infobox company"

From Powerbase
Jump to navigation Jump to search
Line 1: Line 1:
{| class="infobox" style="float:right; width:22em; margin:0 0 1em 1em; border:1px solid #aaa; border-spacing:0.5em; background:#f9f9f9; font-size:90%; text-align:left;"
+
{| class="infobox" style="float:right; width:22em; margin:0 0 1em 1em; border:1px solid #aaa; background:#f9f9f9; font-size:90%; text-align:left; border-spacing:0.5em;"
 
|-
 
|-
! colspan="2" style="font-size:125%; background:#{{#switch:{{{type|}}}
+
! colspan="2" style="font-size:125%; background:#0047ab; color:white; text-align:center;" | {{{name|{{PAGENAME}}}}}
| public    = 0073cf
 
| private    = 0047ab
 
| subsidiary = 2e8b57
 
| #default  = cccccc
 
}}; color:white; text-align:center;" | {{{name|{{PAGENAME}}}}}
 
 
|-
 
|-
{{#if:{{{logo|{{{image|}}}}}}|
 
{{!}} colspan="2" style="text-align:center;" | [[File:{{{logo|{{{image|}}}}}}|{{{logo_size|250px}}}|alt={{{logo_alt|{{{image_alt|}}}}}}|upright=0.9]]
 
{{!}}-
 
}}
 
{{#if:{{{caption|{{{logo_caption|}}}}}}|
 
{{!}} colspan="2" style="text-align:center; font-size:85%;" | {{{caption|{{{logo_caption|}}}}}}
 
{{!}}-
 
}}
 
 
{{#if:{{{trade_name|}}}|
 
{{#if:{{{trade_name|}}}|
 
! style="text-align:right; padding-right:0.75em; white-space:nowrap;" | Trade name
 
! style="text-align:right; padding-right:0.75em; white-space:nowrap;" | Trade name
{{!}} {{{trade_name}}}
+
| {{{trade_name}}}
{{!}}-
+
|-
 
}}
 
}}
 
{{#if:{{{type|}}}|
 
{{#if:{{{type|}}}|
 
! style="text-align:right; padding-right:0.75em; white-space:nowrap;" | Type
 
! style="text-align:right; padding-right:0.75em; white-space:nowrap;" | Type
{{!}} {{{type}}}
+
| {{{type}}}
{{!}}-
+
|-
 
}}
 
}}
 
{{#if:{{{founded|}}}|
 
{{#if:{{{founded|}}}|
 
! style="text-align:right; padding-right:0.75em; white-space:nowrap;" | Founded
 
! style="text-align:right; padding-right:0.75em; white-space:nowrap;" | Founded
{{!}} {{{founded}}}
+
| {{{founded}}}
{{!}}-
+
|-
 
}}
 
}}
 
{{#if:{{{founder|}}}|
 
{{#if:{{{founder|}}}|
 
! style="text-align:right; padding-right:0.75em; white-space:nowrap;" | Founder(s)
 
! style="text-align:right; padding-right:0.75em; white-space:nowrap;" | Founder(s)
{{!}} {{{founder}}}
+
| {{{founder}}}
{{!}}-
+
|-
 
}}
 
}}
 
{{#if:{{{defunct|}}}|
 
{{#if:{{{defunct|}}}|
 
! style="text-align:right; padding-right:0.75em; white-space:nowrap;" | Defunct
 
! style="text-align:right; padding-right:0.75em; white-space:nowrap;" | Defunct
{{!}} {{{defunct}}}
+
| {{{defunct}}}
{{!}}-
+
|-
 
}}
 
}}
 
{{#if:{{{hq_location|{{{location|}}}}}}|
 
{{#if:{{{hq_location|{{{location|}}}}}}|
 
! style="text-align:right; padding-right:0.75em; white-space:nowrap;" | Headquarters
 
! style="text-align:right; padding-right:0.75em; white-space:nowrap;" | Headquarters
{{!}} {{{hq_location|{{{location|}}}}}}
+
| {{{hq_location|{{{location|}}}}}}
{{!}}-
+
|-
 
}}
 
}}
 
{{#if:{{{industry|}}}|
 
{{#if:{{{industry|}}}|
 
! style="text-align:right; padding-right:0.75em; white-space:nowrap;" | Industry
 
! style="text-align:right; padding-right:0.75em; white-space:nowrap;" | Industry
{{!}} {{{industry}}}
+
| {{{industry}}}
{{!}}-
+
|-
 
}}
 
}}
 
{{#if:{{{services|}}}|
 
{{#if:{{{services|}}}|
 
! style="text-align:right; padding-right:0.75em; white-space:nowrap;" | Services
 
! style="text-align:right; padding-right:0.75em; white-space:nowrap;" | Services
{{!}} {{{services}}}
+
| {{{services}}}
{{!}}-
+
|-
 
}}
 
}}
 
{{#if:{{{parent|}}}|
 
{{#if:{{{parent|}}}|
 
! style="text-align:right; padding-right:0.75em; white-space:nowrap;" | Parent
 
! style="text-align:right; padding-right:0.75em; white-space:nowrap;" | Parent
{{!}} {{{parent}}}
+
| {{{parent}}}
{{!}}-
+
|-
 
}}
 
}}
 
{{#if:{{{subsid|{{{subsidiaries|}}}}}}|
 
{{#if:{{{subsid|{{{subsidiaries|}}}}}}|
 
! style="text-align:right; padding-right:0.75em; white-space:nowrap;" | Subsidiaries
 
! style="text-align:right; padding-right:0.75em; white-space:nowrap;" | Subsidiaries
{{!}} {{{subsid|{{{subsidiaries|}}}}}}
+
| {{{subsid|{{{subsidiaries|}}}}}}
{{!}}-
+
|-
 
}}
 
}}
 
|}
 
|}
  
 
<noinclude>
 
<noinclude>
{{Documentation}}
+
This is a simple company infobox. Example usage:
 +
{{Infobox company
 +
| name = Example Ltd
 +
| type = Private
 +
| founded = 2000
 +
| founder = Jane Doe
 +
| hq_location = City, Country
 +
}}
 
</noinclude>
 
</noinclude>

Revision as of 12:18, 7 February 2026

Trade name Type Founded Founder(s) Defunct Headquarters Industry Services Parent Subsidiaries
Infobox company


This is a simple company infobox. Example usage:

Trade name
Example Ltd
style="text-align:right; padding-right:0.75em; white-space:nowrap;" style="text-align:right; padding-right:0.75em; white-space:nowrap;" style="text-align:right; padding-right:0.75em; white-space:nowrap;"

Defunct

style="text-align:right; padding-right:0.75em; white-space:nowrap;"

Industry Services Parent Subsidiaries