Template:Infobox currency/doc: Difference between revisions

From TSP Encyclopedia
Jump to navigation Jump to search
(copied from wikipedia)
 
(Copy updated documentation from Wikipedia)
Tag: 2017 source edit
 
Line 4: Line 4:


== Usage ==
== Usage ==
Here is an empty template with some of the most commonly used parameters:
===Most commonly used parameters===
 
{{cot|title=Most common parameters|bg=#ddd|expand=yes}}
{{Parameter names example|currency_name|currency_name_in_local|image_1|image_2|image_background_1|image_background_2|image_width_1|alt1|image_width_2|alt2|image_title_1|image_title_2|iso_code|iso_number|iso_exponent|issuing_authority_title|issuing_authority|issuing_authority_website|date_of_introduction|date_of_introduction_source|replaced_currency|date_of_withdrawal|date_of_withdrawal_source|replaced_by_currency|unofficial_users|using_countries|inflation_title|inflation_rate|inflation_source_date|inflation_method|ERM_since|ERM_withdraw|ERM_fixed_rate_since|euro_replace_non_cash|euro_replace_cash|ERM_fixed_rate|ERM_band|pegged_with|pegged_by|superunit_ratio_1|superunit_ratio_2|superunit_ratio_3|superunit_ratio_4|superunit_ratio_5|superunit_name_1|superunit_inline_note_1|superunit_name_2|superunit_inline_note_2|superunit_name_3|superunit_inline_note_3|superunit_name_4|superunit_inline_note_4|superunit_name_5|superunit_inline_note_5|subunit_ratio_1|subunit_ratio_2|subunit_ratio_3|subunit_ratio_4|subunit_ratio_5|subunit_name_1|subunit_inline_note_1|subunit_name_2|subunit_inline_note_2|subunit_name_3|subunit_inline_note_3|subunit_name_4|subunit_inline_note_4|subunit_name_5|subunit_inline_note_5|symbol|symbol_subunit_1|symbol_subunit_2|symbol_subunit_3|symbol_subunit_4|symbol_subunit_5|nickname|nickname_subunit_1|nickname_subunit_2|nickname_subunit_3|nickname_subunit_4|nickname_subunit_5|plural|plural_slavic|no_plural|plural_subunit_1|plural_subunit_2|plural_subunit_3|plural_subunit_4|plural_subunit_5|coin_article|used_coins|frequently_used_coins|rarely_used_coins|banknote_article|used_banknotes|frequently_used_banknotes|rarely_used_banknotes|printer|value|printer_website|mint|mint_website|obsolete_notice|footnotes}}
 
<pre style="overflow: auto">
<pre style="overflow: auto">
{{Infobox currency
{{Infobox currency
| currency_name_in_local =
| name =
| local_name =
| local_name_lang =
| obsolete =
| image_1 =
| image_1 =
| image_title_1 =
| image_title_1 =
| alt1 =
| image_alt_1 =
| iso_code =
| iso_code =
| issuing_authority =
| issuing_authority =
Line 21: Line 22:
| using_countries =
| using_countries =
| inflation_rate =
| inflation_rate =
| inflation_source_date = ''[https://www.cia.gov/library/publications/the-world-factbook/fields/2092.html The World Factbook]'', 2010 est.
| inflation_source_date =
| subunit_ratio_1 = 1/100
| unit =
| symbol =
| nickname =
| plural =
<!-- subunits, superunits -->
| subunit_ratio_1 = {{frac|1|100}}
| subunit_name_1 =
| subunit_name_1 =
| symbol =
| symbol_subunit_1 =
| symbol_subunit_1 =
| nickname =
| nickname_subunit_1 =
| nickname_subunit_1 =
| plural =
| plural_subunit_1 =
| plural_subunit_1 =
<!-- banknotes & coins -->
| frequently_used_coins =
| frequently_used_coins =
| rarely_used_coins =
| rarely_used_coins =
Line 36: Line 40:
}}
}}
</pre>
</pre>
{{cob}}


;Euro related:
===Euro related (ERM)===
 
{{cot|title=Euro & ERM related|bg=#ddd|expand=}}
<pre style="overflow: auto">
<pre style="overflow: auto">
{{Infobox currency
{{Infobox currency
| currency_name_in_local =
| local_name =
| local_name_lang =
| image_1 =
| image_1 =
| image_title_1 =
| image_title_1 =
Line 52: Line 58:
| using_countries =
| using_countries =
| inflation_rate =
| inflation_rate =
| inflation_source_date = ''[https://www.cia.gov/library/publications/the-world-factbook/fields/2092.html The World Factbook]'', 2010 est.
| inflation_source_date =
| ERM_since =
| ERM_since =
| ERM_fixed_rate_since =
| ERM_fixed_rate_since =
Line 59: Line 65:
| ERM_fixed_rate =
| ERM_fixed_rate =
| ERM_band =
| ERM_band =
| subunit_ratio_1 = 1/100
| unit = euro
| subunit_ratio_1 = {{frac|1|100}}
| subunit_name_1 =
| subunit_name_1 =
| symbol =
| symbol = [[€]]
| plural =
| plural =
| plural_subunit_1 =
| plural_subunit_1 =
Line 70: Line 77:
}}
}}
</pre>
</pre>
{{cob}}


;Full syntax
===Extensive syntax===
{{cot|title=Full syntax|bg=#ddd}}
<pre style="overflow: auto">
<pre style="overflow: auto">
{{Infobox currency
{{Infobox currency
| currency_name =
| name =
| currency_name_in_local =
| local_name =
| local_name_lang =
| postfix =
| local_name2 =
| local_name_lang2 =
| local_name3 =
| local_name_lang3 =
| name_abbr =
| obsolete =<!-- /yes -->
| obsolete_notice =
| qid =
| image_1 =
| image_1 =
| image_background_1 =
| image_background_1 =
| image_title_1 =
| image_title_1 =
| image_width_1 =
| image_width_1 =
| alt1 =     
| image_alt1 =     
| image_2 =  
| image_2 =  
| image_background_2 =
| image_background_2 =
| image_title_2 =
| image_title_2 =
| image_width_2 =
| image_width_2 =
| alt2 =
| image_alt2 =
| iso_code =
| iso_code =
| iso_number =
| iso_notice =
| iso_exponent =
| issuing_authority =
| issuing_authority =
| issuing_authority_title =
| issuing_authority_title =
Line 109: Line 127:
| pegged_with =
| pegged_with =
| pegged_by =
| pegged_by =
| superunit_ratio_1 = <!-- thru |superunit_ratio_5 = -->
| unit =
| symbol =
| plural =
| plural_slavic =
| no_plural =
| nickname =
<!-- superunits: _1 through _5 = -->
| superunit_ratio_1 =
| superunit_name_1 =
| superunit_name_1 =
| superunit_inline_note_1 =
| superunit_inline_note_1 =
| subunit_ratio_1 = <!-- thru |subunit_ratio_5 = -->
<!-- subunits: _1 through _5 = -->
| subunit_ratio_1 =
| subunit_name_1 =
| subunit_name_1 =
| subunit_inline_note_1 =
| subunit_inline_note_1 =
| symbol =
| symbol_subunit_1 =
| symbol_subunit_1 = <!-- thru |symbol_subunit_5 = -->
| nickname_subunit_1 =
| nickname =
| plural_subunit_1 =
| nickname_subunit_1 = <!-- thru |nickname_subunit_5 = -->
<!-- banknotes and coins -->
| plural =
| plural_slavic =
| no_plural =
| plural_subunit_1 = <!-- thru |plural_subunit_5 = -->
| coin_article =
| coin_article =
| used_coins =
| used_coins =
Line 131: Line 153:
| frequently_used_banknotes =
| frequently_used_banknotes =
| rarely_used_banknotes =
| rarely_used_banknotes =
<!-- production -->
| printer =
| printer =
| value =
| value =
Line 136: Line 159:
| mint =
| mint =
| mint_website =
| mint_website =
| obsolete_notice =
| footnotes =
| footnotes =
}}
}}
</pre>
</pre>
{{cob}}


== Parameters ==
== Parameters ==
This is a complete list of usage. If things get large, use {{tl|Collapsible list}} wisely.
All parameters are optional
 
===Names===
* '''{{para|name}}''' or {{para|currency_name}}: overrides the default, the article name (<code><nowiki>{{PAGENAME}}</nowiki></code>)
:For example: "[[German mark (1871)]]" &rarr; {{para|currency_name|German mark}}
 
* '''{{para|local_name|}}, {{para|local_name_lang|}}''' allows a native name.
:Alias names: {{para|currency_name_in_local, local_name1}}, {{para|local_name_lang1}}
 
:For example: <code><nowiki>|local_name={{native name|fi|Suomen markka|italics=off}}</nowiki></code> &rarr; {{native name|sv|Finska mark|italics=off}}
: Language codes are in [[:Template:ISO_639_name|ISO 639 language code]].
:'''{{para|postfix, postfix1}}''' will be aded as suffix text to local name #1. Its {{para|local_name_lang1}} will ''not'' show.
 
:'''{{para|local_name2, local_name_lang2}}, {{para|local_name3, local_name_lang3}}, {{para|local_name4, local_name_lang4}}''' allow more pairs of name-language.
 
:All official languages of the issuing authority, plus all that appear on the physical currencies. But exclude languages that appear on motto ("E Pluribus Unum", of the US, "Dieu et mon droit" of UK, if it ever appears) that are in such languages for historical reasons, and regional languages on rotation (the don't-be-stupid clause). It is better missing than to guess. It is ok to be missing. Multiple languages: {{tl|Native name list}}
: In some languages, indefinite/definite articles are part of the nouns, such as the [[North Germanic languages]]. Use indefinite singular form. Example: [[Faroese króna]]. One wouldn't write "le franc français" in French franc's infobox.
: See {{tlx|native name}} documentation for listing multiple languages. (One line per spelling. Use the {{tlf|native name}} or similar templates where appropriate. For example: [[Euro]], <small>dólar australiano (Spanish, Portuguese)</small>.
: Use capitalization rule as if it is in the middle of a sentence in that language. For example, "franc français", not "Franc français", nor "franc Français".
 
* '''{{para|name_abbr}}''' Currency name abbreviation. For example, Can$, $NZ. Can be informal. Is not {{code|ISO 4127 code}}, nor {{code|symbol}}. (If provided must be [[WP:RS|reliable sourtce]] citable, for example by World Bank.<ref>[https://openknowledge.worldbank.org/bitstream/handle/10986/33367/33304.pdf?sequence=2 World Bank Style Guide] pp134{{ndash}}139)</ref>
 
===Active or obsolete===
 
* '''{{para|obsolete|yes/no}}'''. Any other text, like {{para|obsolete|1999}}, will count as {{code|yes (is obsolete)}} .
:This will change the headercolor from blue to pink.
 
* '''{{para|obsolete-notice|yes/no}}''' will add the notice to the bottom (when {{para|obsolete|yes}}). It never sets or alters the {{code|1=is-obsolete}} status:
::{{quote|style=background:#ddd; font-style=small|text=''This infobox shows the latest status before this currency was rendered obsolete.''}}
 
===ISO 4217 code===
* '''{{para|iso_code}}''', the formal alpha-3 [[ISO 4217]] code like {{code|EGP, EUR, USD}}. Some codes are ambiguously active and obslolete, for these, {{para|obsolete|yes/no}} is decisive.
:'''{{para|iso_code|<nowiki>''None''</nowiki>}}''' (formatted in any form) can be used. This helps the reader clarifying the status of the currency.
:Derived values, as defined by ISO 4217{{ISO 4217/cite|SIX}} are added automatically: {{code|ISO Numeric Code}}, {{code|ISO Minor Unit}} (see {{tlx|ISO 4217/code}}<!--,  {{code|ISO Withdrawal Date}}.-->


=== Basic ===
::When {{para|iso_code}} is used, the article is categorised in {{clc|Currencies with ISO 4217 code}}.
{| class="wikitable"
::When {{para|iso_code|None}} is used, the article is categorised in {{clc|Currencies without ISO 4217 code}}.
! Attribute
::Otherwise {{para|iso_code|&lt;blank>}}, the article is not categorised wrt ISO 4217.
! Live currency
! Dead currency
! Must use with
! Mutually exclusive with
! Default value
! Example / Style
|-
! currency_name
| Optional
| Optional
|
|
| <nowiki>{{PAGENAME}}</nowiki>
| To override the very first line in the infobox
|- style="vertical-align:top;"
! currency_name_in_local
| Optional
| Optional
|
|
|
| <nowiki>{{native name|fi|Suomen markka|italics=off}}&lt;br/>{{native name|sv|Finska mark|italics=off}}</nowiki>
* All official languages of the issuing authority, plus all that appear on the physical currencies. But exclude languages that appear on motto ("E Pluribus Unum", of the US, "Dieu et mon droit" of UK, if it ever appears) that are in such languages for historical reasons, and regional languages on rotation (the don't-be-stupid clause).
* It is better missing than to guess. It is ok to be missing.
* In some languages, indefinite/definite articles are part of the nouns, such as the [[North Germanic languages]]. Use indefinite singular form. Example: [[Faroese króna]]. After all, you wouldn't write "le franc français" in French franc's infobox, right?
* One line per spelling. Use the {{tl|native name}} or {{tl|lang}} templates where appropriate. If hypothetically Australia, Spain and Portugal all use the [[Australian dollar]], then the infobox would have
<small><nowiki>
dólar australiano <small>(Spanish, Portuguese)</small>
</nowiki></small>
* Use capitalization rule as if it is '''in the middle of a sentence''' in that language. For example, "franc français", not "Franc français", nor "franc Français".
|-
! image_1
| Optional
| Optional
|
|
|
|
|-
! image_2
| Optional
| Optional
|
|
|
|
|-
! image_title_1
| Optional
| Optional
| image_1
|
|
|
|-
! image_title_2
| Optional
| Optional
| image_2
|
|
|
|-
! image_background_1
| Optional
| Optional
| image_1
|
| (none)
| #000000
|-
! image_background_2
| Optional
| Optional
| image_2
|
| (none)
| #000000
|-
! image_width_1
| Optional
| Optional
| image_1
|
| 126 / 252
| rowspan="2"| A positive integer, no "px". See [[East Caribbean dollar]], [[Polish złoty]], [[Slovenian tolar]], [[Chilean peso]], [[Portuguese escudo]], [[Bangladeshi taka]], [[Cypriot pound]], [[Romanian leu]], [[Turkmenistan manat]], [[Luxembourgish franc]], and [[Falkland Islands pound]] for examples.
|-
! image_width_2
| Optional
| Optional
| image_2
|
| 126
|}


=== Usage ===
::Note: {{as of|lc=yes|1 November 2022}}, ISO-related parameters <small>{{xt!|iso_number, iso_exponent, iso_decimals}}</small> are deprecated and unused. (now automated).
{| class="wikitable"
 
|-
===Images===
! Attribute
* '''{{para|image_1}}'''
! Live currency
* '''{{para|image_title_1}}'''
! Dead currency
* '''{{para|image_background_1}}''' (none) #000000
! Must use with
* '''{{para|image_width_1}}''' 126 ''or'' 252: use a positive integer, no "px". For examples, see [[East Caribbean dollar]], [[Polish zloty]], [[Chilean peso]], [[Portuguese escudo]], [[Bangladeshi taka]]
! Mutually exclusive with
* '''{{para|image_2}}'''
! Default value
* '''{{para|image_title_2}}'''
! Example / Style
* '''{{para|image_background_2}}'''
|-
* '''{{para|image_width_2}}'''
! iso_code
 
| '''Required'''
=== Pre-euro currencies (ERM) ===
| Optional
* '''{{para|ERM_since}}''' is required for ERM/euro currencies, unless {{para|ERM_withdraw}} is used
|  
* '''{{para|ERM_withdraw}}''' date (for [[pound sterling]] and [[Italian lira]])
|  
* '''{{para|ERM_fixed_rate}}''' "5.94573&nbsp;mk", (not "1 euro = 5.94573 mk", use symbol if possible)
|
* '''{{para|ERM_fixed_rate_since}}'''
| See [[ISO 4217]]. Leave blank if unavailable.
* '''{{para|ERM_band}}''' "15%", not "±15%"
|-
* '''{{para|euro_replace_non_cash}}''' 1 January 1999
! iso_number
* '''{{para|euro_replace_cash}}''' 1 January 2002
| '''Required'''
 
| Optional
=== Currency usage ===
| iso_code
* '''{{para|issuing_authority}}'''  Central Bank of xyz. If this exists in the infobox, remove duplicate wiki link from the article's "See also" section
|  
* '''{{para|issuing_authority_title}}''' issuing_authority   Central bank Monetary authority, currency board
|  
* '''{{para|issuing_authority_website}}''' issuing_authority, for example <nowiki>{{URL|www.ecb.eu}}</nowiki>
| See [[ISO 4217]]. Leave blank if unavailable.
: If this exists in the infobox, remove duplicate link from the article's "External links" section
|-
* '''{{para|date_of_introduction}}'''  16 August 1965: The date when the issuing authority introduced the medium of currency. Not to be confused with adoption by a country or other entity.
! iso_exponent
* '''{{para|date_of_introduction_source}}''' date_of_introduction Name of and reference to the act regarding the introduction of the currency.
| Optional
* '''{{para|using_countries}}''' Italicize non-sovereign states, order them as appropriate in the context. Use of {{tl|flag}}, {{tl|flagcountry}}, or {{tl|flagicon}} recommended. See also [[Wikipedia:Inline templates linking country articles]].
| Optional
| iso_code
|
|
| See [[ISO 4217]]. Leave blank if unavailable.
|-
! issuing_authority
| Optional
| Optional
|  
|
|
| Central Bank of xyz
* If this exists in the infobox, remove duplicate wiki link from the article's '''"See also"''' section
|-
! issuing_authority_title
| Optional
| Optional
| issuing_authority  
|
| Central bank  
| Monetary authority, currency board
|-
! issuing_authority_website
| Optional
| Optional
| issuing_authority  
|
|
| <nowiki>{{URL|www.ecb.eu}}</nowiki>
* it is recommended that you don't put the trailing /
* If this exists in the infobox, remove duplicate link from the article's '''"External links"''' section
|-
!date_of_introduction
| Optional
| Optional
|
|
|
| 16 August 1965
* The date when the issuing authority introduced the medium of currency. Not to be confused with adoption by a country or other entity.
|-
!date_of_introduction_source
| Optional
| Optional
| date_of_introduction
|
|
| Name of and reference to the act regarding the introduction of the currency.
|-
!using_countries
| '''Required'''
| '''Required'''
|
|
|
| Italicize non-sovereign states, order them as appropriate in the context. Use of {{tl|flag}}, {{tl|flagcountry}}, or {{tl|flagicon}} recommended. See also [[Wikipedia:Inline templates linking country articles]].
|}


=== Inflation ===
=== Inflation ===
{| class="wikitable"
|-
! Attribute
! Live currency
! Dead currency
! Must use with
! Mutually exclusive with
! Default value
! Example / Style
|-
! inflation_rate
| Optional
| Optional
|
|
|
| Do not put things like "(2001)" here. Use the next attribute. Don't put anything if you can't find it. Not a question mark.
|-
! inflation_source_date
| Optional
| Optional
| inflation_rate
|
|
| Wikipedia article<br/> [http://www.riksbank.com/templates/Page.aspx?id=12953 Sveriges Riksbank], August 2011<br/>
''[https://www.cia.gov/library/publications/the-world-factbook/fields/2092.html The World Factbook]'', 2010 est.<br/>
(prefer central bank data over CIA)
|-
! inflation_method
| Optional
| Optional
| inflation_rate
|
|
| [[Consumer price index|CPI]], [[Consumer price index|CPI]] excluding real estate
|}


=== ERM currencies ===
* '''{{para|inflation_rate}}'''  For additional info, use the next attribute.
{| class="wikitable"
* '''{{para| inflation_source_date}}''' inflation_rate; Prefer central bank data over CIA data. For example:
|-
::<code><nowiki>&lt;ref>[http://www.riksbank.com/templates/Page.aspx?id=12953 Sveriges Riksbank], August 2011&lt;/ref></nowiki></code>
! Attribute
::<code><nowiki>&lt;ref>[https://www.cia.gov/library/publications/the-world-factbook/fields/2092.html The World Factbook]'', 2010 est.&lt;/ref></nowiki></code><br/>
! Live currency
* '''{{para| inflation_method}}''' for eaxmpl, [[Consumer price index]] (CPI), or [[Consumer price index|CPI excluding real estate]]
! Dead currency
! Must use with
! Mutually exclusive with
! Default value
! Example / Style
|-
! ERM_since
| Optional
| Optional
|
| pegged_with (unless ERM_withdraw is present)
|
|
|-
! ERM_withdraw
| Optional
| Optional
| ERM_since
|
|
| Date (for pound sterling and Italian lira)
|-
! ERM_fixed_rate_since
| Optional
| Optional
| ERM_since
| pegged_with
|
|
|-
! euro_replace_non_cash
| Optional
| Optional
| ERM_since
| pegged_with
|
| 1 January 1999
|-
! euro_replace_cash
| Optional
| Optional
| ERM_since
| pegged_with
|
| 1 January 2002
|-
! ERM_fixed_rate
| Optional
| Optional
| ERM_since
| pegged_with
|
| "5.94573 mk", not "1 euro = 5.94573 mk". Use symbol if possible.
|-
! ERM_band
| Optional
| Optional
| ERM_since
| pegged_with
|
| "15%", not "±15%"
|}


=== Pegging ===
=== Pegging ===
{| class="wikitable"
* '''{{para|pegged_with}}''' Not in combination with {{para|ERM_since}}
|-
:For example: {{para|pegged_with|2=euro = 3 units}}. If the rate is defined that way, do ''not'' put the inverse rate like 1 unit = 0.333333 euro.
! Attribute
* '''{{para|pegged_by}}''' Use ISO 4217 Code if the list gets too long
! Live currency
! Dead currency
! Must use with
! Mutually exclusive with
! Default value
! Example / Style
|-
! pegged_with
| Optional
| Optional
|
| ERM_*
|
| [[euro]] = 3 units. If the rate is defined that way, do not put the inverse rate like 1 unit = 0.333333 euro.
|-
! pegged_by
| Optional
| Optional
|
|
|
| Use ISO 4217 Code if the list gets too long
|}


=== Subunits ===
===Unit & symbol===
{| class="wikitable"
* '''{{para|unit}}''' unit name, as used locally. e.g., just "dollar" for Australia, Canada etc.
|-
* '''{{para|plural}}''' emalangeni (use this is the it doesn't follow English grammar)
! Attribute
* '''{{para|plural_slavic}}''' Put any non-empty value to enable the Slavic notice. For example see [[Russian ruble]]
! Live currency
* '''{{para|no_plural}}''' put any non-empty value to enable the no-plural notice. For example [[New Taiwan dollar]].
! Dead currency
* '''{{para|symbol}}''' unqualified signs as used locally. For example €, £, $. (). Link to the articles of the currency symbols if exist (e.g. dollar sign, pound sign). Do not use abbreviations here, see {{para|name_abbr}}.
! Must use with
* '''{{para|symbol_comment}}''' age, references, notes, language
! Mutually exclusive with
* '''{{para|nickname}}''' For example [[quid]], [[buck]]/[[greenback]], [[loonie]]/[[loonie|huard]]
! Default value
! Example / Style
|-
! subunit_ratio_{1..5}
| Optional
| Optional
| Preceding subunit_ratio_*<br/>Matching subunit_name_(1..5}
|
|
| 1/100, 1/20, 1/240
|-
! subunit_name_{1..5}
| Optional
| Optional
| Matching subunit_ratio_{1..5}  
|
|
| Cent (currency), shilling, penny, and '''do not confuse centavo, centimo, centime, and centesimo'''. Link the subunit only if there's an article.
|-
! subunit_inline_note_{1..5}
| Optional
| Optional
| Matching subunit_name_{1..5}  
|
|
| This is so small that it is not used in practice
|-
! superunit_ratio_{1..5}
| Optional
| Optional
|
|
|
|
|-
! superunit_name_{1..5}
| Optional
| Optional
|
|
|
|
|-
! superunit_inline_note_{1..5}
| Optional
| Optional
|
|
|
|  
|-
! symbol
| Optional
| Optional
|
|
|
| €, £, $. Link to the articles of the currency symbols if exist (e.g. dollar sign, pound sign)
|-
! symbol_subunit_{1..5}
| Optional
| Optional
| Matching subunit_name_(1..5}  
|  
|
| ¢
|}


=== Nicknames ===
=== Superunit, subunit (1&ndash;5) ===
{| class="wikitable"
;subunit (like cent)
|-
* {{para|subunit_ratio_1}} {{code|_5}} For example {{frac|1|100}}, {{frac|1|20}}, {{frac|1|240}}
! Attribute
* {{para|subunit_name_1}} {{code|_5}} Cent (currency), shilling, penny. Do not confuse centavo, centimo, centime, and centesimo.
! Live currency
* {{para|subunit_inline_note_1}} {{code|_5}} This is so small that it is not used in practice
! Dead currency
* {{para|plural_subunit_1}} {{code|_5}} plural_slavic, no_plural, for example aurer (of Iceland). Used for irregular plurals like "pence" (GBP).
! Must use with
* {{para|symbol_subunit_1}} {{code|_5}} ¢
! Mutually exclusive with
* {{para|nickname_subunit__1}} {{code|_5}} Matching subunit_name_(1..5} penny
! Default value
! Example / Style
|-
! nickname
| Optional
| Optional
|  
|  
|  
| [[quid]], [[buck]]/[[greenback]], [[loonie]]/[[loonie|huard]]
|-
! nickname_subunit_{1..5}
| Optional
| Optional
| Matching subunit_name_(1..5}  
|
|
| penny
|}


=== Plurals ===
;superunit
{| class="wikitable"
* {{para|superunit_ratio_1}} {{code|_5}}
|-
* {{para|superunit_name_1}} {{code|_5}}
! Attribute
* {{para|superunit_inline_note_1}} {{code|_5}}
! Live currency
! Dead currency
! Must use with
! Mutually exclusive with
! Default value
! Example / Style
|-
! plural
| Optional
| Optional
|
| plural_slavic, no_plural
|
| emalangeni (use this is the it doesn't follow English grammar)
|-
! plural_slavic
| Optional
| Optional
|
| plural, plural_subunit_{1..5}, no_plural
|
| Put any non-empty value to enable the Slavic notice. See Russian ruble for example.
|-
! no_plural
| Optional
| Optional
|
| plural, plural_subunit_{1..5}, plural_slavic
|
| Put any non-empty value to enable the no-plural notice. See New Taiwan dollar for example.
|-
! plural_subunit_{1..5}
| Optional
| Optional
| Matching subunit_name_(1..5},
| plural_slavic, no_plural
|
| aurer (of Iceland)
|}


=== Frequency (coins) ===
=== Frequency (coins) ===
{| class="wikitable"
* '''{{para|used_coins}}'''
|-
* '''{{para|frequently_used_coins}}'''
! Attribute
* '''{{para|rarely_used_coins}}'''
! Live currency
* '''{{para|coin_article}}''' For example {{para|coin_article|<nowiki>[[United States coinage]]</nowiki>}}
! Dead currency
! Must use with
! Mutually exclusive with
! Default value
! Example / Style
|-
! used_coins
| Optional
| Optional
|
| frequently_used_coins, rarely_used_coins
|
| See below
|-
! frequently_used_coins
| Optional
| Optional
|  
| used_coins
|
| See below
|-
! rarely_used_coins
| Optional
| Optional
|
| used_coins
|
| See below
|-
! coin_article
| Optional
| Optional
|
|
|
| [[United States coinage]]
|-
|}


* The {{para|coin_article}} parameter without an argument will result in {{code|<nowiki>[[Coins of the {{{currency_name|{{PAGENAMEBASE}}}}}|Coins]]</nowiki>}} in boldface type ''only if that article exists''. If that article does not exist, then "Coins" will be in bold and unlinked.
* Use symbol if possible. But it has to be correct down to the position and the spacing. If you are not sure, fall back to the full name. Central bank websites are a good source for authoritative information.
* Use symbol if possible. But it has to be correct down to the position and the spacing. If you are not sure, fall back to the full name. Central bank websites are a good source for authoritative information.
:'''Correct:'''
:'''Correct:'''
Line 667: Line 287:
:'''Not recommended:'''
:'''Not recommended:'''
::20 Sk, 50 Sk, 100 Sk, 200 Sk, 500 Sk, 1000 Sk, 5000 Sk
::20 Sk, 50 Sk, 100 Sk, 200 Sk, 500 Sk, 1000 Sk, 5000 Sk
* Use the representation on the coin/banknote, e.g. if it says '''"100 cents"''', then it's "100 cents", not "1 dollar"; if it says '''"½ franc"''', then it's not "50 centimes"
* Use the representation on the coin/banknote, e.g. if it says '''"100 cents"''', then it's "100 cents", not "1 dollar"; if it says '''"{{frac|1|2}} franc"''', then it's not "50 centimes"
* Use ½ and ¼, not 1/2 or 1/4
* Use {{tlx|frac}}: <code><nowiki>{{frac|1|4}}</nowiki></code> &rarr; {{frac|1|4}}, not {{!xt|1/4}} nor {{!xt|¼}}
* If the list involves both the subunits and the main unit, do not add a new line after the subunit. For example,
* If the list involves both the subunits and the main unit, do not add a new line after the subunit. For example,
:'''Recommended:'''
:'''Recommended:'''
Line 701: Line 321:
:* Ask yourself this question: When someone buys an electronic product that costs several times the largest denomination and pays in cash, are they likely to use denomination X?
:* Ask yourself this question: When someone buys an electronic product that costs several times the largest denomination and pays in cash, are they likely to use denomination X?


You might be thinking, "why do these simple words 'rare' and 'frequent' have to turn into these long definitions?" The bottom line is, '''these definitions describe usage in daily life'''. The issuance numbers quoted by the central banks/governments have little relevance in this sense, as some denominations may be used for interbank transactions, foreign exchange, in casinos, for tax evasion, by criminal elements, etc.
You might be thinking, "why do these simple words "rare" and "frequent" have to turn into these long definitions?" The bottom line is, '''these definitions describe usage in daily life'''. The issuance numbers quoted by the central banks/governments have little relevance in this sense, as some denominations may be used for interbank transactions, foreign exchange, in casinos, for tax evasion, by criminal elements, etc.


'''And only use these attributes when you are very sure. If you are not, fall back to a single list where rarely and frequently are not distinguished.'''
'''And only use these attributes when you are very sure. If you are not, fall back to a single list where rarely and frequently are not distinguished.'''


=== Frequency (notes) ===
=== Frequency (banknotes) ===
{| class="wikitable"
* '''{{para|used_banknotes}}'''
|-
* '''{{para|frequently_used_banknotes}}'''
! Attribute
* '''{{para|rarely_used_banknotes}}'''
! Live currency
* '''{{para|banknote_article}}''' [[Banknotes of the Hong Kong dollar]]
! Dead currency
:{{para|banknote_article}} without an argument will result in {{code|<nowiki>[[Banknotes of the {{{currency_name|{{PAGENAMEBASE}}}}}|Banknotes]]</nowiki>}}, if that article exists. If that article does not exist, then "Banknotes" will be in bold and unlinked.
! Must use with
! Mutually exclusive with
! Default value
! Example / Style
|-
! used_banknotes
| Optional
| Optional
|
| frequently_used_banknotes, rarely_used_banknotes
|
| See above
|-
! frequently_used_banknotes
| Optional
| Optional
|
| used_banknotes
|
| See above
|-
! rarely_used_banknotes
| Optional
| Optional
|
| used_banknotes
|
| See above
|-
! banknote_article
| Optional
| Optional
|
|
|
| [[Banknotes of the Hong Kong dollar]]
|-
|}


=== Production ===
=== Production ===
{| class="wikitable"
* '''{{para|printer}}''' Central Printing Shop, Like issuing_authority
|-
* '''{{para|printer_website}}''' <nowiki>{{URL|www.komsep.com}}</nowiki>
! Attribute
* '''{{para|mint}}''' Utopian Mint
! Live currency
* '''{{para|mint_website}}''' <nowiki>{{URL|www.swissmint.ch}}</nowiki>
! Dead currency
 
! Must use with
* '''{{para|footnotes}}'''
! Mutually exclusive with
! Default value
! Example / Style
|-
! printer
| Optional
| Optional
|
|
|
| Central Printing Shop
* Like issuing_authority
|-
! printer_website
| Optional
| Optional
| printer
|
|
| <nowiki>{{URL|www.komsep.com}}</nowiki>
* Like issuing_authority_website
|-
! mint
| Optional
| Optional
|
|
|
| Utopian Mint
* Like issuing_authority
|-
! mint_website
| Optional
| Optional
| mint
|
|
| <nowiki>{{URL|www.swissmint.ch}}</nowiki>
* Like printer_website
|-
! obsolete_notice
| Optional
| Optional
|
|
|
| Put any non-empty value to enable the obsolete notice. See German mark for example.
|-
! footnotes
| Optional
| Optional
|
|
|
|
|}


== TemplateData ==
== TemplateData ==
{{TemplateData header}}
{{TemplateData header}}
{{collapse top|bg=#ccc|title=Template Data}}
<templatedata>
<templatedata>
{
{
"params": {
"params": {
"obsolete_notice": {},
"currency_name": {},
"currency_name_in_local": {},
"currency_name_in_local": {},
"image_1": {},
"image_1": {},
Line 827: Line 352:
"image_background_2": {},
"image_background_2": {},
"image_width_1": {},
"image_width_1": {},
"alt1": {},
"image_width_2": {},
"image_width_2": {},
"alt2": {},
"image_title_1": {},
"image_title_1": {},
"image_title_2": {},
"image_title_2": {},
Line 837: Line 360:
"suggested": true,
"suggested": true,
"label": "ISO 4217 code",
"label": "ISO 4217 code",
"description": "3-letter ISO 4217 code representing the currency"
"description": "3-letter code representing the currency"
},
"iso_number": {
"example": "840",
"type": "string",
"suggested": true,
"label": "ISO 4217",
"description": "3-digit ISO 4217 code representing the currency"
},
"iso_exponent": {
"label": "ISO 4217 exponent",
"description": "number of digits after the decimal point, per ISO 4217",
"example": "2",
"type": "number"
},
},
"superunit_name_1": {},
"superunit_name_1": {},
Line 947: Line 457:
"date_of_withdrawal": {},
"date_of_withdrawal": {},
"date_of_withdrawal_source": {},
"date_of_withdrawal_source": {},
"replaced_by_currency": {}
"replaced_by_currency": {},
"unit": {},
"obsolete": {
"label": "Is obsolete",
"description": "\"Yes\" (or \"1999\") will stat the currency is Obsolete (\"no\"=active currency)",
"type": "string",
"default": "no"
},
"name_abbr": {},
"image_alt_1": {
"aliases": [
"alt1"
],
"type": "string"
},
"image_alt_2": {
"aliases": [
"alt2"
],
"type": "string"
},
"symbol_comment": {
"label": "symbol comment",
"description": "Is added to the symbol (after space). Can have a reference."
},
"iso_comment": {
"label": "ISO 4217 comment",
"description": "comment on ISO code"
},
"iso_ref": {
"label": "ISO reference",
"description": "reference (<ref>) for ISO 4217 data",
"type": "string"
},
"obsolete_notice": {
"label": "Obsolete footnote",
"description": "Will add footnote \"Infobox shows status before going obsolete\". Only when obsolete=yes.",
"type": "boolean"
},
"qid": {
"label": "QID",
"description": "Wikidata QID when this currency is not the article item"
},
"name": {
"aliases": [
"currency_name"
]
},
"local_name_format": {},
"local_name_lang": {},
"local_name_lang1": {},
"local_name": {},
"local_name1": {},
"postfix": {},
"postfix1": {},
"local_name_lang2": {},
"local_name2": {},
"local_name_lang3": {},
"local_name3": {},
"local_name_lang4": {},
"local_name4": {}
},
},
"description": "currency",
"description": "currency",
"format": "block",
"format": "block",
"paramOrder": [
"paramOrder": [
"obsolete_notice",
"name",
"currency_name",
"name_abbr",
"currency_name_in_local",
"currency_name_in_local",
"image_1",
"image_1",
"image_width_1",
"image_title_1",
"image_alt_1",
"image_background_1",
"image_2",
"image_2",
"image_background_1",
"image_background_2",
"image_width_1",
"alt1",
"image_width_2",
"image_width_2",
"alt2",
"image_title_1",
"image_title_2",
"image_title_2",
"image_alt_2",
"image_background_2",
"iso_code",
"iso_code",
"iso_number",
"iso_comment",
"iso_exponent",
"iso_ref",
"superunit_name_1",
"unit",
"subunit_name_1",
"plural",
"plural",
"plural_slavic",
"no_plural",
"symbol",
"symbol",
"symbol_comment",
"nickname",
"nickname",
"used_banknotes",
"used_banknotes",
Line 979: Line 551:
"frequently_used_coins",
"frequently_used_coins",
"rarely_used_coins",
"rarely_used_coins",
"superunit_name_1",
"superunit_ratio_1",
"superunit_ratio_1",
"superunit_ratio_2",
"superunit_ratio_2",
Line 998: Line 571:
"subunit_ratio_4",
"subunit_ratio_4",
"subunit_ratio_5",
"subunit_ratio_5",
"subunit_name_1",
"subunit_inline_note_1",
"subunit_inline_note_1",
"subunit_name_2",
"subunit_name_2",
Line 1,007: Line 581:
"subunit_name_5",
"subunit_name_5",
"subunit_inline_note_5",
"subunit_inline_note_5",
"plural_slavic",
"no_plural",
"plural_subunit_1",
"plural_subunit_1",
"plural_subunit_2",
"plural_subunit_2",
Line 1,039: Line 611:
"inflation_rate",
"inflation_rate",
"value",
"value",
"ERM_since",
"pegged_with",
"pegged_with",
"pegged_by",
"pegged_by",
Line 1,045: Line 616:
"inflation_source_date",
"inflation_source_date",
"inflation_method",
"inflation_method",
"ERM_since",
"ERM_withdraw",
"ERM_withdraw",
"ERM_fixed_rate_since",
"ERM_fixed_rate_since",
"ERM_band",
"ERM_fixed_rate",
"euro_replace_non_cash",
"euro_replace_non_cash",
"euro_replace_cash",
"euro_replace_cash",
"ERM_fixed_rate",
"ERM_band",
"footnotes",
"replaced_currency",
"replaced_currency",
"date_of_withdrawal",
"date_of_withdrawal",
"date_of_withdrawal_source",
"date_of_withdrawal_source",
"replaced_by_currency"
"replaced_by_currency",
"obsolete",
"obsolete_notice",
"footnotes",
"qid",
"local_name_format",
"local_name_lang",
"local_name_lang1",
"local_name",
"local_name1",
"postfix",
"postfix1",
"local_name_lang2",
"local_name2",
"local_name_lang3",
"local_name3",
"local_name_lang4",
"local_name4"
]
]
}
}
</templatedata>
</templatedata>
{{collapse bottom}}


==Tracking categories==
==Tracking categories==
* {{clc|Pages using Infobox currency with unknown parameters}}
*;Public
* {{clc|ISO 4217}}
* {{cl|ISO 4217}}:
::{{clc|Currencies with ISO 4217 code|pages}}
::{{clc|Currencies without ISO 4217 code|pages}} per {{para|iso_code|none}}, or {{tlx|Infobox cryptocurrency}}
 
*; Maintenance:
:{{clc|Pages using Infobox currency with unknown parameters|pages}}
:{{clc|Pages using ISO 4217 currency to check|pages}} (tracking, hidden)
:{{clc|Pages using Infobox currency to check|pages}}
:{{clc|Infobox currency with an unlinked website|pages}} -- website checking
 
 
;ISO 4217 Subtemplates used
*{{tl|ISO 4217/code}}
*{{tl|ISO 4217/code-minor-unit}}
*{{tl|ISO 4217/code-to-number}}
:{{tl|ISO 4217/code-none}}


==See also==
==See also==
* {{tl|ISO 4217/overview}} -- backgrond overview of all ISO data
* {{tl|Infobox currency sign}}
* {{tl|Infobox currency sign}}
 
* {{tl|Infobox cryptocurrency}}
* {{tl|Infobox currency/overview}} Currency by ISO 4217, Wikidata, enwiki
:{{TPU|1=Infobox currency|label=for}}
<includeonly>{{sandbox other||
<includeonly>{{sandbox other||
<!-- Categories below this line, please; interwikis at Wikidata -->
[[Category:Numismatics infobox templates|Currency]]
[[Category:Numismatics infobox templates|Currency]]
[[Category:Templates that add a tracking category]]
[[Category:Templates that add a tracking category]]
}}</includeonly>
}}</includeonly>

Latest revision as of 21:58, 23 December 2022

Usage

Most commonly used parameters

Most common parameters
{{Infobox currency
| name =
| local_name =
| local_name_lang =
| obsolete =
| image_1 =
| image_title_1 =
| image_alt_1 =
| iso_code =
| issuing_authority =
| issuing_authority_website =
| date_of_introduction = 
| date_of_introduction_source =
| using_countries =
| inflation_rate =
| inflation_source_date =
| unit =
| symbol =
| nickname =
| plural =
<!-- subunits,  superunits -->
| subunit_ratio_1 = {{frac|1|100}}
| subunit_name_1 =
| symbol_subunit_1 =
| nickname_subunit_1 =
| plural_subunit_1 =
<!-- banknotes & coins -->
| frequently_used_coins =
| rarely_used_coins =
| frequently_used_banknotes =
| rarely_used_banknotes =
}}

Euro related (ERM)

Euro & ERM related
{{Infobox currency
| local_name =
| local_name_lang =
| image_1 =
| image_title_1 =
| alt1 =
| iso_code =
| issuing_authority =
| issuing_authority_website =
| date_of_introduction = 
| date_of_introduction_source =
| using_countries =
| inflation_rate =
| inflation_source_date =
| ERM_since =
| ERM_fixed_rate_since =
| euro_replace_non_cash =
| euro_replace_cash =
| ERM_fixed_rate =
| ERM_band =
| unit = euro
| subunit_ratio_1 = {{frac|1|100}}
| subunit_name_1 =
| symbol = [[€]]
| plural =
| plural_subunit_1 =
| frequently_used_coins =
| rarely_used_coins =
| frequently_used_banknotes =
| rarely_used_banknotes =
}}

Extensive syntax

Full syntax
{{Infobox currency
| name =
| local_name =
| local_name_lang =
| postfix =
| local_name2 =
| local_name_lang2 =
| local_name3 =
| local_name_lang3 =
| name_abbr =
| obsolete =<!-- /yes -->
| obsolete_notice =
| qid =
| image_1 =
| image_background_1 =
| image_title_1 =
| image_width_1 =
| image_alt1 =    
| image_2 = 
| image_background_2 =
| image_title_2 =
| image_width_2 =
| image_alt2 =
| iso_code =
| iso_notice =
| issuing_authority =
| issuing_authority_title =
| issuing_authority_website =
| date_of_introduction = 
| date_of_introduction_source =
| unofficial_users =
| using_countries =
| inflation_title =
| inflation_rate =
| inflation_source_date =
| inflation_method =
| ERM_since =
| ERM_withdraw =
| ERM_fixed_rate_since =
| euro_replace_non_cash =
| euro_replace_cash =
| ERM_fixed_rate =
| ERM_band =
| pegged_with =
| pegged_by =
| unit =
| symbol =
| plural =
| plural_slavic =
| no_plural =
| nickname =
<!-- superunits: _1 through _5 = -->
| superunit_ratio_1 =
| superunit_name_1 =
| superunit_inline_note_1 =
<!-- subunits: _1 through _5 = -->
| subunit_ratio_1 =
| subunit_name_1 =
| subunit_inline_note_1 =
| symbol_subunit_1 =
| nickname_subunit_1 =
| plural_subunit_1 =
<!-- banknotes and coins -->
| coin_article =
| used_coins =
| frequently_used_coins =
| rarely_used_coins =
| banknote_article =
| used_banknotes =
| frequently_used_banknotes =
| rarely_used_banknotes =
<!-- production -->
| printer =
| value =
| printer_website =
| mint =
| mint_website =
| footnotes =
}}

Parameters

All parameters are optional

Names

  • |name= or |currency_name=: overrides the default, the article name ({{PAGENAME}})
For example: "German mark (1871)" → |currency_name=German mark
  • |local_name=, |local_name_lang= allows a native name.
Alias names: |currency_name_in_local, local_name1=, |local_name_lang1=
For example: |local_name={{native name|fi|Suomen markka|italics=off}}Finska mark (Swedish)
Language codes are in ISO 639 language code.
|postfix, postfix1= will be aded as suffix text to local name #1. Its |local_name_lang1= will not show.
|local_name2, local_name_lang2=, |local_name3, local_name_lang3=, |local_name4, local_name_lang4= allow more pairs of name-language.
All official languages of the issuing authority, plus all that appear on the physical currencies. But exclude languages that appear on motto ("E Pluribus Unum", of the US, "Dieu et mon droit" of UK, if it ever appears) that are in such languages for historical reasons, and regional languages on rotation (the don't-be-stupid clause). It is better missing than to guess. It is ok to be missing. Multiple languages: {{Native name list}}
In some languages, indefinite/definite articles are part of the nouns, such as the North Germanic languages. Use indefinite singular form. Example: Faroese króna. One wouldn't write "le franc français" in French franc's infobox.
See {{native name}} documentation for listing multiple languages. (One line per spelling. Use the {{native name}} or similar templates where appropriate. For example: Euro, dólar australiano (Spanish, Portuguese).
Use capitalization rule as if it is in the middle of a sentence in that language. For example, "franc français", not "Franc français", nor "franc Français".

Active or obsolete

  • |obsolete=yes/no. Any other text, like |obsolete=1999, will count as Template:Code .
This will change the headercolor from blue to pink.
  • |obsolete-notice=yes/no will add the notice to the bottom (when |obsolete=yes). It never sets or alters the Template:Code status:
This infobox shows the latest status before this currency was rendered obsolete.

ISO 4217 code

  • |iso_code=, the formal alpha-3 ISO 4217 code like Template:Code. Some codes are ambiguously active and obslolete, for these, |obsolete=yes/no is decisive.
|iso_code=''None'' (formatted in any form) can be used. This helps the reader clarifying the status of the currency.
Derived values, as defined by ISO 4217Template:ISO 4217/cite are added automatically: Template:Code, Template:Code (see {{ISO 4217/code}}
When |iso_code= is used, the article is categorised in Category:Currencies with ISO 4217 code (0).
When |iso_code=None is used, the article is categorised in Category:Currencies without ISO 4217 code (0).
Otherwise |iso_code=<blank>, the article is not categorised wrt ISO 4217.
Note: as of 1 November 2022, ISO-related parameters Template:Xt! are deprecated and unused. (now automated).

Images

Pre-euro currencies (ERM)

  • |ERM_since= is required for ERM/euro currencies, unless |ERM_withdraw= is used
  • |ERM_withdraw= date (for pound sterling and Italian lira)
  • |ERM_fixed_rate= "5.94573 mk", (not "1 euro = 5.94573 mk", use symbol if possible)
  • |ERM_fixed_rate_since=
  • |ERM_band= "15%", not "±15%"
  • |euro_replace_non_cash= 1 January 1999
  • |euro_replace_cash= 1 January 2002

Currency usage

  • |issuing_authority= Central Bank of xyz. If this exists in the infobox, remove duplicate wiki link from the article's "See also" section
  • |issuing_authority_title= issuing_authority Central bank Monetary authority, currency board
  • |issuing_authority_website= issuing_authority, for example {{URL|www.ecb.eu}}
If this exists in the infobox, remove duplicate link from the article's "External links" section
  • |date_of_introduction= 16 August 1965: The date when the issuing authority introduced the medium of currency. Not to be confused with adoption by a country or other entity.
  • |date_of_introduction_source= date_of_introduction Name of and reference to the act regarding the introduction of the currency.
  • |using_countries= Italicize non-sovereign states, order them as appropriate in the context. Use of {{flag}}, {{flagcountry}}, or {{flagicon}} recommended. See also Wikipedia:Inline templates linking country articles.

Inflation

  • |inflation_rate= For additional info, use the next attribute.
  • |inflation_source_date= inflation_rate; Prefer central bank data over CIA data. For example:
<ref>[http://www.riksbank.com/templates/Page.aspx?id=12953 Sveriges Riksbank], August 2011</ref>
<ref>[https://www.cia.gov/library/publications/the-world-factbook/fields/2092.html The World Factbook]'', 2010 est.</ref>

Pegging

  • |pegged_with= Not in combination with |ERM_since=
For example: |pegged_with=euro = 3 units. If the rate is defined that way, do not put the inverse rate like 1 unit = 0.333333 euro.
  • |pegged_by= Use ISO 4217 Code if the list gets too long

Unit & symbol

  • |unit= unit name, as used locally. e.g., just "dollar" for Australia, Canada etc.
  • |plural= emalangeni (use this is the it doesn't follow English grammar)
  • |plural_slavic= Put any non-empty value to enable the Slavic notice. For example see Russian ruble
  • |no_plural= put any non-empty value to enable the no-plural notice. For example New Taiwan dollar.
  • |symbol= unqualified signs as used locally. For example €, £, $. (). Link to the articles of the currency symbols if exist (e.g. dollar sign, pound sign). Do not use abbreviations here, see |name_abbr=.
  • |symbol_comment= age, references, notes, language
  • |nickname= For example quid, buck/greenback, loonie/huard

Superunit, subunit (1–5)

subunit (like cent)
superunit

Frequency (coins)

  • |used_coins=
  • |frequently_used_coins=
  • |rarely_used_coins=
  • |coin_article= For example |coin_article=[[United States coinage]]
  • The |coin_article= parameter without an argument will result in Template:Code in boldface type only if that article exists. If that article does not exist, then "Coins" will be in bold and unlinked.
  • Use symbol if possible. But it has to be correct down to the position and the spacing. If you are not sure, fall back to the full name. Central bank websites are a good source for authoritative information.
Correct:
$1, 10¢, £5, 500 Kč
Incorrect:
1$, $ 1, 10 ¢, ¢10, £ 5, 5£, 500Kč, Kč 500
  • If the symbol is behind the numeral, then put the symbol after the last one.
Recommended:
20, 50, 100, 200, 500, 1000, 5000 Sk
Not recommended:
20 Sk, 50 Sk, 100 Sk, 200 Sk, 500 Sk, 1000 Sk, 5000 Sk
  • Use the representation on the coin/banknote, e.g. if it says "100 cents", then it's "100 cents", not "1 dollar"; if it says "Template:Frac franc", then it's not "50 centimes"
  • Use {{frac}}: {{frac|1|4}}Template:Frac, not 1/4 nor ¼
  • If the list involves both the subunits and the main unit, do not add a new line after the subunit. For example,
Recommended:
10p, 20p, 50p, £1
Not recommended:
10p, 20p, 50p
£1
However, add a new line with <br/> after the subunit if and only if the total number of lines remains the same.
Recommended:
10p, 20p, 50p
£1, £2, £5
Not recommended:
10p, 20p, 50p, £1, £2,
£5
  • Do not put "and" before the last one, e.g. "1, 5, 10, 20, 50, 100 yuan", not "1, 5, 10, 20, 50, and 100 yuan"
  • For large numbers, write like these
  • 1000 (no space, no comma)
  • 10 000 (with &nbsp;, not a regular space)
  • 100 000 (with &nbsp;, not a regular space)
  • 1 000 000 (with &nbsp;, not a regular space)
  • 107 (or higher) (use {{e}} if the number doesn't start with 1)

Frequent vs. rare comments:

  • Smallest coins:
  • recently and officially phased out (e.g. 10 and 20 h of Czech koruna, 5 New Zealand cents)
  • not used in practice because of low value (1 and 5 South Korean won (maybe it's official now...))
  • Denominations in the middle
  • Ask yourself this question: if you are given change when conducting a daily activity, and denomination X is required to make a mathematically minimal number of coins and banknotes. Would you receive denomination X? This applies to US 50¢ (historical reason about silver stuff in the 1960s) and 20 New Taiwan dollars (a new denomination lacks government support and campaign).
  • Banknotes that are being replaced by coins (e.g. Brazilian real's R$1 coin gradually rendered the R$1 banknote obsolete).
  • Large denominations
  • Ask yourself this question: do ATMs give this denomination? The answer is no for US$50 and US$100. This question also applies to denominations in the middle, e.g. ATMs in Iceland dispense 500, 1000, and 5000 króna notes, making 2000 króna notes "rarely used".
  • Ask yourself this question: When someone buys an electronic product that costs several times the largest denomination and pays in cash, are they likely to use denomination X?

You might be thinking, "why do these simple words "rare" and "frequent" have to turn into these long definitions?" The bottom line is, these definitions describe usage in daily life. The issuance numbers quoted by the central banks/governments have little relevance in this sense, as some denominations may be used for interbank transactions, foreign exchange, in casinos, for tax evasion, by criminal elements, etc.

And only use these attributes when you are very sure. If you are not, fall back to a single list where rarely and frequently are not distinguished.

Frequency (banknotes)

|banknote_article= without an argument will result in Template:Code, if that article exists. If that article does not exist, then "Banknotes" will be in bold and unlinked.

Production

  • |printer= Central Printing Shop, Like issuing_authority
  • |printer_website= {{URL|www.komsep.com}}
  • |mint= Utopian Mint
  • |mint_website= {{URL|www.swissmint.ch}}
  • |footnotes=

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Infobox currency in articles based on its TemplateData.

TemplateData for Infobox currency

Template Data

currency

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
namename currency_name

no description

Unknownoptional
name_abbrname_abbr

no description

Unknownoptional
currency_name_in_localcurrency_name_in_local

no description

Unknownoptional
image_1image_1

no description

Unknownoptional
image_width_1image_width_1

no description

Unknownoptional
image_title_1image_title_1

no description

Unknownoptional
image_alt_1image_alt_1 alt1

no description

Stringoptional
image_background_1image_background_1

no description

Unknownoptional
image_2image_2

no description

Unknownoptional
image_width_2image_width_2

no description

Unknownoptional
image_title_2image_title_2

no description

Unknownoptional
image_alt_2image_alt_2 alt2

no description

Stringoptional
image_background_2image_background_2

no description

Unknownoptional
ISO 4217 codeiso_code

3-letter code representing the currency

Example
USD
Stringsuggested
ISO 4217 commentiso_comment

comment on ISO code

Unknownoptional
ISO referenceiso_ref

reference (<ref>) for ISO 4217 data

Stringoptional
unitunit

no description

Unknownoptional
pluralplural

no description

Unknownoptional
plural_slavicplural_slavic

no description

Unknownoptional
no_pluralno_plural

no description

Unknownoptional
symbolsymbol

no description

Example
$
Stringoptional
symbol commentsymbol_comment

Is added to the symbol (after space). Can have a reference.

Unknownoptional
nicknamenickname

no description

Unknownoptional
used_banknotesused_banknotes

no description

Unknownoptional
frequently_used_banknotesfrequently_used_banknotes

no description

Unknownoptional
rarely_used_banknotesrarely_used_banknotes

no description

Unknownoptional
used_coinsused_coins

no description

Unknownoptional
frequently_used_coinsfrequently_used_coins

no description

Unknownoptional
rarely_used_coinsrarely_used_coins

no description

Unknownoptional
superunit_name_1superunit_name_1

no description

Unknownoptional
superunit_ratio_1superunit_ratio_1

no description

Unknownoptional
superunit_ratio_2superunit_ratio_2

no description

Unknownoptional
superunit_ratio_3superunit_ratio_3

no description

Unknownoptional
superunit_ratio_4superunit_ratio_4

no description

Unknownoptional
superunit_ratio_5superunit_ratio_5

no description

Unknownoptional
superunit_inline_note_1superunit_inline_note_1

no description

Unknownoptional
superunit_name_2superunit_name_2

no description

Unknownoptional
superunit_inline_note_2superunit_inline_note_2

no description

Unknownoptional
superunit_name_3superunit_name_3

no description

Unknownoptional
superunit_inline_note_3superunit_inline_note_3

no description

Unknownoptional
superunit_name_4superunit_name_4

no description

Unknownoptional
superunit_inline_note_4superunit_inline_note_4

no description

Unknownoptional
superunit_name_5superunit_name_5

no description

Unknownoptional
superunit_inline_note_5superunit_inline_note_5

no description

Unknownoptional
subunit_ratio_1subunit_ratio_1

no description

Unknownoptional
subunit_ratio_2subunit_ratio_2

no description

Unknownoptional
subunit_ratio_3subunit_ratio_3

no description

Unknownoptional
subunit_ratio_4subunit_ratio_4

no description

Unknownoptional
subunit_ratio_5subunit_ratio_5

no description

Unknownoptional
subunit_name_1subunit_name_1

no description

Unknownoptional
subunit_inline_note_1subunit_inline_note_1

no description

Unknownoptional
subunit_name_2subunit_name_2

no description

Unknownoptional
subunit_inline_note_2subunit_inline_note_2

no description

Unknownoptional
subunit_name_3subunit_name_3

no description

Unknownoptional
subunit_inline_note_3subunit_inline_note_3

no description

Unknownoptional
subunit_name_4subunit_name_4

no description

Unknownoptional
subunit_inline_note_4subunit_inline_note_4

no description

Unknownoptional
subunit_name_5subunit_name_5

no description

Unknownoptional
subunit_inline_note_5subunit_inline_note_5

no description

Unknownoptional
plural_subunit_1plural_subunit_1

no description

Unknownoptional
plural_subunit_2plural_subunit_2

no description

Unknownoptional
plural_subunit_3plural_subunit_3

no description

Unknownoptional
plural_subunit_4plural_subunit_4

no description

Unknownoptional
plural_subunit_5plural_subunit_5

no description

Unknownoptional
symbol_subunit_1symbol_subunit_1

no description

Unknownoptional
symbol_subunit_2symbol_subunit_2

no description

Unknownoptional
symbol_subunit_3symbol_subunit_3

no description

Unknownoptional
symbol_subunit_4symbol_subunit_4

no description

Unknownoptional
symbol_subunit_5symbol_subunit_5

no description

Unknownoptional
nickname_subunit_1nickname_subunit_1

no description

Unknownoptional
nickname_subunit_2nickname_subunit_2

no description

Unknownoptional
nickname_subunit_3nickname_subunit_3

no description

Unknownoptional
nickname_subunit_4nickname_subunit_4

no description

Unknownoptional
nickname_subunit_5nickname_subunit_5

no description

Unknownoptional
banknote_articlebanknote_article

no description

Unknownoptional
coin_articlecoin_article

no description

Unknownoptional
date_of_introductiondate_of_introduction

no description

Unknownoptional
date_of_introduction_sourcedate_of_introduction_source

no description

Unknownoptional
using_countriesusing_countries

no description

Unknownrequired
unofficial_usersunofficial_users

no description

Unknownoptional
issuing_authority_titleissuing_authority_title

no description

Unknownoptional
issuing_authorityissuing_authority

no description

Unknownoptional
issuing_authority_websiteissuing_authority_website

no description

URLoptional
printerprinter

no description

Unknownoptional
printer_websiteprinter_website

no description

Unknownoptional
mintmint

no description

Unknownoptional
mint_websitemint_website

no description

Unknownoptional
inflation_rateinflation_rate

no description

Unknownoptional
valuevalue

no description

Unknownoptional
pegged_withpegged_with

no description

Unknownoptional
pegged_bypegged_by

no description

Unknownoptional
inflation_titleinflation_title

no description

Unknownoptional
inflation_source_dateinflation_source_date

no description

Unknownoptional
inflation_methodinflation_method

no description

Unknownoptional
ERM_sinceERM_since

no description

Unknownoptional
ERM_withdrawERM_withdraw

no description

Unknownoptional
ERM_fixed_rate_sinceERM_fixed_rate_since

no description

Unknownoptional
ERM_bandERM_band

no description

Unknownoptional
ERM_fixed_rateERM_fixed_rate

no description

Unknownoptional
euro_replace_non_casheuro_replace_non_cash

no description

Unknownoptional
euro_replace_casheuro_replace_cash

no description

Unknownoptional
replaced_currencyreplaced_currency

no description

Unknownoptional
date_of_withdrawaldate_of_withdrawal

no description

Unknownoptional
date_of_withdrawal_sourcedate_of_withdrawal_source

no description

Unknownoptional
replaced_by_currencyreplaced_by_currency

no description

Unknownoptional
Is obsoleteobsolete

"Yes" (or "1999") will stat the currency is Obsolete ("no"=active currency)

Default
no
Stringoptional
Obsolete footnoteobsolete_notice

Will add footnote "Infobox shows status before going obsolete". Only when obsolete=yes.

Booleanoptional
footnotesfootnotes

no description

Unknownoptional
QIDqid

Wikidata QID when this currency is not the article item

Unknownoptional
local_name_formatlocal_name_format

no description

Unknownoptional
local_name_langlocal_name_lang

no description

Unknownoptional
local_name_lang1local_name_lang1

no description

Unknownoptional
local_namelocal_name

no description

Unknownoptional
local_name1local_name1

no description

Unknownoptional
postfixpostfix

no description

Unknownoptional
postfix1postfix1

no description

Unknownoptional
local_name_lang2local_name_lang2

no description

Unknownoptional
local_name2local_name2

no description

Unknownoptional
local_name_lang3local_name_lang3

no description

Unknownoptional
local_name3local_name3

no description

Unknownoptional
local_name_lang4local_name_lang4

no description

Unknownoptional
local_name4local_name4

no description

Unknownoptional

Tracking categories

Category:Currencies with ISO 4217 code (0)
Category:Currencies without ISO 4217 code (0) per |iso_code=none, or {{Infobox cryptocurrency}}
  • Maintenance
Category:Pages using Infobox currency with unknown parameters (2)
Category:Pages using ISO 4217 currency to check (0) (tracking, hidden)
Category:Pages using Infobox currency to check (0)
Category:Infobox currency with an unlinked website (0) -- website checking


ISO 4217 Subtemplates used
{{ISO 4217/code-none}}

See also

Template:TPU