Template:Australian dollar and Template:Australian dollar/sandbox: Difference between pages
Appearance
(Difference between pages)
Content deleted Content added
Samuel Wiki (talk | contribs) updated templatedata |
HouseBlaster (talk | contribs) m HouseBlaster moved page Template:AUD/sandbox to Template:Australian dollar/sandbox: expand template name per WP:TPN |
||
Line 11: | Line 11: | ||
{{documentation}} |
{{documentation}} |
||
<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here --> |
<!-- Add categories to the /doc subpage, interwikis to Wikidata, not here --> |
||
⚫ | |||
<templatedata> |
|||
{ |
|||
"params": { |
|||
"1": { |
|||
"label": "Value", |
|||
"type": "number", |
|||
"example": "1000, 4.50", |
|||
"suggested": true |
|||
}, |
|||
"2": { |
|||
"aliases": [ |
|||
"year" |
|||
], |
|||
"label": "Year for inflation calculation", |
|||
"description": "Adds an inflation-adjusted value in parentheses for the year provided. This function should only be used in appropriate situations.", |
|||
"example": "1990, 2014", |
|||
"type": "date", |
|||
"suggested": true |
|||
}, |
|||
"link": { |
|||
"label": "Link", |
|||
"description": "Links \"A$\" to the Australian dollar article", |
|||
"type": "string", |
|||
"autovalue": "", |
|||
"suggested": true, |
|||
"suggestedvalues": [ |
|||
"yes" |
|||
] |
|||
}, |
|||
"about": { |
|||
"label": "About", |
|||
"description": "Rounds the inflation-adjusted value to the nearest dollar, and prefixes the calculated value with \"about\"", |
|||
"type": "string", |
|||
"autovalue": "", |
|||
"suggested": true, |
|||
"suggestedvalues": [ |
|||
"yes" |
|||
] |
|||
}, |
|||
"round": { |
|||
"label": "Rounding", |
|||
"description": "Controls the rounding of the inflation-adjusted value", |
|||
"example": "-3, 0, 2", |
|||
"type": "number", |
|||
"suggested": true |
|||
} |
|||
}, |
|||
"paramOrder": [ |
|||
"link", |
|||
"1", |
|||
"2", |
|||
"about", |
|||
"round" |
|||
], |
|||
"format": "inline", |
|||
"description": "This is a multifunction template. At its simplest, it adds the currency mark \"A$\", as recommended by [[MOS:CURRENCY]] for many situations. The template can also link to the [[Australian dollar]] article and can even calculate inflation." |
|||
} |
|||
⚫ |