Difference between revisions of "Template:Infobox company"

From Wikidot - Australian Business Wiki
Jump to navigation Jump to search
(Undo revision 2324 by Wikiweb (talk))
Tag: Undo
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
{{Infobox
 
{{Infobox
 
| bodyclass = vcard
 
| bodyclass = vcard
 
+
| bodystyle = {{{bodystyle|}}}
 
| child = {{lc:{{{embed}}}}}
 
| child = {{lc:{{{embed}}}}}
 
| decat = yes
 
| decat = yes
  
 
| titleclass = fn org
 
| titleclass = fn org
| title = {{#ifeq:{{lc:{{{embed}}}}} | yes | '''Company''' | {{#if:{{{name|}}} | {{{name}}} | {{#if:{{{company_name|}}}|{{{company_name}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}} }} }}
+
| title = {{#ifeq:{{lc:{{{embed}}}}}|yes|'''Company'''|{{{name|{{{company_name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}}}}
  
 +
| image = {{#invoke:InfoboxImage|InfoboxImage |image={{{logo|{{{company_logo|{{{company_logo|}}}}}}}}} |size={{{logo_size|}}} |sizedefault=250px |alt={{{logo_alt|}}} }}
 
| imageclass = logo
 
| imageclass = logo
| imagestyle =
+
| caption = {{{logo_caption |}}}
| image = {{{image|}}}
+
 
| caption = {{{logo_caption|}}}
+
| image2 = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size |{{{imagesize|{{{size|}}}}}}}}} |sizedefault=250px|alt={{{image_alt|{{{alt|}}}}}} }}
| image2 = {{{image2|}}}
+
| imageclass2 = photo
| caption2 = {{{image_caption|}}}
+
| caption2 = {{{image_caption |}}}
  
| labelstyle = padding-right: 0.5em;<!-- to ensure gap between (long/unwrapped) label and subsequent data on same line -->
+
| labelstyle = padding-right:0.5em<!-- to ensure gap between (long/unwrapped) label and subsequent data on same line -->;
| datastyle = line-height: 1.35em;
+
| datastyle = line-height:1.35em;
  
| label1  = {{longitem|[[Trade name]]}}
+
| label1  = {{longitem|[[Trade name|Trade name]]}}
 +
|class1 = legalName
 
|  data1  = {{{trade_name|{{{trading_name|}}}}}}
 
|  data1  = {{{trade_name|{{{trading_name|}}}}}}
  
 
| label2  = {{longitem|Native name}}
 
| label2  = {{longitem|Native name}}
|  data2  = {{#if:{{{native_name|}}} | {{#if:{{{native_name_lang|}}} | {{lang|{{{native_name_lang}}}|{{{native_name}}} }} | {{{native_name}}} }} }}
+
|class2 = legalName
 +
|  data2  = {{#if:{{{native_name|}}} |<div style="display:inline" class="nickname" {{#if:{{{native_name_lang|}}}|lang="{{{native_name_lang}}}"}}>{{{native_name}}}</div>|}}
  
 
| label3  = {{longitem|[[Romanization|Romanized]] name}}
 
| label3  = {{longitem|[[Romanization|Romanized]] name}}
Line 36: Line 39:
  
 
| label6  = [[Ticker symbol|Traded&nbsp;as]]
 
| label6  = [[Ticker symbol|Traded&nbsp;as]]
 +
| class6  = category
 
|  data6  = {{{traded_as|}}}
 
|  data6  = {{{traded_as|}}}
  
 
| label7  = [[International Securities Identification Number|ISIN]]
 
| label7  = [[International Securities Identification Number|ISIN]]
|  data7  = {{{ISIN|}}}
+
|  data7  = {{br separated entries
 +
  |1={{#if:{{{ISIN|}}} |<span class="plainlinks nourlexpansion">[{{fullurl:toollabs:isin/|language=de&isin={{urlencode:{{{ISIN}}}}}}} {{{ISIN}}}]</span>}}
 +
  |2={{#if:{{{ISIN2|}}} |<span class="plainlinks nourlexpansion">[{{fullurl:toollabs:isin/|language=de&isin={{urlencode:{{{ISIN2}}}}}}} {{{ISIN2}}}]</span>}}
 +
  }}
  
 
| label8  = Industry
 
| label8  = Industry
Line 53: Line 60:
  
 
| label11 = Predecessor{{#if:{{{predecessors|}}}|s}}
 
| label11 = Predecessor{{#if:{{{predecessors|}}}|s}}
|  data11 = {{{predecessor|}}}
+
|  data11 = {{{predecessors|{{{predecessor|}}}}}}
  
 
| label12 = Successor{{#if:{{{successors|}}}|s}}
 
| label12 = Successor{{#if:{{{successors|}}}|s}}
|  data12 = {{{successor|}}}
+
|  data12 = {{{successors|{{{successor|}}}}}}
  
 
| label13 = Founded
 
| label13 = Founded
|  data13 = {{{founded|}}}
+
| class13 = note
 +
|  data13 = {{{foundation|{{{founded|}}}}}}
  
 
| label14 = Founder{{#if:{{{founders|}}}|s}}
 
| label14 = Founder{{#if:{{{founders|}}}|s}}
 
| class14 = agent
 
| class14 = agent
|  data14 = {{{founders|{{{founder|}}}}}}
+
|  data14 = {{{founders|{{{founder|}}}}}}
  
 
| label15 = Defunct
 
| label15 = Defunct
Line 69: Line 77:
  
 
| label16 = Headquarters
 
| label16 = Headquarters
| class16 = {{#if:{{{hq_location|{{{location|}}}}}} | label | adr}}
+
| class16 = {{#if:{{{hq_location|}}}{{{location|}}} |label |adr}}
|  data16 = {{{hq_location|}}}
+
|  data16 = {{#if:{{{hq_location|}}}{{{location|}}}{{{hq_location_city|}}}{{{location_city|}}}{{{hq_location_country|}}}{{{location_country|}}}
 +
            | {{Comma separated entries
 +
                | 1 = {{{hq_location|{{{location|}}}}}}
 +
                | 2 = {{#if:{{{hq_location_city|}}}{{{location_city|}}} |<div style="display:inline" class="locality">{{{hq_location_city|{{{location_city|}}}}}}</div>}}
 +
                | 3 = {{#if:{{{hq_location_country|}}}{{{location_country|}}} |<div style="display:inline" class="country-name">{{{hq_location_country|{{{location_country|}}}}}}</div>}}
 +
            }} }}
  
 
| label18 = {{longitem|Number of locations}}
 
| label18 = {{longitem|Number of locations}}
|  data18 = {{#if:{{{num_locations|{{{locations|}}}}}} | {{{num_locations|{{{locations|}}}}}}{{#if:{{{num_locations_year|}}} | &nbsp;({{{num_locations_year}}}) }} }}
+
| class18 = globalLocationNumber
 +
|  data18 = {{#if:{{{num_locations|}}}{{{locations|}}} |{{{num_locations|{{{locations|}}}}}}{{#if:{{{num_locations_year|}}}|&nbsp;({{{num_locations_year}}})}} }}
  
 
| label19 = {{longitem|Area{{#if:{{{areas_served|}}}|s}} served}}
 
| label19 = {{longitem|Area{{#if:{{{areas_served|}}}|s}} served}}
Line 85: Line 99:
 
|  data21 = {{{products|}}}
 
|  data21 = {{{products|}}}
  
| label22 = {{longitem|Production output}}
+
| label22 = Brands
|  data22 = {{#if:{{{production|}}} | {{{production|}}}{{#if:{{{production_year|}}} | &nbsp;({{{production_year}}}) }} }}
+
|  data22 = {{{brands|}}}
  
| label23 = Brands
+
| label23 = {{longitem|Production output}}
|  data23 = {{{brands|}}}
+
|  data23 = {{{production|}}}{{#if:{{{production_year|}}}|&nbsp;({{{production_year}}})}}
  
 
| label24 = Services
 
| label24 = Services
Line 96: Line 110:
  
 
| label25 = Revenue
 
| label25 = Revenue
|  data25 = {{{revenue|}}}{{#if:{{{revenue_year|}}} | &nbsp;({{{revenue_year}}}) }}
+
|  data25 = {{#if:{{{revenue|}}} |{{{revenue}}}{{#if:{{{revenue_year|}}}|&nbsp;({{{revenue_year}}})}} }}
  
 
| label26 = {{longitem|[[Earnings before interest and taxes|Operating income]]}}
 
| label26 = {{longitem|[[Earnings before interest and taxes|Operating income]]}}
|  data26 = {{{operating_income|}}}{{#if:{{{income_year|}}} | &nbsp;({{{income_year}}}) }}
+
|  data26 = {{#if:{{{operating_income|}}} |{{{operating_income}}}{{#if:{{{income_year|}}}|&nbsp;({{{income_year}}})}} }}
  
 
| label27 = {{longitem|[[Net income]]}}
 
| label27 = {{longitem|[[Net income]]}}
|  data27 = {{{net_income|{{{profit|}}}}}}{{#if:{{{net_income_year|{{{profit_year|}}}}}} | &nbsp;({{{net_income_year|{{{profit_year|}}}}}}) }}
+
|  data27 = {{#if:{{{net_income|}}}{{{profit|}}} |{{{net_income|{{{profit|}}}}}}{{#if:{{{net_income_year|}}}{{{profit_year|}}}|&nbsp;({{{net_income_year|{{{profit_year|}}}}}})}} }}
  
 
| label28 = [[Assets under management|AUM]]
 
| label28 = [[Assets under management|AUM]]
Line 108: Line 122:
  
 
| label29 = {{nowrap|[[Asset|Total assets]]}}
 
| label29 = {{nowrap|[[Asset|Total assets]]}}
|  data29 = {{{assets|}}}{{#if:{{{assets_year|}}} | &nbsp;({{{assets_year}}}) }}
+
|  data29 = {{#if:{{{assets|}}} |{{{assets}}}{{#if:{{{assets_year|}}}|&nbsp;({{{assets_year}}})}} }}
  
 
| label30 = {{nowrap|[[Equity (finance)|Total equity]]}}
 
| label30 = {{nowrap|[[Equity (finance)|Total equity]]}}
|  data30 = {{#if:{{{equity|}}} | {{{equity}}}{{#if:{{{equity_year|}}} | &nbsp;({{{equity_year}}})}} }}
+
|  data30 = {{#if:{{{equity|}}} |{{{equity}}}{{#if:{{{equity_year|}}}|&nbsp;({{{equity_year}}})}} }}
  
 
| label31 = Owner{{#if:{{{owners|}}}|s}}
 
| label31 = Owner{{#if:{{{owners|}}}|s}}
Line 117: Line 131:
  
 
| label32 = Members
 
| label32 = Members
|  data32 = {{#if:{{{members|}}} | {{{members}}}{{#if:{{{members_year|}}} | &nbsp;({{{members_year}}})}} }}
+
|  data32 = {{#if:{{{members|}}} |{{{members}}}{{#if:{{{members_year|}}}|&nbsp;({{{members_year}}})}} }}
  
 
| label33 = {{longitem|Number of employees}}
 
| label33 = {{longitem|Number of employees}}
|  data33 = {{{num_employees|}}}{{#if:{{{num_employees_year|}}} | &nbsp;({{{num_employees_year}}}) }}
+
|  data33 = {{#if:{{{num_employees|}}} |{{{num_employees}}}{{#if:{{{num_employees_year|}}}|&nbsp;({{{num_employees_year}}})}} }}
  
 
| label34 = [[Parent company|Parent]]
 
| label34 = [[Parent company|Parent]]
|  data34 = {{#ifeq:{{{owners|}}}{{{owner|}}}{{{parent|}}} }}
+
|  data34 = {{{parent|}}}
  
 
| label35 = [[Division (business)|Divisions]]
 
| label35 = [[Division (business)|Divisions]]
Line 133: Line 147:
 
|  data38 = {{{module|}}}
 
|  data38 = {{{module|}}}
  
| label39 = [[Basel III|Capital ratio]]
+
| label39 = [[Basel III|Capital ratio]]<!--For BANKS only-->
 +
class39 = tel
 
|  data39 = {{{ratio|}}}
 
|  data39 = {{{ratio|}}}
  
| label40 = Rating
+
| label40 = Rating<!--For BANKS only-->
 
|  data40 = {{{rating|}}}
 
|  data40 = {{{rating|}}}
  
| label41 = Website
+
| label41 = pricerange
data41 = {{#if:{{{website|{{{homepage|}}}}}} |{{{website|{{{homepage|}}}}}} }}
+
| class41 = pricerange
 +
|  data41 = {{{pricerange|}}}
 +
 
 +
| label43 = Website
 +
data43 = {{#if:{{{homepage|{{{website|}}}}}}
 +
                  |{{#ifeq:{{{homepage|{{{website|}}}}}}|hide||{{{homepage|{{{website|}}}}}} }}
 +
                  |{{#if:{{#property:P856}}
 +
                    |{{#invoke:WikidataIB |url2 |url={{wdib |P856 |fwd=ALL |osd=no |rank=best |maxvals=1}} }}
 +
                  }}
 +
              }}
 +
 
 +
| label42 = photo
 +
| class42 = photo
 +
| data42 = {{#invoke:InfoboxImage|InfoboxImage |image={{{photo|}}} |size={{{photo_size|}}} |sizedefault=250px |alt={{{photo_alt|}}} }}
 +
 
 +
 
 +
 
 +
| belowstyle = line-height:1.35em;
 +
| below = {{#if:{{{footnotes|}}} |'''Footnotes{{\}}references'''<br />{{{footnotes}}} }}
  
| belowstyle = line-height: 1.35em;
+
}}<!-- Tracking categories:
| below = {{#if:{{{footnotes|}}} | '''Footnotes{{\}}references'''{{break}}{{{footnotes}}} }}
 
  
}}<noinclude>
+
-->{{#if:{{{trading_name|}}}|[[Category:Pages using infobox company using trading name]]}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox company with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox company]] with unknown parameter "_VALUE_"|ignoreblank=y| alt | area_served | areas_served | assets | assets_year | aum | brands | company_logo | company_name | company_type | defunct | dissolved | divisions | embed | equity | equity_year | fate | footnotes | former_name | former_names | foundation | founded | founder | founders | genre | homepage | hq_location | hq_location_city | hq_location_country | image | image_alt | image_caption | image_size | income_year | industry | ISIN | ISIN2 | key_people | location | location_city | location_country | locations | logo | logo_alt | logo_caption | logo_size | members | members_year | module | name | native_name | native_name_lang | net_income | net_income_year | num_employees | num_employees_year | num_locations | num_locations_year | operating_income | owner | owners | parent | predecessor | predecessors | production | production_year | products | profit | profit_year | rating | ratio | revenue | revenue_year | romanized_name | services | subsid | successor | successors | traded_as | trade_name | trading_name | type | website }}<noinclude>
{{documentation}}
+
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 11:40, 8 April 2021

photo Lua error: Internal error: The interpreter exited with status 127.
Website Lua error: Internal error: The interpreter exited with status 127.

Lua error: Internal error: The interpreter exited with status 127.

Lua error: Internal error: The interpreter exited with status 127.