Template:Substitute: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
 
Line 2: Line 2:
| type = notice
| type = notice
| 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>).{{#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|{{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]].'''{{#ifeq: {{lc: {{ARTICLEROOTPAGENAME}}}}|template:substitute||{{#ifeq: {{lc: {{NAMESPACE}}}}|template|{{#if: {{#titleparts: {{FULLPAGENAME}}|-1}}||[[Category:Substitutable templates]]}}|}}}}
   | #default = may be [[mw:help:substitution|substituted]].'''{{#ifeq: {{lc: {{ARTICLEROOTPAGENAME}}}}|template:substitute||{{#ifeq: {{lc: {{NAMESPACE}}}}|template|{{#if: {{#titleparts: {{FULLPAGENAME}}|-1}}||[[Category:Substitutable templates]]}}|}}}}