Template:Substitute: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) mNo edit summary |
||
Line 3: | Line 3: | ||
| text = <span style{{=}}"font-size: 16px;">'''This template {{#switch: {{trim|{{lc:{{{1|}}}}}}} | | text = <span style{{=}}"font-size: 16px;">'''This template {{#switch: {{trim|{{lc:{{{1|}}}}}}} | ||
| always = should always be [[mw:help:substitution|substituted]]''' (i.e. use <code><nowiki>{{subst:</nowiki>{{{tname|{{lcfirst:{{ROOTPAGENAME}}}}}}}<nowiki>}}</nowiki></code>). | | always = should always be [[mw:help:substitution|substituted]]''' (i.e. use <code><nowiki>{{subst:</nowiki>{{{tname|{{lcfirst:{{ROOTPAGENAME}}}}}}}<nowiki>}}</nowiki></code>). | ||
{{#ifeq: {{lc:{{NAMESPACE}}}}|template|{{#if: {{#titleparts: {{FULLPAGENAME}} | {{#ifeq: {{lc:{{NAMESPACE}}}}|template|{{#if: {{#titleparts: {{FULLPAGENAME}}|-1}}||[[Category:Substituted templates]]}}|}} | ||
| no = should ''not'' be [[mw:help:substitution|substituted]].''' | | no = should ''not'' be [[mw:help:substitution|substituted]].''' | ||
| both = may be [[mw:help:substitution|substituted]].''' | | both = may be [[mw:help:substitution|substituted]].''' |