Difference between revisions of "Template:Always substitute"

From Second Life Wiki
Jump to navigation Jump to search
(Shamelessly copied from wikipedia.org (pre-Lua version))
 
m (Fix links to Wikipedia (hopefully))
 
Line 2: Line 2:
| name  = Subst only
| name  = Subst only
| type  = notice
| type  = notice
| text  = '''This template should always be [[Help:Substitution|substituted]]''' (i.e., use <!--
| text  = '''This template should always be {{Wikipedia|Help:Substitution|substituted}}''' (i.e., use <!--
  -->{{{actualtemplate|{{template other|{{Tlsp|{{#switch:{{SUBPAGENAME}}|doc|sandbox={{BASEPAGENAME}}|{{PAGENAME}}}}}}|{{Tlsu|{{FULLPAGENAME}}}}}}}}}). <!--
  -->{{{actualtemplate|{{template other|{{Tlsp|{{#switch:{{SUBPAGENAME}}|doc|sandbox={{BASEPAGENAME}}|{{PAGENAME}}}}}}|{{Tlsu|{{FULLPAGENAME}}}}}}}}}). <!--
  -->{{#if:{{yesno|{{{auto|no}}}}} |Any accidental transclusions will be automatically substituted by a bot.{{{1|}}}{{#switch:{{SUBPAGENAME}}|doc|sandbox=|[[Category:Wikipedia templates to be automatically substituted]]}}}} <!--
  -->{{#if:{{yesno|{{{auto|no}}}}} |Any accidental transclusions will be automatically substituted by a bot.{{{1|}}}{{#switch:{{SUBPAGENAME}}|doc|sandbox=|[[Category:Wikipedia templates to be automatically substituted]]}}}} <!--
  -->{{#if:{{{alt|}}} |For transcluding, use {{Tl|{{{alt|}}}}} instead.}}
  -->{{#if:{{{alt|}}} |For transcluding, use {{Tl|{{{alt|}}}}} instead.}}
}}{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|[[Category:Wikipedia substituted templates]]}}<noinclude>{{Documentation}}</noinclude>
}}{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|[[Category:Wikipedia substituted templates]]}}<noinclude>{{Documentation}}</noinclude>

Latest revision as of 16:09, 28 February 2024

[Edit] [🔄Purge] Template-info.png Template documentation

{{Always substitute}} produces the following notice:

(but {{Always substitute}} itself should not be "Wikipedia logo"substituted.)

Usage

{{Always substitute}}

{{Always substitute}} should be placed on the "Wikipedia logo"documentation "Wikipedia logo"subpage of any template that requires "Wikipedia logo"substitution rather than "Wikipedia logo"transclusion (i.e. not on the template's own page itself).

Pages that include {{Always substitute}} are added to Category:Wikipedia substituted templates.

Parameters

|auto =

If set as "yes", the template to which the notice refers will be subst:ed automatically unless the |demo = yes parameter is set. The notice is amended to state this. Default is "no". Setting this parameter to "yes" places the template in Category:Wikipedia templates to be automatically substituted; see "Wikipedia logo"User:AnomieBOT/docs/TemplateSubster for more information.

|alt =

Use to set an alternate and transcludable name for the template.

Redirects

"Wikipedia logo"List of subst helper templates