Jump to content

Template:Infobox Company: Difference between revisions

From IdeaWazaWiki
wikademia>Shawnc
new parameters: operating_income, net_income (as per discussion)
wikademia>Netoholic
per basic format used in Template:Infobox, this version uses proper wikitable structure (headers, etc.) see meta:Help:Table, Wikipedia:Avoid using meta-templates
Line 1: Line 1:
{| class="infobox" style="float:right;margin:0 0 1em 1em;width:256px;font-size:90%;clear:right;" cellspacing="5"
{| class="infobox" style="width: 20em; font-size:90%; text-align: left;"
|+ style="text-align:center; font-size:larger;" | '''{{{company_name}}}'''
|+ style="font-size: larger;" | '''{{{company_name}}}'''
|-
|- class="hiddenStructure{{{company_logo|}}}"
| colspan="2" style="padding-bottom:1em;text-align:center;" | {{{company_logo}}}
| colspan="2" style="text-align: center;" | {{{company_logo}}}
|-  
|- style="vertical-align: top;"
| style="vertical-align:top;text-align:right;" | '''[[:category:types of companies|Type]]'''
! [[:Category:Types of companies|Type]]
| style="vertical-align:top;text-align:left;" | {{{company_type}}}
| {{{company_type}}}
|-
|- style="vertical-align: top;"
| style="vertical-align:top;text-align:right;" | '''Founded'''
! Founded
| style="vertical-align:top;text-align:left;" | {{{foundation}}}
| {{{foundation}}}
|-
|- style="vertical-align: top;"
| style="vertical-align:top;text-align:right;" | '''Location'''
! Location
| style="vertical-align:top;text-align:left;" | {{{location}}}
| {{{location}}}
|-  
|- class="hiddenStructure{{{key_people|}}}" style="vertical-align: top;"
{{if defined
! Key people
  |test={{{key_people|}}}
| {{{key_people}}}
  |call=Infobox_Company/key_people
|- class="hiddenStructure{{{industry|}}}" style="vertical-align: top;"
  |1=1={{{key_people}}}
! [[Industry]]
}}
| {{{industry}}}
|-  
|- class="hiddenStructure{{{products|}}}" style="vertical-align: top;"
{{if defined
! [[Product (business)|Products]]
  |test={{{industry|}}}
| {{{products}}}
  |call=Infobox_Company/industry
|- class="hiddenStructure{{{revenue|}}}" style="vertical-align: top;"
  |1=1={{{industry}}}
! [[Revenue]]
}}
| {{{revenue}}}
|-  
|- class="hiddenStructure{{{operating_income|}}}" style="vertical-align: top;"
{{if defined
! [[Operating income]]
  |test={{{products|}}}
| {{{operating_income}}}
  |call=Infobox_Company/products
|- class="hiddenStructure{{{net_income|}}}" style="vertical-align: top;"
  |1=1={{{products}}}
! [[Net income]]
}}
| {{{net_income}}}
|-  
|- class="hiddenStructure{{{num_employees|}}}" style="vertical-align: top;"
{{if defined
! [[Employee]]s
  |test={{{revenue|}}}
| {{{num_employees}}}
  |call=Infobox_Company/revenue
|- class="hiddenStructure{{{homepage|}}}" style="vertical-align: top;"
  |1=1={{{revenue}}}
! [[Website]]
}}
| {{{homepage}}}
|-  
|- class="hiddenStructure{{{footnotes|}}}"
{{if defined
| colspan="2" | {{{footnotes}}}
  |test={{{operating_income|}}}
|}
  |call=Infobox_Company/operating_income
  |1=1={{{operating_income}}}
}}
|-  
{{if defined
  |test={{{net_income|}}}
  |call=Infobox_Company/net_income
  |1=1={{{net_income}}}
}}
|-  
{{if defined
  |test={{{num_employees|}}}
  |call=Infobox_Company/num_employees
  |1=1={{{num_employees}}}
}}
|-
{{if defined
  |test={{{homepage|}}}
  |call=Infobox_Company/homepage
  |1=1={{{homepage}}}
}}
|}<noinclude>{{esoteric}}</noinclude>

Revision as of 15:55, 13 December 2005

{{{company_name}}}
{{{company_logo}}}
Type {{{company_type}}}
Founded {{{foundation}}}
Location {{{location}}}
Key people {{{key_people}}}
Industry {{{industry}}}
Products {{{products}}}
Revenue {{{revenue}}}
Operating income {{{operating_income}}}
Net income {{{net_income}}}
Employees {{{num_employees}}}
Website {{{homepage}}}
{{{footnotes}}}