Template:List of minimum wages by country/Annual wage/PPP/doc
This is a documentation subpage for Template:List of minimum wages by country/Annual wage/PPP. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
editThis template calculates the annual wage of a worker in 2012 international dollars given the worker's country, pay period, and earnings in the local currency during that period.
Syntax
edit{{ List of minimum wages by country/Annual wage/PPP| {{{1}}} | {{{2}}} | {{{3}}} | workweek = {{{workweek}}} | prefix = {{{prefix}}} }}
- {{{1}}}: The amount of pay earned during the given pay period, reported in the local currency.
- {{{2}}}: The country of the worker, either given as the full name or the 3-letter ISO code of the country.
- {{{3}}}: The frequency of the pay period. Valid values are "annually", "13 times annually", "monthly", "weekly", "daily" and "hourly".
- {{{workweek}}}: The number of hours in the worker's standard workweek. Necessary if the frequency given is hourly.
- {{{prefix}}}: An optional parameter which, when equal to "no" returns only the number without the $ prefix and without being enclosed in the nts template.
Examples
edit- {{ List of minimum wages by country/Annual wage/PPP| 60.57 | Mexico | daily }} displays
1,557.69 , which is the gross earnings a Mexican worker earns in a year, reported in 2012 international dollars, if the worker earns a gross wage of 60.57 Mexican pesos per day.
- {{ List of minimum wages by country/Annual wage/PPP| 60.57 | MEX | daily }} also displays
1,557.69 .
- {{ List of minimum wages by country/Annual wage/PPP| 60.57 | MEX | daily | prefix = no }} displays
1557.69 .
See also
edit- Template:List of minimum wages by country/Annual wage/USD: Takes the same input, but returns the result as 2012 United States dollars instead of 2012 international dollars.
- Template:International dollars: The source of the conversion data.