ଛାଞ୍ଚ:US$/doc
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)
Example:
{{US$|123.45}}
produces US$୧୨୩.୪୫
Inflation calculation
[ସମ୍ପାଦନା]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 possess it, please consult someone with economic training before making use of this. |
The template supports calculation of inflation. A second parameter can be used to specify a year from 1800 onwards and the relative value in ୨୦୨୪ will be calculated.
{{US$|value|year}}
Examples:
{{US$|10|1799}}
→ US$୧୦ପ୍ରକାଶନରେ ଅସୁବିଧା: ଅଜଣା ଚିହ୍ନ "୨" ।{{US$|10|1800}}
→ US$୧୦ପ୍ରକାଶନରେ ଅସୁବିଧା: ଅଜଣା ଚିହ୍ନ "୨" ।{{US$|10|2013}}
→ US$୧୦ପ୍ରକାଶନରେ ଅସୁବିଧା: ଅଜଣା ଚିହ୍ନ "୨" ।
A third parameter |about=yes
will cause the template to calculate to the nearest dollar (instead of the nearest cent), and prefix the calculated value with "about". The rounding can be fine-tuned further by using |round=integer
. These parameters may be combined.
Examples:
{{US$|10|1935}}
→ US$୧୦ପ୍ରକାଶନରେ ଅସୁବିଧା: ଅଜଣା ଚିହ୍ନ "୨" ।{{US$|10|1935|about=yes}}
→ US$୧୦ପ୍ରକାଶନରେ ଅସୁବିଧା: ଅଜଣା ଚିହ୍ନ "୨" ।{{US$|10|1935|round=0}}
→ US$୧୦ପ୍ରକାଶନରେ ଅସୁବିଧା: ଅଜଣା ଚିହ୍ନ "୨" ।{{US$|1000|1935|round=2}}
→ US$୧,୦୦୦ପ୍ରକାଶନରେ ଅସୁବିଧା: ଅଜଣା ଚିହ୍ନ "୨" ।{{US$|1000|1935|round=-2}}
→ US$୧,୦୦୦ପ୍ରକାଶନରେ ଅସୁବିଧା: ଅଜଣା ଚିହ୍ନ "୨" ।{{US$|1000|1935|round=-2|about=yes}}
→ US$୧,୦୦୦ପ୍ରକାଶନରେ ଅସୁବିଧା: ଅଜଣା ଚିହ୍ନ "୨" ।
Link
[ସମ୍ପାଦନା]The parameter |link=yes
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$୧୦ପ୍ରକାଶନରେ ଅସୁବିଧା: ଅଜଣା ଚିହ୍ନ "୨" ।
See also
[ସମ୍ପାଦନା]