Difference between revisions of "Template:Subst/doc"

From Second Life Wiki
Jump to navigation Jump to search
(Shamelessly copied from wikipedia.org and adapted for SL Wiki)
 
m (Missed one Wikipedia link...)
 
Line 2: Line 2:
{{Documentation subpage}}
{{Documentation subpage}}
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
<!-- Categories go at the bottom of this page and interwikis go in Wikidata. -->
{{mbox|text='''NOTE''': This template is '''for documentation''', and does '''not''' actually perform {{Wikipedia|Substitution|template substitution}}.<br/>'''For information about templates which appear prefixed with <code>subst:</code>, see [[WP:SUBST]].'''}}
{{mbox|text='''NOTE''': This template is '''for documentation''', and does '''not''' actually perform {{Wikipedia|Substitution|template substitution}}.<br/>'''For information about templates which appear prefixed with <code>subst:</code>, see {{Wikipedia|WP:SUBST}}.'''}}


== Usage ==
== Usage ==

Latest revision as of 23:48, 15 September 2022

Not to be confused with Template:Substitution or Template:Delay subst.

Usage

This template is used to help display the wiki code for "Wikipedia logo"template substitution. It takes one parameter specifying the name of a template:

Example:

  • To substitute that template, use {{subst|Medicine}}.

produces:

To substitute that template, use {{subst:Medicine}}.

See also

  • {{tls}} - {{tls|foo}} produces {{{"Wikipedia logo"subst:foo}}.
  • {{tlxs}} - similar to tls but allows for multiple parameters
  • {{Substitution}} - says whether the template should be substituted or not