Difference between revisions of "Template:Ifsubst/testcases"
Jump to navigation
Jump to search
imported>Ahecht (add testcases) |
imported>Ahecht (add testcases) |
||
| Line 11: | Line 11: | ||
<code><nowiki>{{ ifsubst/sandbox | yes | no | demo=yes}}</nowiki></code> | <code><nowiki>{{ ifsubst/sandbox | yes | no | demo=yes}}</nowiki></code> | ||
{{ ifsubst/sandbox | yes | no | demo=yes}} | {{ ifsubst/sandbox | yes | no | demo=yes}} | ||
| + | |||
| + | <code><nowiki>{{ ifsubst/sandbox | yes | no | demo=}}</nowiki></code> | ||
| + | {{ ifsubst/sandbox | yes | no | demo=}} | ||
<code><nowiki>{{ subst:ifsubst/sandbox | yes | no }}</nowiki></code> | <code><nowiki>{{ subst:ifsubst/sandbox | yes | no }}</nowiki></code> | ||
| Line 19: | Line 22: | ||
<code><nowiki>{{ subst:ifsubst/sandbox | yes | no |demo=yes}}</nowiki></code> | <code><nowiki>{{ subst:ifsubst/sandbox | yes | no |demo=yes}}</nowiki></code> | ||
| + | yes | ||
| + | |||
| + | <code><nowiki>{{ subst:ifsubst/sandbox | yes | no |demo=}}</nowiki></code> | ||
yes | yes | ||
| Line 33: | Line 39: | ||
<code><nowiki>{{ ifsubst | yes | no | demo=yes}}</nowiki></code> | <code><nowiki>{{ ifsubst | yes | no | demo=yes}}</nowiki></code> | ||
{{ ifsubst | yes | no | demo=yes}} | {{ ifsubst | yes | no | demo=yes}} | ||
| + | |||
| + | <code><nowiki>{{ ifsubst | yes | no | demo=}}</nowiki></code> | ||
| + | {{ ifsubst | yes | no | demo=}} | ||
<code><nowiki>{{ subst:ifsubst | yes | no }}</nowiki></code> | <code><nowiki>{{ subst:ifsubst | yes | no }}</nowiki></code> | ||
| Line 41: | Line 50: | ||
<code><nowiki>{{ subst:ifsubst | yes | no |demo=yes}}</nowiki></code> | <code><nowiki>{{ subst:ifsubst | yes | no |demo=yes}}</nowiki></code> | ||
| + | yes | ||
| + | |||
| + | <code><nowiki>{{ subst:ifsubst | yes | no |demo=}}</nowiki></code> | ||
yes | yes | ||
{{clear}} | {{clear}} | ||
Latest revision as of 19:48, 17 May 2016
| 42px | This is the template test cases page for the sandbox of Template:Ifsubst. Script error: No such module "Purge". to update the examples. If there are many examples of a complicated template, later ones may break due to limits in MediaWiki, see the HTML comment "NewPP limit report" in the rendered page. You can also use Special:ExpandTemplates to examine the results of template uses. You can test how this page looks in the different skins with these links: |
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