Jump to content

Template:Infobox Company: Difference between revisions

From IdeaWazaWiki
wikademia>Tree Biting Conspiracy
m +simple
wikademia>David Kernow
padding-right:0.5em, +note obligatory parameters
Line 1: Line 1:
{| class="infobox" style="width: 23em; font-size: 90%;"
{| class="infobox" style="width:23em; font-size:90%;"
|+ style="font-size: larger;" | '''{{{company_name}}}'''
|+ style="font-size:larger;"| '''{{{company_name}}}'''
{{#if:{{{company_logo|}}}|<tr><td colspan="2" style="text-align: center; padding: 16px 0 16px 0;">{{{company_logo}}}</td></tr>}}
{{#if:{{{company_logo|}}}|<tr><td colspan="2" style="text-align:center; padding:16px 0 16px 0;">{{{company_logo}}}</td></tr>}}
|-  
|-  
! style="text-align:right;" | [[:Category:Types of companies|Type]]:
!style="text-align:right; padding-right:0.5em;"| [[:Category:Types of companies|Type]]
| {{{company_type}}}
| {{{company_type}}}
|-
|-
! style="text-align:right;" | Founded:
!style="text-align:right; padding-right:0.5em;"| Founded
| {{{foundation}}}
| {{{foundation}}}
|-  
|-  
! style="text-align:right;" | Headquarters:
!style="text-align:right; padding-right:0.5em;"| Headquarters
| {{{location}}}
| {{{location}}}
{{#if:{{{key_people|}}}|<tr><th style="text-align:right;">Key&nbsp;people:</th><td>{{{key_people}}}</td></tr>}}<!--
{{#if:{{{key_people|}}}     | <tr><th style="text-align:right; padding-right:0.5em;">Key&nbsp;people</th><td>{{{key_people}}}</td></tr>}}<!--
-->{{#if:{{{area_served|}}}|<tr><th style="text-align:right;">Area&nbsp;served:</th><td>{{{area_served}}}</td></tr>}}<!--
-->{{#if:{{{area_served|}}} | <tr><th style="text-align:right; padding-right:0.5em;">Area&nbsp;served</th><td>{{{area_served}}}</td></tr>}}<!--
-->{{#if:{{{industry|}}}|<tr><th style="text-align:right;">[[Industry]]:</th><td>{{{industry}}}</td></tr>}}<!--
-->{{#if:{{{industry|}}}   | <tr><th style="text-align:right; padding-right:0.5em;">[[Industry]]</th><td>{{{industry}}}</td></tr>}}<!--
-->{{#if:{{{products|}}}|<tr><th style="text-align:right;">[[Product (business)|Products]]:</th><td>{{{products}}}</td></tr>}}<!--
-->{{#if:{{{products|}}}   | <tr><th style="text-align:right; padding-right:0.5em;">[[Product (business)|Products]]</th><td>{{{products}}}</td></tr>}}<!--
-->{{#if:{{{revenue|}}}|<tr><th style="text-align:right;">[[Revenue]]:</th><td>{{{revenue}}}</td></tr>}}<!--
-->{{#if:{{{revenue|}}}     | <tr><th style="text-align:right; padding-right:0.5em;">[[Revenue]]</th><td>{{{revenue}}}</td></tr>}}<!--
-->{{#if:{{{operating_income|}}}|<tr><th style="text-align:right;">[[Earnings before interest and taxes|Operating income]]:</th><td>{{{operating_income}}}</td></tr>}}<!--
-->{{#if:{{{operating_income|}}}
-->{{#if:{{{net_income|}}}|<tr><th style="text-align:right;">[[Net income]]:</th><td>{{{net_income}}}</td></tr>}}<!--
                            | <tr><th style="text-align:right; padding-right:0.5em;">[[Earnings before interest and taxes|Operating income]]</th><td>{{{operating_income}}}</td></tr>}}<!--
-->{{#if:{{{num_employees|}}}|<tr><th style="text-align:right;">[[Employment|Employee]]s:</th><td>{{{num_employees}}}</td></tr>}}<!--
-->{{#if:{{{net_income|}}} | <tr><th style="text-align:right; padding-right:0.5em;">[[Net income]]</th><td>{{{net_income}}}</td></tr>}}<!--
-->{{#if:{{{parent|}}}|<tr><th style="text-align:right;">[[Holding company|Parent]]:</th><td>{{{parent}}}</td></tr>}}<!--
-->{{#if:{{{num_employees|}}}
-->{{#if:{{{subsid|}}}|<tr><th style="text-align:right;">[[Subsidiary|Subsidiaries]]:</th><td>{{{subsid}}}</td></tr>}}<!--
                            | <tr><th style="text-align:right; padding-right:0.5em;">[[Employment|Employee]]s</th><td>{{{num_employees}}}</td></tr>}}<!--
-->{{#if:{{{homepage|}}}|<tr><th style="text-align:right;">[[Website]]:</th><td>{{{homepage}}}</td></tr>}}<!--
-->{{#if:{{{parent|}}}     | <tr><th style="text-align:right; padding-right:0.5em;">[[Holding company|Parent]]</th><td>{{{parent}}}</td></tr>}}<!--
-->{{#if:{{{footnotes|}}}|<tr><td colspan="2">{{{footnotes}}}</td></tr>}}
-->{{#if:{{{subsid|}}}     | <tr><th style="text-align:right; padding-right:0.5em;">[[Subsidiary|Subsidiaries]]</th><td>{{{subsid}}}</td></tr>}}<!--
-->{{#if:{{{homepage|}}}   | <tr><th style="text-align:right;" padding-right:0.5em;>[[Website]]</th><td>{{{homepage}}}</td></tr>}}<!--
-->{{#if:{{{footnotes|}}}   | <tr><td colspan="2">{{{footnotes}}}</td></tr>}}
|}<noinclude>
|}<noinclude>


== Usage ==
== Syntax ==
The ''company_name'', ''company_type'', ''foundation'' and ''location'' parameters are obligatory.
<pre>
<pre>
{{Infobox Company  
{{Infobox Company
| company_name =  
| company_name     =
| company_logo =  
| company_logo     =
| company_type =  
| company_type     =
| foundation =  
| foundation       =
| location =  
| location         =
| key_people =  
| key_people       =
| area_served =  
| area_served     =
| industry =  
| industry         =
| products =  
| products         =
| revenue =  
| revenue         =
| operating_income =  
| operating_income =
| net_income =  
| net_income       =
| num_employees =
| num_employees   =
| parent =
| parent           =
| subsid =
| subsid           =
| homepage =
| homepage         =
| footnotes =
| footnotes       =
}}
}}
</pre>
</pre></noinclude>
 
 
<!--Categories-->
[[Category:business infobox templates|Company]]
[[Category:business infobox templates|Company]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]
[[Category:Templates using ParserFunctions|{{PAGENAME}}]]


<!--Other languages-->
[[an:Plantilla:Infobox_Interpresa]]
[[an:Plantilla:Infobox_Interpresa]]
[[es:Plantilla:Infobox Empresa]]
[[es:Plantilla:Infobox Empresa]]

Revision as of 09:50, 30 September 2006

{{{company_name}}}
Type {{{company_type}}}
Founded {{{foundation}}}
Headquarters {{{location}}}

Syntax

The company_name, company_type, foundation and location parameters are obligatory.

{{Infobox Company
| company_name     =
| company_logo     =
| company_type     =
| foundation       =
| location         =
| key_people       =
| area_served      =
| industry         =
| products         =
| revenue          =
| operating_income =
| net_income       =
| num_employees    =
| parent           =
| subsid           =
| homepage         =
| footnotes        =
}}

an:Plantilla:Infobox_Interpresa es:Plantilla:Infobox Empresa fr:modèle:Infobox Société gl:Template:Infobox Compañía simple:Template:Infobox Company