Template:Subst: Difference between revisions
Appearance
Content deleted Content added
Agathoclea (talk | contribs) →Usage: grammar fix per talkpage |
Make parameter optional |
||
(15 intermediate revisions by 13 users not shown) | |||
Line 1: | Line 1: | ||
{{subst:{{#if:{{{1|}}}|[[Template:{{{1}}}|{{{1}}}]]}}}}<noinclude> |
|||
<noinclude>==Template content== |
|||
{{Documentation}} |
|||
</noinclude><!-- Template:Subst start -->When using [[Wikipedia:Template substitution|certain template tags]] on talk pages, don't forget to [[Wikipedia:Template substitution|substitute with text]] by adding '''subst:''' to the template tag. For example, use {{subst:uw-test1}} instead of {{uw-test1}}. This reduces server load and prevents accidental blanking of the template. <!-- Template:Subst end --> <noinclude> |
|||
<!-- Please add categories to the /doc subpage; interwikis go to Wikidata --> |
|||
==Usage== |
|||
This template consists of the above text, and is effectively just a message about using "subst:", mainly used on other template pages. It should probably not be "subst"ed, as the wording or advice may change. |
|||
[[Category:User warning templates|{{PAGENAME}}]] |
|||
</noinclude> |
</noinclude> |
Latest revision as of 07:14, 16 April 2021
{{subst:}}
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
This template has not been added to any categories. Please help out by adding categories to it so that it can be listed with similar templates. |