Template:Substitute: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
Line 4: Line 4:
   | always = should always be [[mw:help:substitution|substituted]]''' (i.e. use <code><nowiki>{{subst:</nowiki>{{{tname|{{lcfirst:{{ROOTPAGENAME}}}}}}}<nowiki>}}</nowiki></code>).{{#ifeq: {{lc:{{ARTICLEROOTPAGENAME}}}}|template:substitute||{{#ifeq: {{lc:{{NAMESPACE}}}}|template|{{#if: {{#titleparts: {{FULLPAGENAME}}|-1}}||[[Category:Substituted templates]]}}|}}}}
   | always = should always be [[mw:help:substitution|substituted]]''' (i.e. use <code><nowiki>{{subst:</nowiki>{{{tname|{{lcfirst:{{ROOTPAGENAME}}}}}}}<nowiki>}}</nowiki></code>).{{#ifeq: {{lc:{{ARTICLEROOTPAGENAME}}}}|template:substitute||{{#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]].'''
   | #default = may be [[mw:help:substitution|substituted]].'''
   | #default = may be [[mw:help:substitution|substituted]].'''{{#ifeq: {{lc:{{ARTICLEROOTPAGENAME}}}}|template:substitute||{{#ifeq: {{lc:{{NAMESPACE}}}}|template|{{#if: {{#titleparts: {{FULLPAGENAME}}|-1}}||[[Category:Substitutable templates]]}}|}}}}
   }}</span>
   }}</span>
| icon = Information icon.svg
| icon = Information icon.svg