Utilising the alpha3 ISO 4217 code. For example, the code number can be derived from the code. Based on the ISO 4217 Standfard definition (per {{ISO 4…
Utilising the alpha3 ISO 4217 code. For example, the code number can be derived from the code. Based on the ISO 4217 Standfard definition (per {{ISO 4217/cite}}, as of October 2022[update]).
There are 304 unique codes (ADP..ZWR). Codes are reused (as currency in history, in history with different end-date by country, in List Two funds, in entities) resulting in 452 currency definitions (data rows).
|iso-code=|format=|is-obsolete=Most parameters work by {{yesno}} principle: yes, 1, true, <anytext> and no, 0, false, <blank> are recognised as T/F.
|format=-options can be comma-separated list: |format=option-none, ISO4217-cat, mono, brackets, (as announced per template)Returns valid ISO 4217 code or blank.
|iso-code=|format=<blank> returns EITHER the code as exists OR <blank> (no tracking etc)|format=option-none, ISO4217-catOther data (ref, comment) elsewhere. Data as of 17 October 2022[update], per source {{ISO 4217/cite}}
|format=ISO4217-cat will categorise articles with ISO-codes that do not exist in ISO. Sorted under C.|iso-code=ZZZ → ISOcat-C*)|format=option-none will allow |iso-code=''None'', none, no (formatting is optional).|iso-code=''None'' (as formatted)._NONE_ or <blank>.When code "None" is not allowed |format=, option-none|iso-code=None input is considered unrecognised code (returns blank).
Will be categorised from mainspace, sorted under N.
|iso-code=None → ISOcat-N*)| in | plain | is "None"? | |format=option-noneoption-none=<absent> |
|format=ISO4217-cat
|
number | minor unit |
|---|---|---|---|---|---|---|
|iso-code=USD
|
USD | USD | USD | (840) | 0.01 | |
|iso-code=''None''
|
_NONE_ | None ISOcat-N* |
None | |||
|iso-code=ZZZ
|
ISOcat-C* | |||||
|iso-code=<blank>
|
Occurring values are: <blank>, N.A., 0, 2, 3, 4. So, incidentally, 1 (for ¤ 0.1) is not present.
Obsolete currency (historical, List Three): has no minor unit ("blank").
|iso-code=, |is-obsolete=, |format=blank/default (0.001-form), exponent (N.A., <blank>, 0, 2, 3, 4)|ANG|EUR|HRK|IDR|MWK|PEN|RON|SDG|SZL|TRY.|is-obsolete=no/yes sets the right one. Default is: |is-obsolete=no (currency PEN is active}})PEN is ambiguous, required |is-obsolete= specifier.USD is not ambiguous (active, |is-obsolete= is trivial)ESA is not ambiguous (historical, List Three; |is-obsolete= is trivial)Other not a codePEN
|is-obsolete=1999 >< (obsolete)|is-obsolete=no >0.01< (active)|is-obsolete= >0.01< (active, default)|<absent>= >0.01< (active, default){{ISO 4217/code-to-number}} ({{../format}})XFO, XFU, XRE (all obsolete)|format=<blank>, plain [=default]; bracketsFollows from code. Unknown code=blank. No tracking.
|ANG|EUR|HRK|IDR|MWK|PEN|RON|SDG|SZL|TRY.|format=ISO4217-cat: The article using an ambiguous code, will be categorised, sort under A (for checking, not an error indication).|format=iso-code, ISO4217-cat |yes-text=anytext, <blank> (note: |yes-text=<blank> is counter-intuitive; useful for categorisation)|yes-text=<blank> → no returntext (use for silent categorisation |ISOcat=yes)|ISOcat=yes: when ambiguous then → in Category:Pages using ISO 4217 currency to check (4) (catsort under A)USD → ><PEN → >PEN<|ISOcat=yes → >PEN<|yes-text=_YES-is-ambig_ → >_YES-is-ambig_<|yes-text=<blank> → >< So status=yes, but yes-returntext is suppressed|yes-text=<blank>, |ISOcat=yes → >< So status=yes, but yes-returntext is suppressedExtended content
|
|---|
|
|is-obsolete=yes/no required for ambivalent currencies: ANG, EUR, HRK, IDR, MWK, PEN, RON, SDG, SZL, TRYThese codes are both in list-1 and list-3 (active and obsolete).
So one must specify wheteher active (no |is-obsolete=<blank>, no or obsolete |withdr-date=1999, yes
No tracking. Multiple witdrawal-dats possible
|iso-code, is-obsolete=|iso-code=, determines from ISO 4217. Thew code can be ambiguous.|is-obsolete=: yes/no (T/F), blank='unknown'{{yesno}} is applied: |is-obsolete=no, false=no (not obsolete, so active), |is-obsolete=<any text> is yes (obsolete)| Currency is obsolete? | ||||
|---|---|---|---|---|
|is-obsolete=T/F/unk
| ||||
| T=obs 01 | F=act 02 | unk 03 | ||
code|iso-code=→ T/F/ambig/unk
| ||||
| T=obs 10 | OBS 11 | OBS 13 | ||
| F=act 20 | ACT 22 | ACT 23 | ||
| ambig 30 | OBS 31 | ACT 32 | ACT (default) 33 | |
| unk 40 | OBS 41 | ACT 42 | ACT (default) 43 | |
|code-priority=no, so |is-obsolete=T/F decides.Two situations imply a contradiction: the ISO-status contradicts the entered |is-obsolete= status. This may occur when an infobox covers more than one currency.
The default handling is: |is-obsolete= takes precedence.
By setting |code-priority=yes gives ISO code prority (result opposite). This does not resolve the contradiction.
| Currency is obsolete? | ||||
|---|---|---|---|---|
|code-priority=no (default)
| ||||
|is-obsolete=T/F/unk
| ||||
| T=obs 01 | F=act 02 | |||
code|iso-code=...→ T/F/...
| ||||
| T=obs 10 | OBS 11 | |||
| F=act 20 | ACT 22 | |||
|code-priority=yes
| |
|---|---|
Returns: when Obsolete, a text; when Active, no text (blank). On can apply this as {{#if:{{code-is-obsolete|...}}|Obsolete|Active}}.
The returntext is:
|is-obsolete=anytext; 2. the |withdrawal-date=, 3. |obs-text=..., 4. "OBS"|act-text=... 2. <blank>|obs-text=, the returntext will be a blank (so, same as default actual returntext!)
|obs-text=, |act-text= overwrites.
{{Infobox currency}}|obsolete=, |obsolete= of the infobox is used: |obsolete={{{obsolete|}}}|iso-code=, |is-obsolete=L1 [1]: PERUL2 [0]: L3 [1]: PERUOBS >ACT< ambival:>2015-12<L1 [1]: COLOMBIAL2 [1]: COLOMBIAL3 [0]: OBS >ACT<L1 [35]: EUROPEAN UNION, ÅLAND ISLANDS, ANDORRA, AUSTRIA, BELGIUM, CYPRUS, ESTONIA, FINLAND, FRANCE, FRENCH GUIANA, FRENCH SOUTHERN TERRITORIES (THE), GERMANY, GREECE, GUADELOUPE, HOLY SEE (THE), IRELAND, ITALY, LATVIA, LITHUANIA, LUXEMBOURG, MALTA, MARTINIQUE, MAYOTTE, MONACO, MONTENEGRO, NETHERLANDS (THE), PORTUGAL, RÉUNION, SAINT BARTHÉLEMY, SAINT MARTIN (FRENCH PART), SAINT PIERRE AND MIQUELON, SAN MARINO, SLOVAKIA, SLOVENIA, SPAINL2 [0]: L3 [1]: SERBIA AND MONTENEGROOBS >ACT< ambival:>2006-10<L1 [0]: L2 [0]: L3 [1]: AUSTRIAOBS >2002-03<L1 [19]: UNITED STATES OF AMERICA (THE), AMERICAN SAMOA, BONAIRE, SINT EUSTATIUS AND SABA, BRITISH INDIAN OCEAN TERRITORY (THE), ECUADOR, EL SALVADOR, GUAM, HAITI, MARSHALL ISLANDS (THE), MICRONESIA (FEDERATED STATES OF), NORTHERN MARIANA ISLANDS (THE), PALAU, PANAMA, PUERTO RICO, TIMOR-LESTE, TURKS AND CAICOS ISLANDS (THE), UNITED STATES MINOR OUTLYING ISLANDS (THE), VIRGIN ISLANDS (BRITISH), VIRGIN ISLANDS (U.S.)L2 [0]: L3 [0]: OBS >ACT<OBS >ACT<OBS >ACT<{{ISO 4217/code-count|iso-code=|list=}}
|list, iso-code=L1, ..., L123See § code-entity-list for demo
{{ISO 4217/code-to-qid|iso-code=|format=}}
|format=plain, wl, wl-info, <blank>Cat:ISO 4217: →
{{ISO 4217/maintenance-category
|main-sort=
|template-sort=
}}
{{ISO 4217/maintenance-category}}|ISO4217-cat= or by |format=.., ISO4217-cat, ..Informasi ini disarikan dari Wikipedia dan disajikan kembali untuk tujuan edukasi. Konten tersedia di bawah lisensi CC BY-SA 3.0. Kami tidak bertanggung jawab atas ketidakakuratan data yang bersumber dari kontribusi publik tersebut.