Template:GDP (PPP) per capita/doc
From HandWiki
< Template:GDP (PPP) per capita
Revision as of 07:12, 6 December 2020 by imported>Jworkorg (1 revision imported)
This is a documentation subpage for Template:GDP (PPP) per capita It may contain usage information, categories and other content that is not part of the original template page. |
This template returns the value of the GDP (PPP) per capita in the year provided (2016 if no year is provided) given in current international dollars.
Syntax
{{GDP (PPP) per capita | {{{1}}} | year = {{{year}}} | round = {{{round}}} }}
- {{{1}}} is the country name or 3-letter ISO code for the country whose GDP (PPP) per capita is to be returned.
- {{{year}}} is an optional parameter. If it is not provided, data for 2016 is returned.
- {{{round}}} is an optional parameter. If it is equal to "yes", then the converted value is displayed to the nearest international dollar.
Examples
- {{GDP (PPP) per capita|Zimbabwe}} displays Template:GDP (PPP) per capita/data/2016, the GDP (PPP) per capita of Zimbabwe in 2016.
- {{GDP (PPP) per capita|Zimbabwe|round=yes}} displays Template:GDP (PPP) per capita/data/2016.
- {{GDP (PPP) per capita|Zimbabwe|year=2011}} displays Template:GDP (PPP) per capita/data/2011, the GDP (PPP) per capita of Zimbabwe in 2011.
- {{GDP (PPP) per capita|Zimbabwe|year=1901}} displays Undefined year "1901" since data for the year 1901 has not been defined.