Template:Subst only: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(not sure what is this check)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{Mbox
{{doc}}
 
<includeonly>
 
<onlyinclude>{{Mbox
| borderstyle =
| borderstyle =
| text  = '''This template should always be substituted''' (i.e., use <!--
| text  = '''This template should always be 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:{{{alt|}}} |For transcluding, use {{Tl|{{{alt|}}}}} instead.}}
  -->{{#if:{{{alt|}}} |For transcluding, use {{Tl|{{{alt|}}}}} instead.}}
}}<includeonly>[[Category:Substituted templates]]</includeonly>
}}{{#ifeq:{{ROOTPAGENAME}}|Subst only||[[Category:Substituted templates]]}}</onlyinclude>
<noinclude>{{doc}}</noinclude>
 
</includeonly>

Latest revision as of 07:45, 30 July 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.