Template:Wikidata revenue/sandbox
Format price error: cannot parse value " "
![]() | This is the template sandbox page for Template:Wikidata revenue (diff). |
total equity (P2137) (see uses)
total revenue (P2139) (see uses)
net profit (P2295) (see uses)
total assets (P2403) (see uses)
operating income (P3362) (see uses)
assets under management (P4103) (see uses)
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}}