Jump to content

Template:ISO 4217/code/testcases

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by DePiep (talk | contribs) at 09:16, 1 November 2022 (code (base)). The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.
Category:Currencies with ISO 4217 code (239) · Category:Currencies without ISO 4217 code (94)

code (base)

{{ISO 4217/code/format}} (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test)
USD
{{ISO 4217/code}} (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test)
{{ISO 4217/code}} (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test)
{{ISO 4217/code}} (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test)
XYZ
{{ISO 4217/code}} (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test)
{{ISO 4217/code}} (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test)
{{ISO 4217/code}} (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test)
none
{{ISO 4217/code}} (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test)
{{ISO 4217/code}} (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test)
{{ISO 4217/code}} (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test)
-blank-
{{ISO 4217/code}} (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test)
{{ISO 4217/code}} (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test)
{{ISO 4217/code}} (edit talk history links # /subpages /doc /doc edit /sbox /sbox diff /test)

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

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

{{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

Category:Pages using Infobox currency to check (34)
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

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: ><
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: ><
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

[[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

References