Template:Ifsubst/testcases

From blackwiki
< Template:Ifsubst
Revision as of 19:48, 17 May 2016 by imported>Ahecht (add testcases)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sandbox version

{{ ifsubst/sandbox | yes | no }} no

{{ ifsubst/sandbox | yes | no | demo=no}} no

{{ ifsubst/sandbox | yes | no | demo=yes}} yes

{{ ifsubst/sandbox | yes | no | demo=}} no

{{ subst:ifsubst/sandbox | yes | no }} yes

{{ subst:ifsubst/sandbox | yes | no |demo=no}} no

{{ subst:ifsubst/sandbox | yes | no |demo=yes}} yes

{{ subst:ifsubst/sandbox | yes | no |demo=}} yes

Main template

{{ ifsubst | yes | no }} no

{{ ifsubst | yes | no | demo=no}} no

{{ ifsubst | yes | no | demo=yes}} yes

{{ ifsubst | yes | no | demo=}} no

{{ subst:ifsubst | yes | no }} yes

{{ subst:ifsubst | yes | no |demo=no}} no

{{ subst:ifsubst | yes | no |demo=yes}} yes

{{ subst:ifsubst | yes | no |demo=}} yes