Template:GDP (PPP) per capita/doc

From Sarkarverse
Jump to navigation Jump to search

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