Template:Tl/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
m (Robot: Cosmetic changes)
m (Protected "Template:Tl/doc": Robot: Protecting all pages from category templates (‎[edit=sysop] (indefinite) ‎[move=sysop] (indefinite)))
 
(One intermediate revision by the same user not shown)
Line 6: Line 6:
:Our infoboxes have far too many fields. -- User:Example
:Our infoboxes have far too many fields. -- User:Example
::Perhaps, but I think {{tl|infobox CD}} could be improved by adding a field for the long-form ISBN number. -- User:Sample
::Perhaps, but I think {{tl|infobox CD}} could be improved by adding a field for the long-form ISBN number. -- User:Sample
<noinclude>[[category:template documentation|{{PAGENAME}}]]</noinclude>

Latest revision as of 02:17, 13 May 2013

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