සැකිල්ල:Ifsubst/testcases
This is the template test cases page for the sandbox of සැකිල්ල:Ifsubst. Purge this page 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: |
{{ ifsubst/sandbox | yes | no }}
අක්ෂර දෝෂය: සැබෑ මොඩියුලක් නොමැත.
{{ ifsubst/sandbox | yes | no | demo=no}}
අක්ෂර දෝෂය: සැබෑ මොඩියුලක් නොමැත.
{{ ifsubst/sandbox | yes | no | demo=yes}}
අක්ෂර දෝෂය: සැබෑ මොඩියුලක් නොමැත.
{{ ifsubst/sandbox | yes | no | demo=}}
අක්ෂර දෝෂය: සැබෑ මොඩියුලක් නොමැත.
{{ subst:ifsubst/sandbox | yes | no }}
yes
{{ subst:ifsubst/sandbox | yes | no |demo=no}}
yes
{{ subst:ifsubst/sandbox | yes | no |demo=yes}}
This call will return "yes" when substituted and "no" when transcluded.
{{ subst:ifsubst/sandbox | yes | no |demo=}}
yes
{{ 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