Template:Subst/doc: Difference between revisions
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 00:48, 16 September 2022
|
|
This is a It contains usage information, |
|
|
NOTE: This template is for documentation, and does not actually perform For information about templates which appear prefixed with subst:, see |
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