Template:Always substitute/testcases
Appearance
| This is the template test cases page for the sandbox of Template:Always substitute. 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 and parsers with these links: |
No parameters
{{Always substitute|demo=yes |nocat=true}}
| This template should always be substituted – use {{subst:Always substitute/testcases}}. |
| This template should always be substituted – use {{subst:Always substitute/testcases}}. |
|auto=yes{{Always substitute|auto=yes |demo=yes |nocat=true}}
| This template should always be substituted – use {{subst:Always substitute/testcases}}. Any accidental transclusions will be automatically substituted by a bot. |
| This template should always be substituted – use {{subst:Always substitute/testcases}}. Any accidental transclusions will be automatically substituted by a bot. |
|auto=no{{Always substitute|auto=no |demo=yes |nocat=true}}
| This template should always be substituted – use {{subst:Always substitute/testcases}}. |
| This template should always be substituted – use {{subst:Always substitute/testcases}}. |
|auto=gibberish{{Always substitute|auto=gibberish |demo=yes |nocat=true}}
| This template should always be substituted – use {{subst:Always substitute/testcases}}. |
| This template should always be substituted – use {{subst:Always substitute/testcases}}. |
|alt=X2{{Always substitute|alt=X2 |demo=yes |nocat=true}}
| This template should always be substituted – use {{subst:Always substitute/testcases}}. For transclusion, use {{X2}} instead. |
| This template should always be substituted – use {{subst:Always substitute/testcases}}. For transclusion, use {{X2}} instead. |
|alt=[no value]{{Always substitute|alt= |demo=yes |nocat=true}}
| This template should always be substituted – use {{subst:Always substitute/testcases}}. |
| This template should always be substituted – use {{subst:Always substitute/testcases}}. |
|alt=[two spaces]{{Always substitute|alt= |demo=yes |nocat=true}}
| This template should always be substituted – use {{subst:Always substitute/testcases}}. |
| This template should always be substituted – use {{subst:Always substitute/testcases}}. |
|auto=yes and |alt=X2{{Always substitute|alt=X2 |demo=yes
auto=yes |nocat=true}}
| This template should always be substituted – use {{subst:Always substitute/testcases}}. For transclusion, use {{X2}} instead. |
| This template should always be substituted – use {{subst:Always substitute/testcases}}. For transclusion, use {{X2}} instead. |
|yesnomaybe=never{{Always substitute|demo=yes |nocat=true |yesnomaybe=never}}
| This template should never be substituted – use {{Always substitute/testcases}}. |
| This template should never be substituted – use {{Always substitute/testcases}}. |
|yesnomaybe=may{{Always substitute|demo=yes |nocat=true |yesnomaybe=may}}
| This template may be substituted by using {{subst:Always substitute/testcases}}. |
| This template may be substituted by using {{subst:Always substitute/testcases}}. |
|yesnomaybe=can{{Always substitute|demo=yes |nocat=true |yesnomaybe=can}}
| This template can be substituted by using {{subst:Always substitute/testcases}}. |
| This template can be substituted by using {{subst:Always substitute/testcases}}. |
|yesnomaybe=CAN{{Always substitute|demo=yes |nocat=true |yesnomaybe=CAN}}
| This template can be substituted by using {{subst:Always substitute/testcases}}. |
| This template can be substituted by using {{subst:Always substitute/testcases}}. |
|yesnomaybe=never and |auto=yes{{Always substitute|auto=yes |demo=yes |nocat=true |yesnomaybe=never}}
| This template should never be substituted – use {{Always substitute/testcases}}. |
| This template should never be substituted – use {{Always substitute/testcases}}. |
|yesnomaybe=may and |auto=yes{{Always substitute|auto=yes |demo=yes |nocat=true |yesnomaybe=may}}
| This template may be substituted by using {{subst:Always substitute/testcases}}. |
| This template may be substituted by using {{subst:Always substitute/testcases}}. |
|yesnomaybe=can and |auto=yes{{Always substitute|auto=yes |demo=yes |nocat=true |yesnomaybe=can}}
| This template can be substituted by using {{subst:Always substitute/testcases}}. |
| This template can be substituted by using {{subst:Always substitute/testcases}}. |
|yesnomaybe=never and |auto=yes and |alt=X2{{Always substitute|alt=X2 |auto=yes |demo=yes |nocat=true |yesnomaybe=never}}
| This template should never be substituted – use {{Always substitute/testcases}}. |
| This template should never be substituted – use {{Always substitute/testcases}}. |
|yesnomaybe=may and |auto=yes and |alt=X2{{Always substitute|alt=X2 |auto=yes |demo=yes |nocat=true |yesnomaybe=may}}
| This template may be substituted by using {{subst:Always substitute/testcases}}. |
| This template may be substituted by using {{subst:Always substitute/testcases}}. |
|yesnomaybe=can and |auto=yes and |alt=X2{{Always substitute|alt=X2 |auto=yes |demo=yes |nocat=true |yesnomaybe=can}}
| This template can be substituted by using {{subst:Always substitute/testcases}}. |
| This template can be substituted by using {{subst:Always substitute/testcases}}. |