Difference between revisions of "Template:BRL"

From blackwiki
Jump to navigation Jump to search
imported>Hack
(tweak coding)
imported>Hack
(tweak wikilink)
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|}}}}}}
 
  |R$}}{{#if:{{{1|}}}|{{formatnum:{{{1}}}}}}}</span>{{#if:{{{year|{{{2|}}}}}}
 
  |{{#ifexpr:{{{year|{{{2|}}}}}}<{{CURRENTYEAR}}
 
  |{{#ifexpr:{{{year|{{{2|}}}}}}<{{CURRENTYEAR}}

Revision as of 01:39, 31 October 2014

50px Template documentation[view] [edit] [history] [purge]

Usage

{{R$|value}}

Example:

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:

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