Template:Template link expanded with subst/doc: Difference between revisions
m (Primefac moved page Template:Tlxs/doc to Template:Template link expanded with subst/doc: make the name more obvious) |
m (1 revision imported) |
(No difference)
|
Latest revision as of 06:49, 7 October 2023
This is a documentation subpage for Template:Template link expanded with subst. It contains usage information, categories and other content that is not part of the original template page. |
This template creates a template link to templatespace for templates which require substitution as well as parameters. For templates that don't take parameters, try {{Tls}}.
Syntax
{{tlxs|template|first parameter|second parameter|third|...|tenth}}
→ {{subst:template|first parameter|second parameter|third|...|tenth}}
Where parameters to be illustrated might contain one or more equals-signs ("="), replace each equals-sign with {{=}}
:
{{tlxs|template|first{{=}}something|second|third{{=}}something...|tenth}}
→ {{subst:template|first=something|second|third=something|...|tenth}}
If an eleventh parameter ore more are included, ...
will appear at the end of the code created by this template.
To have the illustrated template name show in bold (e.g. to match use of {{tlxb}}
in the same material) add the |bold=y
(or |bold=yes
, etc.) parameter:
{{tlxs|bold=y|template|first parameter|...}}
→ {{subst:template|first parameter|...}}
See also