Template:Substitute: Difference between revisions

ArrowHead294 (talk | contribs)
mNo edit summary
ArrowHead294 (talk | contribs)
mNo edit summary
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>{{Mbox
<includeonly>{{Mbox
| type = notice
| type = notice
| text = <span style{{=}}"font-size: 16px;">'''This template {{#switch: {{{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>{{</nowiki>subst:{{PAGENAME}}<nowiki>}}</nowiki></code>).
   | 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]].'''
   | may = 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]]}}|}}}}
  | #default =
   }}</span>
   }}</span>
| icon = Information icon.svg
| icon = Information icon.svg