• ಮುಖ್ಯಪುಟ
  • ಹೀಗೇ ಒಂದು ಪುಟ
  • ಹತ್ತಿರದ
  • ಲಾಗ್ ಇನ್
  • ವ್ಯವಸ್ಥೆಗಳು
Donate Now If Wikipedia is useful to you, please give today.
  • ಕನ್ನಡ ವಿಕಿಪೀಡಿಯ ಬಗ್ಗೆ
  • ಹಕ್ಕು ನಿರಾಕರಣೆಗಳು
ವಿಕಿಪೀಡಿಯ

ಟೆಂಪ್ಲೇಟು:Currency

  • ಭಾಷೆ
  • ವೀಕ್ಷಿಸಿ
  • ಸಂಪಾದಿಸಿ
ಟೆಂಪ್ಲೇಟು ದಾಖಲೆ[view] [edit] [history] [purge]

Formats a currency value with a link to the page about the currency and the appropriate symbol. The default is to show US$ value.

Usage

ಬದಲಾಯಿಸಿ
  • {{Currency|1000}} gives: US$೧,೦೦೦
Parameters
Name Meaning
amount, Amount,
or the first unnamed param
The value to use to format as a currency number
type, Type,
or the second unnamed parameter
The type of currency to format the value as.
Most currencies are available though the use of the appropriate ISO 4217 currency code. Some of the more popular currencies are also available by using the full name or popular abbreviations.
The default value is to format the value as the United States dollar (US$), in accordance with the Manual of Style — Dates and Numbers — Currencies
first if this parameter is present, with any value given, then the template will return a <value> <currency name> pair instead of the normal <linked symbol><value> pair. This is provided to comply with the first bullet point in the formatting section in the Manual of Style — Dates and Numbers — Currencies

Examples

ಬದಲಾಯಿಸಿ

Currencies other than the United States dollar can be found by using the appropriate ISO 4217 currency code

  • {{Currency|1000|BMD}} gives:BD$೧,೦೦೦ for the Bermudian dollar
  • {{Currency|1000|BDT}} gives:৳೧,೦೦೦ for the Bangladeshi taka
  • {{Currency|1000|AMD}} gives:֏ ೧,೦೦೦ for the Armenian dram

Some of the more well known currencies also provide the ability to use common abbreviations or full names. Note that case shouldn't matter with the parameters, either.

  • {{Currency|1000|US}} gives:US$೧,೦೦೦
  • {{Currency|1000|United States}} gives:US$೧,೦೦೦
  • {{Currency|1000|JPY}} gives:¥೧,೦೦೦

Parameter names can also be used, if preferred:

  • {{Currency|amount=1000|type=US}} gives:US$೧,೦೦೦
  • {{Currency|1000|type=us}} gives:{{currency}} – invalid amount (help)
  • {{Currency|Amount=1000|Teuro}} gives:€೧,೦೦೦

The first use of a currency should show the value and the full name of the currency, so if the "first" parameter is defined then that is what will be given.

  • {{Currency|Amount=1000|quid|first=yes}} gives:{{currency}} – invalid code (help)

The Krone currencies can be represented in two ways:

  • {{Currency|1000|NOK}} gives: kr ೧,೦೦೦ - beware of ambiguity with Danish DKK (kr. ೧,೦೦೦) and Swedish SEK (kr ೧,೦೦೦)
  • {{Currency|1000|NOK2}} gives: NOK ೧,೦೦೦

See also

ಬದಲಾಯಿಸಿ
  • {{Currency/Type}} is the Type sub-template.
  • {{Currency/LongType}} is the LongType sub-template.
  • Wikipedia:Manual of Style (dates and numbers)#Currencies for important usage pattern instructions.
  • {{Format price}}, a template that handles rounding and "big number" formatting
  • {{Inflation}}, a template that adjusts historical costs to current (or other-year) equivalent value
  • {{Infobox currency}}
The above documentation is transcluded from ಟೆಂಪ್ಲೇಟು:Currency/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
"https://kn.wikipedia.org/w/index.php?title=ಟೆಂಪ್ಲೇಟು:Currency&oldid=876583" ಇಂದ ಪಡೆಯಲ್ಪಟ್ಟಿದೆ
Last edited on ೩೦ ಅಕ್ಟೋಬರ್ ೨೦೧೮, at ೧೧:೩೮

Languages

      This page is not available in other languages.

      ವಿಕಿಪೀಡಿಯ
      • Wikimedia Foundation
      • Powered by MediaWiki
      • ಈ ಪುಟವನ್ನು ೩೦ ಅಕ್ಟೋಬರ್ ೨೦೧೮, ೧೧:೩೮ ರಂದು ಕೊನೆಯಾಗಿ ಸಂಪಾದಿಸಲಾಯಿತು.
      • ವಿಶೇಷವಾಗಿ ಟಿಪ್ಪಣಿ ಮಾಡದಿದ್ದ ಹೊರತು ಪಠ್ಯ "CC BY-SA 4.0" ರಡಿ ಲಭ್ಯವಿದೆ.
      • ಖಾಸಗಿ ಮಾಹಿತಿಯ ಬಗ್ಗೆ ನಿಲುವು
      • ಕನ್ನಡ ವಿಕಿಪೀಡಿಯ ಬಗ್ಗೆ
      • ಹಕ್ಕು ನಿರಾಕರಣೆಗಳು
      • Code of Conduct
      • ಡೆವೆಲಪರ್‌ಗಳು
      • ಅಂಕಿ ಅಂಶಗಳು
      • ಕುಕಿ ಹೇಳಿಕೆ
      • ಬಳಕೆಯ ನಿಬಂಧನೆಗಳು
      • ಡೆಸ್ಕ್‌ಟಾಪ್