Template:ISO 4217/code/testcases
Jump to navigation
Jump to search
Template:Template test cases notice
- Template:T links·{{ISO 4217/code-none}}·{{ISO 4217/code-is-ambiguous}}·{{ISO 4217/code-to-withdrawal-date}}·{{ISO 4217/code-is-obsolete}}·{{ISO 4217/code-minor-unit}}·{{ISO 4217/code-to-number}}
- Category:ISO 4217 (3) -to be umbrella cat
code (base)
- A. USD
- B. USD
- C. USD
- D. USD
- XYZ
- A.
- noNe
- A.
- B. noNe
- C. noNe
- D. noNe
- -blank-
- A.
- B.
- C.
- D.
code-count & entity-list
- {{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 ANTILLESOBS
>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, SPAINL2
[0]:L3
[1]: SERBIA AND MONTENEGROOBS
>ACT< ambival:>2006-10<
- HRK [2]
L1
[1]: CROATIAL2
[0]:L3
[1]: CROATIAOBS
>ACT< ambival:>2015-06<
- IDR [2]
L1
[1]: INDONESIAL2
[0]:L3
[1]: TIMOR-LESTEOBS
>ACT< ambival:>2002-07<
- MWK [2]
L1
[1]: MALAWIL2
[0]:L3
[1]: MALAWIOBS
>ACT< ambival:>2016-02<
- PEN [2]
L1
[1]: PERUL2
[0]:L3
[1]: PERUOBS
>ACT< ambival:>2015-12<
- RON [2]
L1
[1]: ROMANIAL2
[0]:L3
[1]: ROMANIAOBS
>ACT< ambival:>2015-06<
- SDG [2]
L1
[1]: SUDAN (THE)L2
[0]:L3
[1]: SOUTH SUDANOBS
>ACT< ambival:>2012-09<
- SZL [2]
L1
[1]: ESWATINIL2
[0]:L3
[1]: SWAZILANDOBS
>ACT< ambival:>2018-08<
- TRY [2]
L1
[1]: TÜRKİYEL2
[0]:L3
[1]: TURKEYOBS
>ACT< ambival:>2009-01<
minor units (ambiguous code)
- 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
- 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
- USD >0.01<
- PEN >0.01<
- FOO ><
- blank ><
- 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
- 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
- Category:Pages using Infobox currency to check (0)
- check if anyone
|unit, name_abbr=
is present (blank or othersise). rule: when para is added, do not categorise
{{Infobox currency}} | {{Infobox currency/sandbox}} | ||||||
---|---|---|---|---|---|---|---|
| Error: expandTemplate: template "Infobox currency/sandbox" does not exist |
{{Infobox currency}} | {{Infobox currency/sandbox}} | ||
---|---|---|---|
| Error: expandTemplate: template "Infobox currency/sandbox" does not exist |
{{Infobox currency}} | {{Infobox currency/sandbox}} | ||||
---|---|---|---|---|---|
| Error: expandTemplate: template "Infobox currency/sandbox" does not exist |
{{Infobox currency}} | {{Infobox currency/sandbox}} |
---|---|
| Error: expandTemplate: template "Infobox currency/sandbox" does not exist |
{{Infobox currency}} | {{Infobox currency/sandbox}} |
---|---|
| Error: expandTemplate: template "Infobox currency/sandbox" does not exist |
{{Infobox currency}} | {{Infobox currency/sandbox}} |
---|---|
| Error: expandTemplate: template "Infobox currency/sandbox" does not exist |
{{Infobox currency}} | {{Infobox currency/sandbox}} |
---|---|
| Error: expandTemplate: template "Infobox currency/sandbox" does not exist |
- para foo
{{Infobox currency}} | {{Infobox currency/sandbox}} | ||||
---|---|---|---|---|---|
| Error: expandTemplate: template "Infobox currency/sandbox" does not exist |
{{Infobox currency}} | {{Infobox currency/sandbox}} | ||||
---|---|---|---|---|---|
| Error: expandTemplate: template "Infobox currency/sandbox" does not exist |
{{Infobox currency}} | {{Infobox currency/sandbox}} | ||||
---|---|---|---|---|---|
| Error: expandTemplate: template "Infobox currency/sandbox" does not exist |
Is obsolete
- new
|is_obsolete=
|obsolete_notice=
code
USD
- 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
- noNe
- A. base: ><
- B1. f:plain: >noNe<
- 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
- 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
- aaa (NaCode)
- A. base: ><
- B1. f:plain: > ISOcat-C*<
- B2. f:opt-none: > ISOcat-C*<
- C0 nocat: ><
- C1 ISOcat: ><
- E1 errtxt: ><
- E0 blank _etxt: ><
- G1 cat+_errtxt: ><
- G0 cat+blank _etxt: ><
- N is-none: ><
- num: ><
- (num): ><
vetnone
- [[Main page|None]]
- A. base: ><
- B1. f:plain: >None<
- 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: >None<
- 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): ><