Template:EIN/testcases

From blackwiki
< Template:EIN
Revision as of 04:15, 11 June 2018 by imported>Struthious Bandersnatch (←Created page with '{{Testcases notice <!--|toc=on-->}} {{Test case|_collapsible=yes|_showcode=yes|_title=No params should produce an error}} {{Test case|_collapsible=yes|_showcod...')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
No params should produce an error
{{EIN}}

{{EIN}}

Parameter error in {{EIN}}: Missing EIN.

{{EIN/sandbox}}

Parameter error in {{EIN}}: Missing EIN.

Ensure leading zeros are not stripped
{{EIN|012345678}}

{{EIN}}

EIN 012345678

{{EIN/sandbox}}

EIN 012345678

With plainlink
{{EIN|123456789|plainlink=yes}}

{{EIN}}

123456789

{{EIN/sandbox}}

123456789

Multiple EINs
{{EIN|012345678|123456789|234567890}}

{{EIN}}

EIN 012345678, 123456789, 234567890

{{EIN/sandbox}}

EIN 012345678, 123456789, 234567890

Multiple EINs with leadout
{{EIN|012345678|123456789|234567890|leadout=and}}

{{EIN}}

EIN 012345678, 123456789 and 234567890

{{EIN/sandbox}}

EIN 012345678, 123456789 and 234567890

Multiple EINs with plainlink
{{EIN|012345678|123456789|234567890|plainlink=yes}}

{{EIN}}

012345678, 123456789, 234567890

{{EIN/sandbox}}

012345678, 123456789, 234567890

Multiple EINs with plainlink and leadout
{{EIN|012345678|123456789|234567890|leadout=and|plainlink=yes}}

{{EIN}}

012345678, 123456789 and 234567890

{{EIN/sandbox}}

012345678, 123456789 and 234567890