Template:Subst/doc: Difference between revisions
Appearance
Content deleted Content added
Caleb Cooper (talk | contribs) Created page with "{{Distinguish|Template:Substitution|Template:Delay subst}} {{Documentation subpage}} <!-- Categories go at the bottom of this page and interwikis go in Wikidata. --> {{mbox|te..." |
Caleb Cooper (talk | contribs) m Text replacement - "[[WP:" to "[[Wikipedia:WP:" |
||
| 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 08:13, 21 October 2020
| NOTE: This template is for documentation, and does not actually perform template substitution. For information about templates which appear prefixed with subst:, see Wikipedia: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}}.
Substituting this template will substitute the template you supply, if given.
See also
- {{tls}} - {{tls|foo}} prints {{subst:foo}}.
- {{tlxs}} - similar to tls but allows for multiple parameters
- {{Substitution}} - says whether the template should or should not be substituted