| File:Edit-copy green.svg | This is a documentation subpage for Template:Philippine peso. It contains usage information, categories and other content that is not part of the original template page. |
This is a multifunction template. At its simplest, it adds the currency mark "₱", as recommended by MOS:CURRENCY for many situations. The template can also link to the Philippine peso article and can even calculate inflation. See warnings below.
Usage
{{₱|value}}
Example:
{{₱}}→ ₱{{₱|123.45}}→ ₱123.45
Link
The parameter |link=yes may be used to link ₱ to the article Philippine peso. This is turned off by default, but may be appropriate for the first occurrence of the term in an article.
Example:
{{₱|123.45|link=yes}}→ ₱123.45
Inflation calculation
| File:Ambox important.svg | This template is only capable of inflating Consumer Price Index values: staples, workers' rent, small service bills (doctor's costs, train tickets). This template is incapable of inflating capital expenses, government expenses, or the personal wealth and expenditure of the rich. Incorrect use of this template would constitute original research. If you yourself do not have economic training, then please consult someone who does before using this template. | File:Emblem-money.svg |
| File:Ambox important.svg | Do not assume that using this template will mean that a calculated value is "current", "as of 2026", "as of 2025" or even necessarily "recent". Do not use {{CURRENTYEAR}} to refer to calculated value, instead {{Inflation/year|PH}} may be used. See also MOS:REALTIME. | File:Current event warning.svg |
The template supports inflation calculation, by way of {{Inflation}}. If the second parameter is used, to specify a year, and this year is within a certain range of available inflation data (specifically, if 1899 ≤ year < 2019), the equivalent value represented in 2019 pesos will be calculated in parentheses. However, this function should only be used in appropriate situations.
Examples:
{{₱|100|1898}}→ ₱100{{₱|100|1899}}→ ₱100 (equivalent to ₱50,520 in 2019){{₱|100|1990}}→ ₱100 (equivalent to ₱480.43 in 2019){{₱|100|1990|link=yes}}→ ₱100 (equivalent to ₱480.43 in 2019){{₱|100|2018}}→ ₱100 (equivalent to ₱102.47 in 2019){{₱|100|2019}}→ ₱100{{₱|100|2026}}→ ₱100{{₱|100|2027}}→ ₱100
Additional parameter |about=yes will cause the template to calculate to the nearest peso (instead of the nearest centavo), and prefix the calculated value with "about". The rounding can be fine-tuned further by using |round=integer. These parameters may be combined.
Examples:
{{₱|10|1990}}→ ₱10 (equivalent to ₱48.04 in 2019){{₱|10|1990|round=0}}→ ₱10 (equivalent to ₱48 in 2019){{₱|10|1990|about=yes}}→ ₱10 (equivalent to about ₱48 in 2019){{₱|1000|1990|round=2}}→ ₱1,000 (equivalent to ₱4,804.31 in 2019){{₱|1000|1990|round=-2}}→ ₱1,000 (equivalent to ₱4,800 in 2019){{₱|1000|1990|round=-2|about=yes}}→ ₱1,000 (equivalent to about ₱4,800 in 2019)
Redirects here
See also
- Wikipedia:Manual of Style (dates and numbers)#Currencies
- Template:Currency
- Wikipedia:Wikiproject Philippines
- Template:AUD
- Template:BDT
- Template:CAD
- Template:CNY
- Template:JPY
- Template:US$