ഫലകം:US$/doc
< ഫലകം:US$
This is a documentation subpage for ഫലകം:US$. It may contain usage information, categories and other content that is not part of the original ഫലകം page. |
This template adds the currency mark "US$" linked to the United States dollar article.
Usage
തിരുത്തുക{{US$|value}}
- value must be specified.
{{US$|123.45}}
produces US$123.45.
Inflation calculation
തിരുത്തുകThe template now supports calculation of inflation. A second parameter can be used to specify a year between 1913 and 2009 and will calculate the relative value in 2010.
{{US$|value|year}}
A third parameter about will cause the template to calculate to the nearest dollar instead of the nearest cent. This can be activated by typing about=yes.
Examples:
{{US$|10|1935}}
→ US$10 (equivalent to $172.01 in 2023){{US$|10|1935|round=0}}
→ US$10 (equivalent to $172 in 2023){{US$|1000|1935|round=2}}
→ US$1,000 (equivalent to $17,201.46 in 2023){{US$|1000|1935|round=-2}}
→ US$1,000 (equivalent to $17,200 in 2023)
Link
തിരുത്തുകThe link parameter may be used to link US$ to the article United States dollar. This is turned off by default, but may be appropriate for the first occurrence of the term in an article.
Example:
{{US$|10|1935|link=yes}}
→ US$10 (equivalent to $172.01 in 2023)
See also
തിരുത്തുക