Template:GDP (PPP) per capita
Appearance
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
[edit]{{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
[edit]- {{GDP (PPP) per capita|Zimbabwe}} displays 2027.1, the GDP (PPP) per capita of Zimbabwe in 2016.
- {{GDP (PPP) per capita|Zimbabwe|round=yes}} displays 2027.
- {{GDP (PPP) per capita|Zimbabwe|year=2011}} displays 514.821, 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.
Supported years
[edit]The template supports 2011 through 2021 and 2014 through 2016:
- {{GDP (PPP) per capita|Zimbabwe|year=2011}} → 514.821
- {{GDP (PPP) per capita|Zimbabwe|year=2012}} → 1832.083
- {{GDP (PPP) per capita|Zimbabwe|year=2013}} → Undefined year "2013"
- {{GDP (PPP) per capita|Zimbabwe|year=2014}} → 1858.599
- {{GDP (PPP) per capita|Zimbabwe|year=2015}} → 1793.586
- {{GDP (PPP) per capita|Zimbabwe|year=2016}} → 2027.1