Template:TTD/doc

From Wikipedia, the free encyclopedia

This is a multifunction template. At its simplest, it adds the currency mark "TT$", as recommended by MOS:CURRENCY for many situations. The template can also link to the Trinidad and Tobago dollar article.

Usage[edit]

{{TTD|number}}

Example:

  • {{TTD}}TT$
  • {{TTD|123.45}}TT$123.45
  • {{TTD|123}}{{nbsp}}millionTT$123 million

Link[edit]

The parameter |link=yes may be used to link TT$ to the article Trinidad and Tobago dollar. This is turned off by default, but may be appropriate for the first occurrence of the term in an article.

Example:

  • {{TTD|123.45|link=yes}}TT$123.45

Suppress "TT"[edit]

By specifying |long=no, display of "TT" before the "$" sign may be suppressed when it is clear from context that the Trinidad and Tobago dollar is meant, rather than one of the twenty or so other currencies going by the name of "dollar".

Examples:

  • {{TTD|123.45|long=no}}$123.45
  • {{TTD|123.45|long=no|link=yes}}$123.45

See also[edit]