Templat:Wikidata revenue
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
sunting- revenue
Corresponds to the Wikidata property jumlah hasil (P2139).
- operating_income
Corresponds to the Wikidata property pendapatan kendalian (P3362).
- net_income
Corresponds to the Wikidata property untung bersih (P2295).
- assets
Corresponds to the Wikidata property jumlah aset (P2403).
- equity
Corresponds to the Wikidata property jumlah ekuiti (P2137).
- aum
Corresponds to the Wikidata property (P4103) (use only for financial-service companies).
Usage
suntingUsage:
{{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}}
Pendokumenan di atas ditransklusikan daripada Templat:Wikidata revenue/doc. (sunting | sejarah) Para penyunting boleh membuat percubaan di laman kotak pasir (cipta | cermin) dan kes ujian (cipta) templat ini. Sila letakkan kategori di sublaman /doc. Sublaman templat ini. |