Template:Trinidad and Tobago dollar/doc
Appearance
(Redirected from Template:TTD/doc)
This is a documentation subpage for Template:Trinidad and Tobago dollar. It may contain usage information, categories and other content that is not part of the original template page. |
Relevant discussion at | → Template talk:Currency#Suggestions for a standard set of options for each template |
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}}million
→ TT$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]- Wikipedia:Manual of Style (dates and numbers)#Currencies
- Wikipedia:Trinidad and Tobago Wikipedians' notice board/Style guide#Currency