Template:GDP (PPP) per capita

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Template documentation[view] [edit] [history] [purge]

This template returns the value of the GDP (PPP) per capita in the year provided (2015 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 2015 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 1793.586, the GDP (PPP) per capita of Zimbabwe in 2015.
  • {{GDP (PPP) per capita|Zimbabwe|round=yes}} displays 1794.
  • {{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.