Template:Infobox company: Difference between revisions

Making fixed sandbox live
(Revert to stable version to enable us to re-review the issues raised)
(Making fixed sandbox live)
Line 6:
 
| titleclass = fn org
| title = {{#ifeq:{{lc:{{{embed}}}}} | yes | '''Company''' | {{{name|{{{company_name|<includeonly>{{PAGENAMEBASE}}</includeonly>}}}}}} }}
 
| imageclass = logo
| imagestyle =
| image = {{#invoke:InfoboxImage |InfoboxImage |image={{{logo|{{{company_logo|{{#property:P154}}}}}}}} |size={{{logo_size|}}} |sizedefault=frameless |alt={{{logo_alt|{{{alt|}}}}}}}}
| caption = {{{logo_caption|}}}
| image2 = {{#invoke:InfoboxImage |InfoboxImage |image={{{image|}}} |size={{{image_size|}}} |sizedefault=frameless |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|Trade name]]}}
| data1 = {{{trade_name|{{{trading_name|}}}}}}
 
| label2 = {{longitem|Native name}}
| data2 = {{#if:{{{native_name|}}} |<div style="display:inline" class="nickname" {{#if:{{{native_name_lang|}}} | {{lang="|{{{native_name_lang}}}"|{{{native_name}}>} }} | {{{native_name}}}</div>| }} }}
 
| label3 = {{longitem|[[Romanization|Romanized]] name}}
Line 33:
| label5 = {{longitem|[[List of legal entity types by country|{{#if:{{{defunct|}}}|Former t|T}}ype]]}}
| class5 = category
| data5 = {{{type|{{{company_type|{{wikidata|property|edit|linked|P1454}}}}}}}}
 
| label6 = [[Ticker symbol|Traded&nbsp;as]]
Line 39:
 
| label7 = [[International Securities Identification Number|ISIN]]
| data7 = {{brBr separated entries
| 1 = {{#if:{{{ISIN|{{#property:P946}}}}} | <span class="plainlinks nourlexpansion">[{{fullurl:toollabs:isin/|language=de&isin={{urlencode:{{{ISIN|{{wikidata|property|edit|P946}}}}} }} }} {{{ISIN|{{wikidata|property|edit|P946}}}}}]</span> }}
| 2 = {{#if:{{{ISIN2|}}} | <span class="plainlinks nourlexpansion">[{{fullurl:toollabs:isin/|language=de&isin={{urlencode:{{{ISIN2}}}}}}} {{{ISIN2}}}]</span>}}
}}
 
| label8 = Industry
| class8 = category
| data8 = {{{industry|{{wikidata|properties|edit|linked|P452}}}}}
 
| label9 = Genre
Line 56:
 
| label11 = Predecessor{{#if:{{{predecessors|}}}|s}}
| data11 = {{{predecessors|{{{predecessor|{{wikidata|properties|edit|P155}}}}}}}}
 
| label12 = Successor{{#if:{{{successors|}}}|s}}
| data12 = {{{successors|{{{successor|{{wikidata|properties|edit|P156}}}}}}}}
 
| label13 = Founded
| data13 = {{{foundation|{{{founded|{{wikidata|property|edit|P571}}}}}}}}
 
| label14 = Founder{{#if:{{{founders|}}}|s}}
| class14 = agent
| data14 = {{{founders|{{{founder|{{wikidata|properties|edit|linked|P112}}}}}}}}
 
| label15 = Defunct
| data15 = {{{defunct|{{{dissolved|{{wikidata|property|edit|P576}}}}}}}}
 
| label16 = Headquarters
| class16 = {{#if:{{{hq_location|}}}{{{location|}}}}}} | label | adr}}
| 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">{{#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:{{#property:P159}}{{#property:P17}}
| {{Comma separated entries
| 1 = {{#if:{{#property:P159}} |<div style="display: inline;" class="locality">{{wikidata|property|edit|linked|P159}}</div>}}
| 2 = {{#if:{{#property:P17}} |<div style="display: inline;" class="country-name">{{wikidata|property|edit|linked|P17}}</div>}}
}}
}}
}}
 
| label18 = {{longitem|Number of locations}}
| data18 = {{#if:{{{num_locations|}}}{{{locations|}}}}}} | {{{num_locations|{{{locations|}}}}}}{{#if:{{{num_locations_year|}}} | &nbsp;({{{num_locations_year}}}) }} }}
 
| label19 = {{longitem|Area{{#if:{{{areas_served|}}}|s}} served}}
Line 91 ⟶ 98:
 
| label21 = Products
| data21 = {{{products|{{wikidata|properties|edit|linked|P1056}}}}}
 
| label22 = Brands
Line 97 ⟶ 104:
 
| label23 = {{longitem|Production output}}
| data23 = {{#if:{{{production|}}} | {{{production|}}}{{#if:{{{production_year|}}} | &nbsp;({{{production_year}}}) }} }}
 
| label24 = Services
Line 104 ⟶ 111:
 
| label25 = Revenue
| data25 = {{#if:{{{revenue|}}} | {{{revenue}}}{{#if:{{{revenue_year|}}} | &nbsp;({{{revenue_year}}}) }} | {{wikidata|property|edit|short|linked|qualifier|normal+|P2139|P585|format=%p&#32;(%q[%s][%r])}} }}
 
| label26 = {{longitem|[[Earnings before interest and taxes|Operating income]]}}
| data26 = {{#if:{{{operating_income|}}} | {{{operating_income}}}{{#if:{{{income_year|}}} | &nbsp;({{{income_year}}}) }} | {{wikidata|property|edit|short|linked|qualifier|normal+|P3362|P585|format=%p&#32;(%q[%s][%r])}} }}
 
| label27 = {{longitem|[[Net income]]}}
| data27 = {{#if:{{{net_income|}}}{{{profit|}}}}}} | {{{net_income|{{{profit|}}}}}}{{#if:{{{net_income_year|}}}{{{profit_year|}}}}}} | &nbsp;({{{net_income_year|{{{profit_year|}}}}}}) }} | {{wikidata|property|edit|linked|qualifier|reference|normal+|P2295|P585|format=%p&#32;(%q[%s][%r])}} }}
 
| label28 = [[Assets under management|AUM]]
Line 116 ⟶ 123:
 
| label29 = {{nowrap|[[Asset|Total assets]]}}
| data29 = {{#if:{{{assets|}}} | {{{assets}}}{{#if:{{{assets_year|}}} | &nbsp;({{{assets_year}}}) }} | {{wikidata|property|edit|short|linked|qualifier|normal+|P2403|P585|format=%p&#32;(%q[%s][%r])}} }}
 
| label30 = {{nowrap|[[Equity (finance)|Total equity]]}}
| data30 = {{#if:{{{equity|}}} | {{{equity}}}{{#if:{{{equity_year|}}} | &nbsp;({{{equity_year}}})}} }}
 
| label31 = Owner{{#if:{{{owners|}}}|s}}
| data31 = {{{owners|{{{owner|{{#if:{{{owners|{{{owner|{{{parent|}}}}}}}}}||{{wikidata|properties|edit|linked|qualifier|normal+|P127|P1107}}}}}}}}}}
 
| label32 = Members
| data32 = {{#if:{{{members|}}} | {{{members}}}{{#if:{{{members_year|}}} | &nbsp;({{{members_year}}})}} }}
 
| label33 = {{longitem|Number of employees}}
| data33 = {{#if:{{{num_employees|}}} | {{{num_employees}}}{{#if:{{{num_employees_year|}}} | &nbsp;({{{num_employees_year}}}) }} | {{wikidata|property|edit|qualifier|normal+|P1128|P585|format=%p&#32;(%q[%s][%r])}} }}
 
| label34 = [[Parent company|Parent]]
| data34 = {{{parent|{{#if:{{{owners|{{{owner|{{{parent|}}}}}}}}}||{{wikidata|properties|edit|linked|P749}}}}}}}
 
| label35 = [[Division (business)|Divisions]]
Line 141 ⟶ 148:
| data38 = {{{module|}}}
 
| label39 = [[Basel III|Capital ratio]]<!--For BANKS only-->
| data39 = {{{ratio|}}}
 
| label40 = Rating<!--For BANKS only-->
| data40 = {{{rating|}}}
 
| label41 = Website
| data41 = {{#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}} }}
}}
}}
 
| belowstyle = line-height: 1.35em;
| below = {{#if:{{{footnotes|}}} | '''Footnotes{{\}}references'''<br />{{{footnotes}}} }}
 
}}<!-- Tracking categories:
Anonymous user