Template:ISO 4217/code/testcases

Category:Currencies with ISO 4217 code (237) · Category:Currencies without ISO 4217 code (91)

code (base)

edit
Template:ISO 4217/code/format (backlinks edit)
USD
  • A. USD
B. USD
C. USD
D. USD
XYZ
  • A.
B.
C. ISOcat-C*
D. ISOcat-C*
noNe
  • A.
B. noNe
C. ISOcat-N*
D. noNe
-blank-
  • A.
B.
C.
D.
fmt=foobar
A. USD
B.
C.
D. nONe
E. ISOcat-C*

code-count & entity-list

edit
{{ISO 4217/code-entity-list}}
{{ISO 4217/code-count/demo}}
{{ISO 4217/code-count/demo}}
ambivalent
|ANG|EUR|HRK|IDR|MWK|PEN|RON|SDG|SZL|TRY
  • ANG [3]
L1 [2]: CURAÇAO, SINT MAARTEN (DUTCH PART)
L2 [0]:
L3 [1]: NETHERLANDS ANTILLES
OBS >ACT< ambival:>2010-10<
  • EUR [36]
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, SPAIN
L2 [0]:
L3 [1]: SERBIA AND MONTENEGRO
OBS >ACT< ambival:>2006-10<
  • HRK [2]
L1 [1]: CROATIA
L2 [0]:
L3 [1]: CROATIA
OBS >ACT< ambival:>2015-06<
  • IDR [2]
L1 [1]: INDONESIA
L2 [0]:
L3 [1]: TIMOR-LESTE
OBS >ACT< ambival:>2002-07<
  • MWK [2]
L1 [1]: MALAWI
L2 [0]:
L3 [1]: MALAWI
OBS >ACT< ambival:>2016-02<
  • PEN [2]
L1 [1]: PERU
L2 [0]:
L3 [1]: PERU
OBS >ACT< ambival:>2015-12<
  • RON [2]
L1 [1]: ROMANIA
L2 [0]:
L3 [1]: ROMANIA
OBS >ACT< ambival:>2015-06<
  • SDG [2]
L1 [1]: SUDAN (THE)
L2 [0]:
L3 [1]: SOUTH SUDAN
OBS >ACT< ambival:>2012-09<
  • SZL [2]
L1 [1]: ESWATINI
L2 [0]:
L3 [1]: SWAZILAND
OBS >ACT< ambival:>2018-08<
  • TRY [2]
L1 [1]: TÜRKİYE
L2 [0]:
L3 [1]: TURKEY
OBS >ACT< ambival:>2009-01<

minor units (ambiguous code)

edit
PEN can refer to an obsolete and an active currency.

For example: EUR is active (→ minor unit "2", ¤ 0.01), but for SERBIA AND MONTENEGRO: obsolete as of 2006-10.

Example

PEN

PEN is ambiguous:
|is-obsolete=1999 >< (obsolete)
|is-obsolete=no >0.01< (active)
|is-obsolete= >0.01< (active, default)
  • USD >0.01<
  • PEN >0.01<
  • FOO ><
  • blank ><
is-obsolete=1999
  • USD >0.01<
  • PEN ><
  • FOO ><
  • blank ><
is-obsolete=no
  • USD >0.01<
  • PEN >0.01<
  • FOO ><
  • blank ><
is-obsolete=yes
  • USD >0.01<
  • PEN ><
  • FOO ><
  • blank ><

code-is-obsolete

edit
Template:ISO 4217/code-is-obsolete‎‎ (backlinks edit)
Template:ISO 4217/code-is-obsolete‎‎/calc (backlinks edit)
|iso-code=, |is-obsolete=
text -text
  • 1.ATS OBS<
  • 1.USD ACT<


  • 1.ATS ObS<
  • 1.USD AcT<
  • 1.ATS <
  • 1.USD <
  • 1.ATS red<
  • 1.USD lightgreen<
  • 1.ATS #ff4477<
  • 1.USD #55aaee<


situation 10, code=TRUE
ATS, Austria shilling - withdrawn
  • 1.ATS >OBS<
  • 2.ATS >OBS<
  • 3.ATS >OBS<
  • 4.ATS >OBS<
  • 5.ATS >ACT12!<
  • 6.ATS >OBS<
situation 20, code=FALSE
USD - active
  • 1.USD >ACT<
  • 2.USD >ACT<
  • 3.USD >OBS21!<
  • 4.USD >OBS21!<
  • 5.USD >ACT<
  • 6.USD >OBS21!<
situation 30, code=ambiguous
PEN, PERU Nuevo Sol (ambivalent so withdrawal/isobsolete needed)
  • 1.PEN >ACT<
  • 2.PEN >ACT<
  • 3.PEN >OBS<
  • 4.PEN >OBS<
  • 5.PEN >ACT<
  • 6.PEN >OBS<
situation 40/1, code=bad
FOO
  • 1.FOO >ACT<
  • 2.FOO >ACT<
  • 3.FOO >OBS<
  • 4.FOO >OBS<
  • 5.FOO >ACT<
  • 6.FOO >OBS<
situation 40/2, code=-blank-
-blank-
  • 1.-blank- >ACT<
  • 2.-blank- >ACT<
  • 3.-blank- >OBS<
  • 4.-blank- >OBS<
  • 5.-blank- >ACT<
  • 6.-blank- >OBS<
situation 40/3, code=none
none
  • 1.none >ACT<
  • 2.none >ACT<
  • 3.none >OBS<
  • 4.none >OBS<
  • 5.none >ACT<
  • 6.none >OBS<
situation 12/code
code=T (ATS), is-obs=.. |code-priority=yes
  • 1. >OBS<
  • 2. >OBS<
  • 3. >OBS<
  • 4. >OBS<
  • 5. >ObS12!<
  • 6. >OBS<
situation 12/is-obs
code=T (ATS), is-obs=.. |code-priority=no
  • 1. >OBS<
  • 2. >OBS<
  • 3. >OBS<
  • 4. >OBS<
  • 5. >ACT12!<
  • 6. >OBS<
situation 21/code
code=F (USD), is-obs= |code-priority=yes
  • 1. >ACT<
  • 2. >ACT<
  • 3. >AcT21!<
  • 4. >AcT21!<
  • 5. >ACT<
  • 6. >AcT21!<
situation 21/is-obs
code=F (USD), is-obs= |code-priority=no
  • 1. >ACT<
  • 2. >ACT<
  • 3. >OBS21!<
  • 4. >OBS21!<
  • 5. >ACT<
  • 6. >OBS21!<

code-minor-unit

edit
withdr-date=1999
  • USD >0.01<
  • PEN >0.01<
  • FOO ><
  • blank ><
withdr-date=no
  • USD >0.01<
  • PEN >0.01<
  • FOO ><
  • blank ><
withdr-date=yes
  • USD >0.01<
  • PEN >0.01<
  • FOO ><
  • blank ><

code-is-ambiguous

edit
{{ISO 4217/code-is-ambiguous‎‎}}
USD → ><
PEN → >PEN<
blank → ><
FOO → ><
ISOcat=yes
USD → ><
PEN → >PEN<
blank → ><
FOO → ><
ISOcat=blank
USD → ><
PEN → >PEN<
blank → ><
FOO → ><
yes-text=_YES-is-ambig_
USD → ><
PEN → >_YES-is-ambig_<
blank → ><
FOO → ><
yes-text=<blank>
USD → ><
PEN → >< (note: so status=yes, but yes-returntext is suppressed)
PEN → >< (note: So status=yes, but yes-returntext is suppressed)
blank → ><
FOO → ><


check & cat

edit
Category:Pages using Infobox currency to check (29)
check if anyone |unit, name_abbr= is present (blank or othersise). rule: when para is added, do not categorise
Side by side comparison
{{Infobox currency}}{{Infobox currency/sandbox}}
£sd - AU
Stg.
Unit
UnitPound
£sd - AU
Stg.
Unit
UnitPound
Side by side comparison
{{Infobox currency}}{{Infobox currency/sandbox}}
£sd - Au
Stg.
£sd - Au
Stg.
Side by side comparison
{{Infobox currency}}{{Infobox currency/sandbox}}
£sd - aU
Unit
UnitPound
£sd - aU
Unit
UnitPound
Side by side comparison
{{Infobox currency}}{{Infobox currency/sandbox}}
£sd - au
£sd - au
Side by side comparison
{{Infobox currency}}{{Infobox currency/sandbox}}
£sd - a
£sd - a
Side by side comparison
{{Infobox currency}}{{Infobox currency/sandbox}}
£sd - u
£sd - u
Side by side comparison
{{Infobox currency}}{{Infobox currency/sandbox}}
£sd - - -
£sd - - -
para foo
Side by side comparison
{{Infobox currency}}{{Infobox currency/sandbox}}
foo=foobar
Unit
UnitPound
Cat:IB currency unk param:foo
foo=foobar
Unit
UnitPound
Cat:IB currency unk param:foo
Side by side comparison
{{Infobox currency}}{{Infobox currency/sandbox}}
foo,foobar
Unit
UnitPound
Cat:IB currency unk param:foo Cat:IB currency unk param:bar
foo,foobar
Unit
UnitPound
Cat:IB currency unk param:foo Cat:IB currency unk param:bar
Side by side comparison
{{Infobox currency}}{{Infobox currency/sandbox}}
foo=blank
Unit
UnitPound
Cat:IB currency unk param:foo Cat:IB currency unk param:foobar
foo=blank
Unit
UnitPound
Cat:IB currency unk param:foo Cat:IB currency unk param:foobar

Is obsolete

edit
new |is_obsolete=
|obsolete_notice=

code

edit
USD
A. base: >USD<
B1. f:plain: >USD<
B2. f:opt-none: >USD<
C0 nocat: >USD<
C1 ISOcat: >USD<
E1 errtxt: >USD<
E0 blank _etxt: >USD<
G1 cat+_errtxt: >USD<
G0 cat+blank _etxt: >USD<
N is-none: ><
num: >840<
(num): >(840)<

none

edit
noNe
A. base: ><
B1. f:plain: ><
B2. f:opt-none: >noNe<
C0 nocat: ><
C1 ISOcat: ><
E1 errtxt: ><
E0 blank _etxt: ><
G1 cat+_errtxt: ><
G0 cat+blank _etxt: ><
N is-none: >_NONE_<
num: ><
(num): ><

blank

edit
blank
A. base: ><
B1. f:plain: ><
B2. f:opt-none: ><
C0 nocat: ><
C1 ISOcat: ><
E1 errtxt: ><
E0 blank _etxt: ><
G1 cat+_errtxt: ><
G0 cat+blank _etxt: ><
N is-none: ><
num: ><
(num): ><
aaa (NaCode)
A. base: ><
B1. f:plain: ><
B2. f:opt-none: ><
C0 nocat: ><
C1 ISOcat: ><
E1 errtxt: ><
E0 blank _etxt: ><
G1 cat+_errtxt: ><
G0 cat+blank _etxt: ><
N is-none: ><
num: ><
(num): ><

vetnone

edit
[[Main page|None]]
A. base: ><
B1. f:plain: ><
B2. f:opt-none: >None<
C0 nocat: ><
C1 ISOcat: ><
E1 errtxt: ><
E0 blank _etxt: ><
G1 cat+_errtxt: ><
G0 cat+blank _etxt: ><
N is-none: >_NONE_<
num: ><
(num): ><


~all option-none
A. base: >None<
B1. f:plain: >< Red XN
B2. f:opt-none: >None<
C0 nocat: >None<
C1 ISOcat: >None<
E1 errtxt: >None<
E0 blank _etxt: >None<
G1 cat+_errtxt: >None<
G0 cat+blank _etxt: >None<
N is-none: >_NONE_<
num: ><
(num): ><

Notes

edit

References