Difference between revisions of "Template:BRL"
Jump to navigation
Jump to search
imported>Hack (add) |
imported>Hack (tweak coding) |
||
| Line 1: | Line 1: | ||
<span style="white-space: nowrap"><includeonly>{{#ifeq:{{{link|no}}} | <span style="white-space: nowrap"><includeonly>{{#ifeq:{{{link|no}}} | ||
|yes|[[Brazilian Real|R$]] | |yes|[[Brazilian Real|R$]] | ||
| − | | | + | |R$}}{{#if:{{{1|}}}|{{formatnum:{{{1}}}}}}}</span>{{#if:{{{year|{{{2|}}}}}} |
|{{#ifexpr:{{{year|{{{2|}}}}}}<{{CURRENTYEAR}} | |{{#ifexpr:{{{year|{{{2|}}}}}}<{{CURRENTYEAR}} | ||
|{{#ifexpr:{{{year|{{{2|}}}}}}>1799 | |{{#ifexpr:{{{year|{{{2|}}}}}}>1799 | ||
Revision as of 01:28, 31 October 2014
Usage
{{R$|value}}
Example:
{{R$}}→ Template:R${{R$|123.45}}→ Template:R$
Link
The parameter |link=yes may be used to link R$ to the article Brazilian real. This is turned off by default, but may be appropriate for the first occurrence of the term in an article.
Example:
{{R$|123.45|link=yes}}→ Template:R$
Inflation calculation
Template:ToDo: This template can also calculate inflation, but only if reliably sourced inflation data is first added to Template:Inflation.
Redirects here
See also
| The above documentation is transcluded from Template:BRL/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |