Difference between revisions of "Template:Ifsubst/testcases"
Jump to navigation
Jump to search
imported>Ahecht (create) |
imported>Ahecht (add testcases) |
||
| Line 5: | Line 5: | ||
<code><nowiki>{{ ifsubst/sandbox | yes | no }}</nowiki></code> | <code><nowiki>{{ ifsubst/sandbox | yes | no }}</nowiki></code> | ||
{{ ifsubst/sandbox | yes | no }} | {{ ifsubst/sandbox | yes | no }} | ||
| + | |||
| + | <code><nowiki>{{ ifsubst/sandbox | yes | no | demo=no}}</nowiki></code> | ||
| + | {{ ifsubst/sandbox | yes | no | demo=no}} | ||
<code><nowiki>{{ ifsubst/sandbox | yes | no | demo=yes}}</nowiki></code> | <code><nowiki>{{ ifsubst/sandbox | yes | no | demo=yes}}</nowiki></code> | ||
| Line 10: | Line 13: | ||
<code><nowiki>{{ subst:ifsubst/sandbox | yes | no }}</nowiki></code> | <code><nowiki>{{ subst:ifsubst/sandbox | yes | no }}</nowiki></code> | ||
| + | yes | ||
| + | |||
| + | <code><nowiki>{{ subst:ifsubst/sandbox | yes | no |demo=no}}</nowiki></code> | ||
| + | no | ||
| + | |||
| + | <code><nowiki>{{ subst:ifsubst/sandbox | yes | no |demo=yes}}</nowiki></code> | ||
yes | yes | ||
| Line 18: | Line 27: | ||
<code><nowiki>{{ ifsubst | yes | no }}</nowiki></code> | <code><nowiki>{{ ifsubst | yes | no }}</nowiki></code> | ||
{{ ifsubst | yes | no }} | {{ ifsubst | yes | no }} | ||
| + | |||
| + | <code><nowiki>{{ ifsubst | yes | no | demo=no}}</nowiki></code> | ||
| + | {{ ifsubst | yes | no | demo=no}} | ||
<code><nowiki>{{ ifsubst | yes | no | demo=yes}}</nowiki></code> | <code><nowiki>{{ ifsubst | yes | no | demo=yes}}</nowiki></code> | ||
| Line 25: | Line 37: | ||
yes | yes | ||
| + | <code><nowiki>{{ subst:ifsubst | yes | no |demo=no}}</nowiki></code> | ||
| + | no | ||
| + | |||
| + | <code><nowiki>{{ subst:ifsubst | yes | no |demo=yes}}</nowiki></code> | ||
| + | yes | ||
{{clear}} | {{clear}} | ||
Revision as of 19:47, 17 May 2016
| 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
{{ 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