Template:Subst only: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Wikipedia import, substitution messagebox)
 
m (→‎top: Unicodifying, replaced: {{Documentation}} → {{doc}})
Line 4: Line 4:
  -->{{{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:{{{alt|}}} |For transcluding, use {{Tl|{{{alt|}}}}} instead.}}
  -->{{#if:{{{alt|}}} |For transcluding, use {{Tl|{{{alt|}}}}} instead.}}
}}{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|[[Category:Substituted templates]]}}<noinclude>{{Documentation}}</noinclude>
}}{{#ifeq:{{BASEPAGENAME}}|{{PAGENAME}}|[[Category:Substituted templates]]}}<noinclude>{{doc}}</noinclude>

Revision as of 13:52, 11 January 2024

English (en)Deutsch (de)Esperanto (eo)Español (es)Français (fr)Suomi (fi)Hrvatski (hr)Magyar (hu)Italiano (it)日本語 (ja)한국어 (ko)Nederlands (nl)Polski (pl)Português (pt)Português do Brasil (pt-br)Русский (ru)Slovenčina (sk)Svenska (sv)Türkçe (tr)Українська (uk)Tiếng Việt (vi)中文 (zh)中文(臺灣) (zh-tw)
Curly brackets white.pngTemplate Documentation [view] [edit]
Icon-translate.png Available doc translations
Page history

{{Subst only}} produces the following notice:

(but {{Subst only}} itself should not be substituted.)

Usage

{{Subst only}}

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

Pages that include {{Subst only}} are added to Category:Substituted templates.

Parameters

|alt=

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