Template:Subst/doc: Difference between revisions
Add Template:uncategorized. All templates should be in at least one category. |
m 1 revision imported |
(No difference)
|
Latest revision as of 04:42, 21 November 2024
This is a documentation subpage for Template:Subst. It may contain usage information, categories and other content that is not part of the original template page. |
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[edit source]
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[edit source]
- {{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