Template:Infobox company: Difference between revisions

m
Tried to fix WikiData issue.
(frameless default size is better)
m (Tried to fix WikiData issue.)
 
(135 intermediate revisions by 27 users not shown)
Line 1:
{{infoboxInfobox
| bodyclass = vcard
 
| bodystyle = {{{bodystyle|}}}
| child = {{lc:{{{embed}}}}}
| decat = yes
 
| titleclass = fn org
| title = {{#ifeq:{{lc:{{{embed}}}}} | yes | ='''Company''' | {{#if:{{{name|}}} | {{{name}}} | {{#if:{{{company_name|}}}|{{{company_name}}}|<includeonly>{{PAGENAMEPAGENAMEBASE}}</includeonly>}} }} }}
 
| imageclass = logo
| imagestyle =
| image = {{#invoke:InfoboxImage|InfoboxImage|image={{{logo|{{{company_logo|}}}}}}|size={{{logo_size|}}}|sizedefault=frameless|alt={{{logo_alt|{{{alt|}}}}}}}}
| image = {{#invoke:InfoboxImage |InfoboxImage |image={{#ifeq:{{lc:{{{embed}}}}} | yes | {{{logo|{{{company_logo|}}}}}} |{{#invoke:WikidataIB |getValue |rank=best |P154 |name=logo |qid={{{qid|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced=no |noicon=yes |maxvals=1 |{{{logo|{{{company_logo|}}}}}} }} }} |size={{{logo_size|}}} |sizedefault=frameless |upright={{{logo_upright|1}}} |alt={{{logo_alt|{{{alt|}}}}}} }}
| caption = {{{logo_caption|{{{caption|}}}}}}
| caption = {{{logo_caption|}}}
| image2 = {{#invoke:InfoboxImage |InfoboxImage |image={{{image|}}} |size={{{image_size|}}} |sizedefault=frameless |upright={{{image_upright|1}}} |alt={{{image_alt|}}} }}
| caption2 = {{{image_caption|}}}
 
| labelstyle = padding-right: 0.5em;<!-- to ensure gap between (long/unwrapped) label and subsequent data on same line -->
| datastyle = line-height: 1.35em;
 
| label1 = {{longitem|[[Trade name]]}}
| data1 = {{{trade_name|{{{trading_name|}}}}}}
 
| label2 = {{longitem|Native name}}
| image2 = {{#invoke:InfoboxImage|InfoboxImage|image={{{image|}}}|size={{{image_size|}}}|sizedefault=300px|alt={{{image_alt|}}}}}
| data2 = {{#if:{{{native_name|}}} | {{#if:{{{native_name_lang|}}} | {{lang|{{{native_name_lang}}}|{{{native_name}}} }} | {{{native_name}}} }} }}
| caption2 = {{{image_caption|}}}
 
| label1 label3 = {{nowraplongitem|[[Doing business asRomanization|TradingRomanized]] name]]}}
| data1 data3 = {{{trading_nameromanized_name|}}}
 
| label2 label4 = Native nameFormerly
| class4 = nickname
| data2 = {{#if:{{{native_name|}}}|<span class="nickname"{{#if:{{{native_name_lang|}}}| lang="{{{native_name_lang}}}"}}>{{{native_name}}}</span>|}}
| data4 = {{{former_names|{{{former_name|}}}}}}
 
| label5 = Type
| label3 = [[Romanization|Romanized]] name
| class5 = category
| data3 = {{{romanized_name|}}}
| data5 = {{{type|{{{company_type|}}}}}}
 
| label6 = {{longitem|[[Ticker symbol|Traded as]]}}
| label4 = {{#if:{{{defunct|}}}|[[Types of business entity|Former type]]|[[Types of business entity|Type]]}}
| data6 = {{{traded_as|}}}
| class4 = category
| data4 = {{{type|{{{company_type|}}}}}}
 
| label8 = Industry
| label5 = [[Ticker symbol|Traded as]]
| class8 = category
| data5 = {{{traded_as|}}}
| data8 = {{#invoke:WikidataIB |getValue |rank=best |P452 |name=industry |qid={{{qid|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced=yes |noicon={{{noicon|no}}} |sep="<br />" |sorted=yes |{{{industry|}}} }}
 
| label9 = Genre
| label6 = [[International Securities Identification Number|ISIN]]
| class9 = category
| data6 = {{#if:{{{ISIN|}}}|[http://toolserver.org/~magnus/isin.php?language=de&isin={{{ISIN}}} {{{ISIN}}}]}}
| data9 = {{{genre|}}}
 
| label10 = Predecessor{{#if:{{{predecessors|}}}|s}}
| label7 = Industry
| data10 = {{#invoke:WikidataIB |getValue |rank=best |P155 |name=predecessor |qid={{{qid|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced=yes |noicon={{{noicon|no}}} |sep="<br />" |sorted=yes |{{{predecessors|{{{predecessor|}}}}}} }}
| class7 = category
| data7 = {{{industry|}}}
 
| label8 label11 = GenreFounded
| data11 = {{#invoke:WikidataIB |getValue |rank=best |P571 |name=founded |qid={{{qid|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced=yes |noicon={{{noicon|no}}} |sep="<br />" |sorted=yes |{{{founded|{{{foundation|}}}}}} }}
| class8 = category
| data8 = {{{genre|}}}
 
| label12 = Founder{{#if:{{{founders|}}}|s}}
| label9 = Fate
| class12 = agent
| data9 = {{{fate|}}}
| data12 = {{#invoke:WikidataIB |getValue |rank=best |P112 |name=founder |qid={{{qid|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced=yes |noicon={{{noicon|no}}} |sep="<br />" |sorted=yes |{{{founders|{{{founder|}}}}}} }}
 
| label13 = Defunct
| label10 = Predecessor(s)
| data13 = {{#invoke:WikidataIB |getValue |rank=best |P576 |name=defunct |qid={{{qid|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced=yes |noicon={{{noicon|no}}} |sep="<br />" |sorted=yes |{{{defunct|{{{dissolved|}}}}}} }}
| data10 = {{{predecessor|{{{Predecessor|}}}}}}
 
| label14 = Fate
| label11 = Successor(s)
| data11 data14 = {{{successorfate|}}}
 
| label15 = Successor{{#if:{{{successors|}}}|s}}
| label12 = Founded
| data15 = {{#invoke:WikidataIB |getValue |rank=best |P156 |name=successor |qid={{{qid|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced=yes |noicon={{{noicon|no}}} |sep="<br />" |sorted=yes |{{{successors|{{{successor|}}}}}} }}
| data12 = {{{foundation|}}}
 
| label16 = Headquarters
| label13 = Founder(s)
| class16 = {{#if:{{{hq_location|{{{location|}}}}}} | label | adr}}
| class13 = agent
| data16 = {{#if:{{{hq_location|{{{location|}}}}}}{{{hq_location_city|{{{location_city|}}}}}}{{{hq_location_country|{{{location_country|}}}}}}
| data13 = {{{founder|}}}
| {{Comma separated entries
| 1 = {{{hq_location|{{{location|}}}}}}
| 2 = {{#if:{{{hq_location_city|}}}{{{location_city|}}} |<div style="display: inline;" class="locality">{{#if:{{{hq_location_city|}}}{{{location_city|}}} | {{{hq_location_city|{{{location_city|}}}}}} | }}</div>}}
| 3 = {{#if:{{{hq_location_country|}}}{{{location_country|}}} |<div style="display: inline;" class="country-name">{{#if:{{{hq_location_country|}}}{{{location_country|}}} | {{{hq_location_country|{{{location_country|}}}}}} | }}</div>}}
}}
| {{#if:{{#invoke:WikidataIB |getValue |rank=best |P159 |name=hq_location_city |qid={{{qid|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced=yes |noicon={{{noicon|no}}} |maxvals=1 }}{{#invoke:WikidataIB |getValue |rank=best |P17 |name=hq_location_country |qid={{{qid|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced=yes |noicon={{{noicon|no}}} |maxvals=1 }}
| {{Comma separated entries
| 1 = {{#if:{{#invoke:WikidataIB |getValue |rank=best |P159 |name=hq_location_city |qid={{{qid|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced=yes |noicon={{{noicon|no}}} |maxvals=1 }} |<div style="display: inline;" class="locality">{{#invoke:WikidataIB |getValue |rank=best |P159 |name=headquarters location |qid={{{qid|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced=yes |noicon={{{noicon|no}}} |maxvals=1 }}</div>}}
| 2 = {{#if:{{#invoke:WikidataIB |getValue |rank=best |P17 |name=countrry |qid={{{qid|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced=yes |noicon={{{noicon|no}}} |maxvals=1 }} |<div style="display: inline;" class="country-name">{{#invoke:WikidataIB |getValue |rank=best |P17 |name=hq_location_country |qid={{{qid|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced=yes |noicon={{{noicon|no}}} |maxvals=1 }}</div>}}
}}
}}
}}
 
| label18 = {{longitem|Number of locations}}
| label14 = Defunct
| data18 = {{#if:{{{num_locations|{{{locations|}}}}}} | {{{num_locations|{{{locations|}}}}}}{{#if:{{{num_locations_year|}}} | &nbsp;({{{num_locations_year}}}) }} }}
| data14 = {{{defunct|}}}
 
| label19 = {{longitem|Area{{#if:{{{areas_served|}}}|s}} served}}
| label15 = Headquarters
| class15 data19 = {{#if:{areas_served|{{location{area_served|}}}|label|adr}}}
| data15 = {{#if: {{{location_city|}}}|<span class="locality">{{{location_city}}}</span>{{#if: {{{location_country|}}}|,&#32;}}}}{{#if: {{{location_country|}}}|<span class="country-name">{{{location_country}}}</span>}}
{{#if:{{{location|}}}|{{{location}}} }}
 
| label20 = {{longitem|Key people}}
| label16 = Number of locations
| class20 = agent
| data16 = {{{locations|}}}
| data20 = {{{key_people|}}}
 
| label21 = Products
| label17 = Area served
| data17 data21 = {{{area_servedproducts|}}}
 
| label22 = {{longitem|Production output}}
| label18 = Key people
| data22 = {{#if:{{{production|}}} | {{{production|}}}{{#if:{{{production_year|}}} | &nbsp;({{{production_year}}}) }} }}
| class18 = agent
| data18 = {{{key_people|}}}
 
| label19 label23 = ProductsBrands
| data19 data23 = {{{productsbrands|}}}
 
| label24 = Services
| label20 = Production output
| class24 = category
| data20 = {{{production|}}}
| data24 = {{{services|}}}
 
| label21 label25 = ServicesRevenue
| data25 = {{#invoke:WikidataIB |getValue |rank=best |P2139 |name=revenue |qual=P585 |qid={{{qid|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced=yes |noicon={{{noicon|no}}} |maxvals=1 |{{{revenue|}}}{{#if:{{{revenue_year|}}} | &nbsp;({{{revenue_year}}}) }} }}
| class21 = category
| data21 = {{{services|}}}
 
| label26 = {{longitem|[[Earnings before interest and taxes|Operating income]]}}
| label22 = Revenue
| data26 = {{#invoke:WikidataIB |getValue |rank=best |P3362 |name=operating_income |qual=P585 |qid={{{qid|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced=yes |noicon={{{noicon|no}}} |maxvals=1 |{{{operating_income|}}}{{#if:{{{income_year|}}} | &nbsp;({{{income_year}}}) }} }}
| data22 = {{{revenue|}}}
 
| label27 = {{longitem|[[Net income]]}}
| label23 = [[Earnings before interest and taxes|Operating income]]
| data27 = {{#invoke:WikidataIB |getValue |rank=best |P2295 |name=net_income |qual=P585 |qid={{{qid|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced=yes |noicon={{{noicon|no}}} |maxvals=1 |{{{net_income|{{{profit|}}}}}}{{#if:{{{net_income_year|{{{profit_year|}}}}}} | &nbsp;({{{net_income_year|{{{profit_year|}}}}}}) }} }}
| data23 = {{{operating_income|}}}
 
| label28 = [[Assets under management|AUM]]
| label24 = {{#ifeq:{{{intl|}}}|yes|[[Net income|Profit]]|[[Net income]]}}
| data24 data28 = {{{net_incomeaum|}}}
 
| label29 = {{nowrap|[[Asset|Total assets]]}}
| label25 = [[Assets under management|AUM]]
| data29 = {{#invoke:WikidataIB |getValue |rank=best |P2403 |name=assets |qual=P585 |qid={{{qid|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced=yes |noicon={{{noicon|no}}} |maxvals=1 |{{{assets|}}}{{#if:{{{assets_year|}}} | &nbsp;({{{assets_year}}}) }} }}
| data25 = {{{aum|}}}
 
| label26 label30 = {{nowrap|[[AssetEquity (finance)|Total assetsequity]]}}
| data30 = {{#if:{{{equity|}}} | {{{equity}}}{{#if:{{{equity_year|}}} | &nbsp;({{{equity_year}}})}} }}
| data26 = {{{assets|}}}
 
| label31 = Owner{{#if:{{{owners|}}}|s}}
| label27 = [[Equity (finance)|Total equity]]
| data27 data31 = {{{equityowners|{{{owner|}}}}}}
 
| label28 label32 = Owner(s)Members
| data32 = {{#if:{{{members|}}} | {{{members}}}{{#if:{{{members_year|}}} | &nbsp;({{{members_year}}})}} }}
| data28 = {{{owner|}}}
 
| label33 = {{longitem|Number of employees}}
| label29 = Members
| data33 = {{#invoke:WikidataIB |getValue |rank=best |P1128 |name=num_employees |qual=P585 |qid={{{qid|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced=yes |noicon={{{noicon|no}}} |maxvals=1 |{{{num_employees|}}}{{#if:{{{num_employees_year|}}} | &nbsp;({{{num_employees_year}}}) }} }}
| data29 = {{{members|}}}
 
| label34 = [[Parent company|Parent]]
| label30 = Employees
| data34 = {{#ifeq:{{{owners|}}}{{{owner|}}}{{{parent|}}} || {{#invoke:WikidataIB |getValue |rank=best |P749 |name=parent |qid={{{qid|}}} |fetchwikidata={{{fetchwikidata|ALL}}} |suppressfields={{{suppressfields|}}} |onlysourced=yes |noicon={{{noicon|no}}} |sep="<br />" |sorted=yes }} | {{{parent|}}} }}
| data30 = {{{num_employees|}}}
 
| label31 label35 = [[HoldingDivision company(business)|ParentDivisions]]
| data31 data35 = {{{parentdivisions|}}}
 
| label36 = [[Subsidiary|Subsidiaries]]
| label32 = [[Division (business)|Divisions]]
| data32 data36 = {{{divisionssubsid|}}}
 
| data38 = {{{module|}}}
| label33 = [[Subsidiary|Subsidiaries]]
| data33 = {{{subsid|}}}
 
| belowstyle = line-height: 1.35em;
| label34 = Website
| below = {{#if:{{{footnotes|}}} | '''Footnotes{{\}}references'''{{break}}{{{footnotes}}} }}
| data34 = {{{homepage|{{{website|}}}}}}
 
}}<!-- Tracking categories:
| below = {{#if:{{{footnotes|}}}|'''References:''' {{{footnotes}}} }}
}}<noinclude>
 
-->{{main other|{{#if:{{{trading_name|}}}|[[Category:Pages using infobox company using trading name]]
}}{{#ifeq:{{{logo|{{{company_logo|{{wikidata|property|raw|P154}}}}}}}}|{{{logo|{{{company_logo|}}}}}}||[[Category:Pages using infobox company with a logo from wikidata]]
}}{{#if:{{{image|}}}|{{#ifeq:{{#invoke:string|replace|{{{image|}}}| |_}}|{{#invoke:string|replace|{{{logo|{{{company_logo|{{wikidata|property|raw|P154}}}}}}}}| |_}}|[[Category:Pages using infobox company with a duplicate image]]|}}|}}
}}<!--
-->{{#invoke:Check for clobbered parameters|check|nested=1|template=Infobox company|cat={{main other|Category:Pages using infobox company with ignored parameters}}
|name; company_name|logo; company_logo|logo_alt; alt|trade_name; trading_name|former_names; former_name|type; company_type|predecessors; predecessor|successors; successor|foundation; founded|founders; founder|defunct; dissolved|hq_location; location|hq_location_city; location_city|hq_location_country; location_country|num_locations; locations|areas_served; area_served|net_income; profit|net_income_year; profit_year|owners; owner |homepage; website
}}{{#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 | image_upright | income_year | industry | key_people | location | location_city | location_country | locations | logo | logo_alt | logo_caption | logo_size | logo_upright | 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| qid | fetchwikidata | suppressfields | noicon | nocat | demo | categories }}<noinclude>
{{documentation}}
<!-- Add categories and interwikis to the /doc subpage, not here! -->
</noinclude>
rtl-contributors
1,656

edits