Difference between revisions of "Template:Subst/doc"
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 | {{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
This is a documentation subpage for Template:Subst. It contains usage information, categories and other content or metadata that is not part of the original template. |
NOTE: This template is for documentation, and does not actually perform template substitution. For information about templates which appear prefixed with subst: , see WP:SUBST. |
Usage
This template is used to help display the wiki code for 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 {{{ subst:foo}}.
- {{tlxs}} - similar to tls but allows for multiple parameters
- {{Substitution}} - says whether the template should be substituted or not