Jump to content

Template:Wikidata revenue/doc

From Wikipedia, the free encyclopedia

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

[edit]
revenue

Corresponds to the Wikidata property total revenue (P2139).

operating_income

Corresponds to the Wikidata property operating income (P3362).

net_income

Corresponds to the Wikidata property net profit (P2295).

assets

Corresponds to the Wikidata property total assets (P2403).

equity

Corresponds to the Wikidata property total equity (P2137).

aum

Corresponds to the Wikidata property assets under management (P4103) (use only for financial-service companies).

Usage

[edit]

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}}