Template:Mtl: Difference between revisions
Jump to navigation
Jump to search
imported>Tlosk New page: <includeonly>Template:{{{1}}}|<nowiki>{{</nowiki>{{{1}}}<nowiki>}}</nowiki></includeonly><noinclude> {{Related|Wiki Templates|{{mtl|tl}}}} == Syntax == <pre> {{mtl|template name}} </pre> ... |
Abrichardson (talk | contribs) Created page with "<includeonly>Template:{{{1}}}|<nowiki>{{</nowiki>{{{1}}}<nowiki>}}</nowiki></includeonly><noinclude> {{Related|Wiki Templates|{{mtl|tl}}}} == Syntax == <pre> {{mtl|template name}} </pre> == Usage == Mtl stands for modified template link and is used to display a template name as a nonlink surrounded by braces, used in other templates that create links such as {{tl|Related}}. Contrast with {{tl|tl}} that does the same but is a link. For example: <pre> {{mtl|Creature Cla..." |
||
| (One intermediate revision by one other user not shown) | |||
| Line 12: | Line 12: | ||
<pre> | <pre> | ||
{{mtl| | {{mtl|Creature Class}} | ||
</pre> | </pre> | ||
is converted to: | |||
{{mtl|Related}} | {{mtl|Creature Class}} | ||
and when used within another template as a parameter: | |||
<pre> | |||
{{Related|{{mtl|Creature Class}}}} | |||
</pre> | |||
will display as: | |||
{{Related|{{mtl|Creature Class}}}} | |||
[[Category:Wiki Template]] | [[Category:Wiki Template]] | ||
</noinclude> | </noinclude> | ||
Latest revision as of 02:06, 17 January 2024
Related topics: Wiki Templates, {{tl}}
Syntax
{{mtl|template name}}
Usage
Mtl stands for modified template link and is used to display a template name as a nonlink surrounded by braces, used in other templates that create links such as {{Related}}. Contrast with {{tl}} that does the same but is a link.
For example:
{{mtl|Creature Class}}
is converted to:
Template:Creature Class|{{Creature Class}}
and when used within another template as a parameter:
{{Related|{{mtl|Creature Class}}}}
will display as:
Related topics: {{Creature Class}}