قالب:Wikidata revenue/sandbox

Template documentation[view] [edit] [history] [purge]

This template is used to automatically fetch revenue and income figures from Wikidata, to add them to infobox templates such as {{Infobox company}}.

It can also automatically convert figures to US dollars by using exchange rates from the {{To USD}} template.

For the template to work, the Wikidata entity should have only one value ranked normal or higher; outdated values should be ranked as deprecated.

Try it in context: Walmart , Abrau-Durso (winery) , Apple Inc.


Parameters

revenue

Corresponds to the Wikidata property [خطأ: الوظيفة "wdurl" غير موجودة. total revenue (P2139)].

operating_income

Corresponds to the Wikidata property [خطأ: الوظيفة "wdurl" غير موجودة. operating income (P3362)].

net_income

Corresponds to the Wikidata property [خطأ: الوظيفة "wdurl" غير موجودة. net profit (P2295)].

assets

Corresponds to the Wikidata property [خطأ: الوظيفة "wdurl" غير موجودة. total assets (P2403)].

equity

Corresponds to the Wikidata property [خطأ: الوظيفة "wdurl" غير موجودة. total equity (P2137)].

aum

Corresponds to the Wikidata property [خطأ: الوظيفة "wdurl" غير موجودة. (P4103)] (use only for financial-service companies).

Usage

Usage:

{{wikidata revenue|revenue|num}}
{{wikidata revenue|revenue|ref}}
{{wikidata revenue|revenue|year}}
{{wikidata revenue|revenue|USD}}

{{wikidata revenue|operating_income|num}}
{{wikidata revenue|operating_income|ref}}
{{wikidata revenue|operating_income|year}}
{{wikidata revenue|operating_income|USD}}

{{wikidata revenue|net_income|num}}
{{wikidata revenue|net_income|ref}}
{{wikidata revenue|net_income|year}}
{{wikidata revenue|net_income|USD}}

{{wikidata revenue|assets|num}}
{{wikidata revenue|assets|ref}}
{{wikidata revenue|assets|year}}
{{wikidata revenue|assets|USD}}

{{wikidata revenue|equity|num}}
{{wikidata revenue|equity|ref}}
{{wikidata revenue|equity|year}}
{{wikidata revenue|equity|USD}}

{{wikidata revenue|aum|num}}
{{wikidata revenue|aum|ref}}
{{wikidata revenue|aum|year}}
{{wikidata revenue|aum|USD}}