Template:Tl: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
m (Changed protection level for "Template:Tl": simple inline templates that work as advertised really don't need further editing. not really possible to improve this one. ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
No edit summary
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<includeonly><nowiki>{{</nowiki>[[template:{{{1}}}|{{{1}}}]]<nowiki>}}</nowiki></includeonly><noinclude>[[Category:Templates]]{{lock}}{{documentation}}</noinclude>
<includeonly><nowiki>{{</nowiki>[[Template:{{{1}}}|{{{1}}}]]<nowiki>}}</nowiki></includeonly><noinclude>[[Category:Template demonstration templates]]{{lock}}{{documentation}}</noinclude>

Latest revision as of 05:19, 12 May 2012

LockedTab.png
Instructions for {{Tl}}
{{tl}} is the sister template to {{tls}}. It allows you to easily refer to a template inline. The long way round is to type
{{[[:template:template name|]]}}
This is far easier. Just type
{{tl|template name}}
and you're done. This is template is especially useful on talk pages or in the forum where you're discussing how best to edit a template.

If you need to indicate substitution of a template, use {{tls}}, instead.

Example

imagine the following snippet were posted to a forum thread:

Our infoboxes have far too many fields. -- User:Example
Perhaps, but I think {{infobox CD}} could be improved by adding a field for the long-form ISBN number. -- User:Sample