Template:Tl/doc: Difference between revisions

From Tardis Wiki, the free Doctor Who reference
No edit summary
m (Robot: Cosmetic changes)
Line 2: Line 2:


If you need to indicate [[wikipedia:wikipedia:substitution|''substitution'']] of a template, use {{tl|tls}}, instead.
If you need to indicate [[wikipedia:wikipedia:substitution|''substitution'']] of a template, use {{tl|tls}}, instead.
==Example==
== Example ==
imagine the following snippet were posted to a forum thread:
imagine the following snippet were posted to a forum thread:
: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

Revision as of 23:56, 30 January 2012

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