(New page: <includeonly>Template:{{{1}}}|<nowiki>{{</nowiki>{{{1}}}<nowiki>}}</nowiki></includeonly><noinclude> {{Related|Wiki Templates|{{mtl|tl}}}} == Syntax == <pre> {{mtl|template name}} </pre> ...)
 
No edit summary
 
Line 12: Line 12:


<pre>
<pre>
{{mtl|Related}}
{{mtl|Creature Class}}
</pre>
</pre>


displays as:
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 20:46, 14 April 2009

Related topics: Wiki Templates, {{tl}}

Syntax Edit

{{mtl|template name}}

Usage Edit

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}}