Difference between revisions of "Template:BRL"

From blackwiki
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$]]
  |A$}}{{#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}}
 
   |{{#ifexpr:{{{year|{{{2|}}}}}}>1799
 
   |{{#ifexpr:{{{year|{{{2|}}}}}}>1799

Revision as of 01:28, 31 October 2014

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