Template:Mtl: Difference between revisions
From Drunkapedia
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> ...) |
imported>Tlosk No edit summary |
||
(One intermediate revision by the same 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 14:46, 14 April 2009
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}}