Template:Infobox company: Difference between revisions

From Roses, Tulips, & Liberty
Content added Content deleted
(tfd closed)
(Merge from sandbox)
Line 10: Line 10:
| imageclass = logo
| imageclass = logo
| imagestyle =
| imagestyle =
| image = {{#invoke:InfoboxImage|InfoboxImage |image={{{logo|{{{company_logo|}}}}}} |size={{{logo_size|}}} |sizedefault=frameless |alt={{{logo_alt|{{{alt|}}}}}}}}
| image = {{#invoke:InfoboxImage|InfoboxImage |image={{#if:{{{logo|{{{company_logo|}}} }}} | {{{logo|{{{company_logo}}} }}} | {{#property:P154}} }} |size={{{logo_size|}}} |sizedefault=frameless |alt={{{logo_alt|{{{alt|}}}}}}}}
| caption = {{{logo_caption|}}}
| caption = {{{logo_caption|}}}
| image2 = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|}}} |sizedefault=frameless |alt={{{image_alt|}}}}}
| image2 = {{#invoke:InfoboxImage|InfoboxImage |image={{{image|}}} |size={{{image_size|}}} |sizedefault=frameless |alt={{{image_alt|}}}}}
Line 18: Line 18:
| datastyle = line-height:1.35em;
| datastyle = line-height:1.35em;


| label1 = {{longitem|[[Trade name|Trade name]]}}
| label1 = {{longitem|[[Trade name]]}}
| data1 = {{{trade_name|{{{trading_name|}}}}}}
| data1 = {{{trade_name|{{{trading_name|}}}}}}


Line 33: Line 33:
| label5 = {{longitem|[[List of legal entity types by country|{{#if:{{{defunct|}}}|Former t|T}}ype]]}}
| label5 = {{longitem|[[List of legal entity types by country|{{#if:{{{defunct|}}}|Former t|T}}ype]]}}
| class5 = category
| class5 = category
| data5 = {{{type|{{{company_type|}}}}}}
| data5 = {{#if:{{{type|{{{company_type|}}}}}} | {{{type|{{{company_type}}}}}} | {{wikidata|property|linked|P1454}} }}


| label6 = [[Ticker symbol|Traded as]]
| label6 = [[Ticker symbol|Traded as]]
Line 40: Line 40:
| label7 = [[International Securities Identification Number|ISIN]]
| label7 = [[International Securities Identification Number|ISIN]]
| data7 = {{br separated entries
| data7 = {{br separated entries
|1={{#if:{{{ISIN|}}} |<span class="plainlinks nourlexpansion">[{{fullurl:toollabs:isin/|language=de&isin={{urlencode:{{{ISIN}}}}}}} {{{ISIN}}}]</span>}}
| 1 = {{#if:{{{ISIN|}}} | <span class="plainlinks nourlexpansion">[{{fullurl:toollabs:isin/|language=de&isin={{urlencode:{{{ISIN}}}}}}} {{{ISIN}}}]</span> | {{#if:{{#property:P946}} | <span class="plainlinks nourlexpansion">[{{fullurl:toollabs:isin/|language=de&isin={{urlencode:{{wikidata|property|P946}}}}}} {{wikidata|property|P946}}]</span>}} }}
|2={{#if:{{{ISIN2|}}} |<span class="plainlinks nourlexpansion">[{{fullurl:toollabs:isin/|language=de&isin={{urlencode:{{{ISIN2}}}}}}} {{{ISIN2}}}]</span>}}
| 2 = {{#if:{{{ISIN2|}}} | <span class="plainlinks nourlexpansion">[{{fullurl:toollabs:isin/|language=de&isin={{urlencode:{{{ISIN2}}}}}}} {{{ISIN2}}}]</span>}}
}}
}}


| label8 = Industry
| label8 = Industry
| class8 = category
| class8 = category
| data8 = {{{industry|}}}
| data8 = {{#if:{{{industry|}}} | {{{industry}}} | {{wikidata|properties|linked|P452}} }}


| label9 = Genre
| label9 = Genre
Line 56: Line 56:


| label11 = Predecessor{{#if:{{{predecessors|}}}|s}}
| label11 = Predecessor{{#if:{{{predecessors|}}}|s}}
| data11 = {{{predecessors|{{{predecessor|}}}}}}
| data11 = {{#if:{{{predecessors|{{{predecessor|}}}}}} | {{wikidata|property|P155}} }}


| label12 = Successor{{#if:{{{successors|}}}|s}}
| label12 = Successor{{#if:{{{successors|}}}|s}}
| data12 = {{{successors|{{{successor|}}}}}}
| data12 = {{#if:{{{successors|{{{successor|}}}}}} | {{wikidata|property|P156}} }}


| label13 = Founded
| label13 = Founded
| data13 = {{{foundation|{{{founded|}}}}}}
| data13 = {{#if:{{{foundation|{{{founded|}}}}}} | {{{foundation|{{{founded}}}}}} | {{wikidata|property|P571}} }}


| label14 = Founder{{#if:{{{founders|}}}|s}}
| label14 = Founder{{#if:{{{founders|}}}|s}}
| class14 = agent
| class14 = agent
| data14 = {{{founders|{{{founder|}}}}}}
| data14 = {{#if:{{{founders|{{{founder|}}}}}} | {{{founders|{{{founder}}}}}} | {{wikidata|properties|linked|P112}} }}


| label15 = Defunct
| label15 = Defunct
| data15 = {{{defunct|{{{dissolved|}}}}}}
| data15 = {{#if: {{{defunct|{{{dissolved|}}}}}} | {{{defunct|{{{dissolved|}}}}}} | {{wikidata|property|P576}} }}


| label16 = Headquarters
| label16 = Headquarters
| class16 = {{#if:{{{hq_location|}}}{{{location|}}} |label |adr}}
| class16 = {{#if:{{{hq_location|}}}{{{location|}}} |label |adr}}
| data16 = {{#if:{{{hq_location|}}}{{{location|}}}{{{hq_location_city|}}}{{{location_city|}}}{{{hq_location_country|}}}{{{location_country|}}}
| data16 = {{#if:{{{hq_location|}}}{{{location|}}}{{{hq_location_city|}}}{{{location_city|}}}{{{hq_location_country|}}}{{{location_country|}}}{{#property:P159}}
| {{Comma separated entries
| {{Comma separated entries
| 1 = {{{hq_location|{{{location|}}}}}}
| 1 = {{{hq_location|{{{location|}}}}}}
| 2 = {{#if:{{{hq_location_city|}}}{{{location_city|}}} |<div style="display:inline" class="locality">{{{hq_location_city|{{{location_city|}}}}}}</div>}}
| 2 = {{#if:{{{hq_location_city|}}}{{{location_city|}}}{{#property:P159}} |<div style="display:inline" class="locality">{{#if:{{{hq_location_city|}}}{{{location_city|}}} | {{{hq_location_city|{{{location_city|}}}}}} | {{wikidata|property|linked|P159}} }}</div>}}
| 3 = {{#if:{{{hq_location_country|}}}{{{location_country|}}} |<div style="display:inline" class="country-name">{{{hq_location_country|{{{location_country|}}}}}}</div>}}
| 3 = {{#if:{{{hq_location_country|}}}{{{location_country|}}}{{#property:P17}} |<div style="display:inline" class="country-name">{{#if:{{{hq_location_country|}}}{{{location_country|}}} | {{{hq_location_country|{{{location_country|}}}}}} | {{wikidata|property|linked|P17}} }}</div>}}
}} }}
}} }}


Line 91: Line 91:


| label21 = Products
| label21 = Products
| data21 = {{{products|}}}
| data21 = {{#if:{{{products|}}} | {{{products|}}} | {{#if:{{{#property:P1056}}} | {{wikidata|properties|linked|P1056}} }} }}


| label22 = Brands
| label22 = Brands
Line 104: Line 104:


| label25 = Revenue
| label25 = Revenue
| data25 = {{#if:{{{revenue|}}} |{{{revenue}}}{{#if:{{{revenue_year|}}}|&nbsp;({{{revenue_year}}})}} }}
| data25 = {{#if:{{{revenue|}}} | {{{revenue}}}{{#if:{{{revenue_year|}}}|&nbsp;({{{revenue_year}}}) }} | {{wikidata|property|short|linked|qualifier|normal+|P2139|P585|format=%p&#32;(%q[%s][%r])}} }}


| label26 = {{longitem|[[Earnings before interest and taxes|Operating income]]}}
| label26 = {{longitem|[[Earnings before interest and taxes|Operating income]]}}
| data26 = {{#if:{{{operating_income|}}} |{{{operating_income}}}{{#if:{{{income_year|}}}|&nbsp;({{{income_year}}})}} }}
| data26 = {{#if:{{{operating_income|}}} |{{{operating_income}}}{{#if:{{{income_year|}}}|&nbsp;({{{income_year}}})}} | {{wikidata|property|short|linked|qualifier|normal+|P3362|P585|format=%p&#32;(%q[%s][%r])}} }}


| label27 = {{longitem|[[Net income]]}}
| label27 = {{longitem|[[Net income]]}}
| data27 = {{#if:{{{net_income|}}}{{{profit|}}} |{{{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|}}}}}})}} | {{wikidata|property|linked|qualifier|reference|normal+|P2295|P585|format=%p&#32;(%q[%s][%r])}} }}


| label28 = [[Assets under management|AUM]]
| label28 = [[Assets under management|AUM]]
Line 116: Line 116:


| label29 = {{nowrap|[[Asset|Total assets]]}}
| label29 = {{nowrap|[[Asset|Total assets]]}}
| data29 = {{#if:{{{assets|}}} |{{{assets}}}{{#if:{{{assets_year|}}}|&nbsp;({{{assets_year}}})}} }}
| data29 = {{#if:{{{assets|}}} | {{{assets}}}{{#if:{{{assets_year|}}}|&nbsp;({{{assets_year}}})}} | {{wikidata|property|short|linked|qualifier|normal+|P2403|P585|format=%p&#32;(%q[%s][%r])}} }}


| label30 = {{nowrap|[[Equity (finance)|Total equity]]}}
| label30 = {{nowrap|[[Equity (finance)|Total equity]]}}
Line 122: Line 122:


| label31 = Owner{{#if:{{{owners|}}}|s}}
| label31 = Owner{{#if:{{{owners|}}}|s}}
| data31 = {{{owners|{{{owner|}}}}}}
| data31 = {{#if: {{{owners|{{{owner|}}}}}} | {{{owners|{{{owner|}}}}}} | {{wikidata|properties|linked|qualifier|normal+|P127|P1107}} }}


| label32 = Members
| label32 = Members
Line 128: Line 128:


| label33 = {{longitem|Number of employees}}
| label33 = {{longitem|Number of employees}}
| data33 = {{#if:{{{num_employees|}}} |{{{num_employees}}}{{#if:{{{num_employees_year|}}}|&nbsp;({{{num_employees_year}}})}} }}
| data33 = {{#if:{{{num_employees|}}} |{{{num_employees}}}{{#if:{{{num_employees_year|}}}|&nbsp;({{{num_employees_year}}})}} | {{wikidata|property|qualifier|normal+|P1128|P585|format=%p&#32;(%q[%s][%r])}} }}


| label34 = [[Parent company|Parent]]
| label34 = [[Parent company|Parent]]
| data34 = {{{parent|}}}
| data34 = {{#if: {{{parent|}}} | {{{parent}}} | {{wikidata|properties|linked|P749}} }}


| label35 = [[Division (business)|Divisions]]
| label35 = [[Division (business)|Divisions]]
Line 151: Line 151:
|{{#ifeq:{{{homepage|{{{website|}}}}}}|hide||{{{homepage|{{{website|}}}}}} }}
|{{#ifeq:{{{homepage|{{{website|}}}}}}|hide||{{{homepage|{{{website|}}}}}} }}
|{{#if:{{#property:P856}}
|{{#if:{{#property:P856}}
|{{#invoke:WikidataIB |url2 |url={{wdib |P856 |fwd=ALL |osd=no |rank=best |maxvals=1}} }}
|{{#invoke:WikidataIB|url2|url={{wdib|P856|fwd=ALL|osd=no|rank=best|maxvals=1}} }}
}}
}}
}}
}}

Revision as of 15:20, 7 November 2019

Template:Wikidata
ISINTemplate:Wikidata
IndustryTemplate:Wikidata
FoundedTemplate:Wikidata
FounderTemplate:Wikidata
DefunctTemplate:Wikidata
Headquarters,
ProductsTemplate:Wikidata
RevenueTemplate:Wikidata
Template:Wikidata
Template:Wikidata
Total assetsTemplate:Wikidata
OwnerTemplate:Wikidata
Number of employees
Template:Wikidata
ParentTemplate:Wikidata