Andoza:Australian dollar: Versiyalar orasidagi farq
Qiyofa
# | <span style="white-space: nowrap">{{#ifeq:{{{link|no}}}|yes | ||
|[[Australian dollar|A$]] | |||
{{ | |A$ | ||
{{R | }}{{formatnum:{{{1|}}}}}</span><!-- | ||
}} | -->{{#ifeq:{{{year|{{{2|0}}}}}}|0||{{#ifexpr:{{Inflation/AU/startyear}}<={{{year|{{{2|0}}}}}} and {{{year|{{{2|0}}}}}}<{{Inflation/year|AU}} | ||
| ({{#if:{{{about|}}} | |||
|equivalent to about ${{formatnum:{{Inflation|AU|{{formatnum:{{{1|}}}|R}}|{{{year|{{{2}}}}}}|r={{{round|0}}}}}}} | |||
|equivalent to ${{formatnum:{{Inflation|AU|{{formatnum:{{{1|}}}|R}}|{{{year|{{{2}}}}}}|r={{{round|{{#ifexpr:{{Inflation|AU|{{formatnum:{{{1|}}}|R}}|{{{year|{{{2}}}}}}}}>1000|0|2}}}}}}}}} | |||
}} in {{Inflation/year|AU}}) | |||
}}}}<noinclude> | |||
{{documentation}} | |||
<!-- 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." | |||
} | |||
</templatedata></noinclude> | |||
$2, $3 dagi (joriy) koʻrinishi
A$
| Tajriba oʻtkazish uchun qumloq va test sahifasidan foydalaning. Iltimos, turkumlarni hujjat sahifasiga va intervikilarni vikimaʼlumotlarga joylashtiring. Ushbu andoza ostsahifalari. |
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.
| Parametr | Tavsif | Turi | Status | |
|---|---|---|---|---|
| Link | link | Links "A$" to the Australian dollar article
| String | suggested |
| Value | 1 | tavsif yoʻq
| Son | suggested |
| Year for inflation calculation | 2 year | Adds an inflation-adjusted value in parentheses for the year provided. This function should only be used in appropriate situations.
| Sana | suggested |
| About | about | Rounds the inflation-adjusted value to the nearest dollar, and prefixes the calculated value with "about"
| String | suggested |
| Rounding | round | Controls the rounding of the inflation-adjusted value
| Son | suggested |