Template:Wikidata revenue/sandbox
Format price error: cannot parse value " "
![]() | __EXPECTUNUSEDTEMPLATE__This is the template sandbox page for Template:Wikidata revenue (diff). |

NO LABEL (P2137) (see uses)
NO LABEL (P2139) (see uses)
NO LABEL (P2295) (see uses)
NO LABEL (P2403) (see uses)
NO LABEL (P3362) (see uses)
NO LABEL (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
- revenue
Corresponds to the Wikidata property (P2139).
- operating_income
Corresponds to the Wikidata property (P3362).
- net_income
Corresponds to the Wikidata property (P2295).
- assets
Corresponds to the Wikidata property (P2403).
- equity
Corresponds to the Wikidata property (P2137).
- aum
Corresponds to the Wikidata property (P4103) (use only for financial-service companies).
Usage
Usage: <syntaxhighlight lang="wikitext" style="overflow:auto;"> Expression error: Unexpected < operator.
Expression error: Unexpected < operator.$Lua error in Module:Format_price at line 43: Format price error: cannot parse value " <big><span style="color: red;">Undefined year "<strong class="error">String Module Error: String subset index out of range</strong>"</span></big> ".
Expression error: Unexpected < operator.
Expression error: Unexpected < operator.$Lua error in Module:Format_price at line 43: Format price error: cannot parse value " <big><span style="color: red;">Undefined year "<strong class="error">String Module Error: String subset index out of range</strong>"</span></big> ".
Expression error: Unexpected < operator.
Expression error: Unexpected < operator.$Lua error in Module:Format_price at line 43: Format price error: cannot parse value " <big><span style="color: red;">Undefined year "<strong class="error">String Module Error: String subset index out of range</strong>"</span></big> ".
Expression error: Unexpected < operator.
Expression error: Unexpected < operator.$Lua error in Module:Format_price at line 43: Format price error: cannot parse value " <big><span style="color: red;">Undefined year "<strong class="error">String Module Error: String subset index out of range</strong>"</span></big> ".
Expression error: Unexpected < operator.
Expression error: Unexpected < operator.$Lua error in Module:Format_price at line 43: Format price error: cannot parse value " <big><span style="color: red;">Undefined year "<strong class="error">String Module Error: String subset index out of range</strong>"</span></big> ".
Expression error: Unexpected < operator.
Expression error: Unexpected < operator.$Lua error in Module:Format_price at line 43: Format price error: cannot parse value " <big><span style="color: red;">Undefined year "<strong class="error">String Module Error: String subset index out of range</strong>"</span></big> ".
</syntaxhighlight>