Template:Ifsubst/testcases

From blackwiki
< Template:Ifsubst
Revision as of 19:47, 17 May 2016 by imported>Ahecht (add testcases)
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

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

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

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

Main template

{{ ifsubst | yes | no }} no

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

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

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

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

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