Template:National currency entry/doc

From OpenStreetMap Wiki
Jump to navigation Jump to search

This is a documentation subpage for Template:National currency entry.
It contains usage information, categories and other content or metadata that is not part of the original template.


Usage

Inserts a row into the Key:currency:*/data table.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
ISO 4217 codecode

Code of the currency from the ISO 4217. If you're unsure what that is, or what code is set for your currency, check the wikipedia page with the same name.

Example
EUR, USD
Stringrequired
Namename

Name of the currency (localized)

Example
Euro, United States Dollar
Linerequired
Currency symbolsymbol

Symbol of the currency.

Example
€, US$
Stringrequired
Regionsregions

List of regions in which the currency is considered official.

Example
{{FlagCharLink|DK|Denmark}} {{FlagCharLink|GL|Greenland}} {{FlagCharLink|FO|Faroe Islands}}
Linerequired
Coin denominationscoins

Comma-separated list of values which have a coin in this currency. NOTE: Do not add currency symbols, the template will add it automatically. Each number must be represented in the base unit (no-subunit, like cents). Use dots as decimal separator, and nothing as thousand-separator.

Example
0.01,0.02,0.05,0.10,0.20,0.50,1,2
Stringrequired
Banknote denominationsnotes

Comma-separated list of values which have a bank note in this currency. NOTE: Do not add currency symbols, the template will add it automatically. Each number must be represented in the base unit (no-subunit, like cents). Use dots as decimal separator, and nothing as thousand-separator.

Example
5,10,20,50,100,200,500,1000
Stringrequired
Deprecateddeprecated

Set to 'yes' if said currency is being phased out, or is no longer in use.

Suggested values
yes no
Booleanoptional
Commentcomment

Additional information that cannot be indicated through the other fields.

Contentoptional


Examples

  • {{National_currency_entry
     |code=DKK
     |name=Danish krone
     |symbol=kr.
     |regions={{FlagCharLink|DK|Denmark}} {{FlagCharLink|GL|Greenland}} {{FlagCharLink|FO|Faroe Islands}}
     |coins=0.50,1,2,5,10,20
     |notes=50,100,200,500
    }}
currency:DKK

Danish krone (Wikipedia ↗)

🪙 Coins:
(kr.0.50), (kr.1), (kr.2), (kr.5), (kr.10), (kr.20)

💸 Banknotes:
[ kr.0.50 ], [ kr.1 ], [ kr.2 ], [ kr.5 ], [ kr.10 ], [ kr.20 ]

🇩🇰 Denmark 🇬🇱 Greenland 🇫🇴 Faroe Islands

See also