Template:SGD/doc

Usage
This template renders the standard Singaporean currency abbreviation (S$) and an optional value. The abbreviation provides an informative link to the Singapore dollar article. The numeric value is formatted via.

Examples
sgd123.45 produces sgd123.45 (without a space between the abbreviation and the value)

sgd123.45 produces sgd123.45 (with the currency symbol linked to Singapore dollar article)

sgd1200000 produces sgd1200000 (value formatted to the text qualifier)

sgd1.2 million produces sgd1.2 million (to allow for arbitrary text qualifiers as needed)

sgd by itself produces sgd (simple currency article link)

TemplateData
{	"params": { "1": {			"label": "Amount", "description": "The monetary value. Preferably in numeric value.", "example": "10000.00", "type": "number" },		"link": { "label": "Display currency article", "description": "To display Singapore dollar article. 'on' will display the link.", "example": "on", "type": "string" }	},	"description": "This template renders the standard Singaporean currency abbreviation (S$) and an optional value. The abbreviation provides an informative link to the currency article. The value will be formatted via ." }