Template:Tl/doc: Difference between revisions
Jump to navigation
Jump to search
imported>Caesar Schinas m (→Usage) |
imported>Caesar Schinas m (→Example) |
||
Line 6: | Line 6: | ||
{| | {| | ||
|<code><nowiki>{{ | |<code><nowiki>{{Tl|Infobox}}</nowiki></code> | ||
| {{Tl|Infobox}} | | {{Tl|Infobox}} | ||
|| Using {{Tl|Tl}} with an existing template creates a link to it. | || Using {{Tl|Tl}} with an existing template creates a link to it. |
Revision as of 01:45, 9 May 2009
Usage
{{Tl}}
is used to reference templates on Talk pages etc. Use of it generates a link to the template, wrapped in matching {{ }}, thus looking like an invocation of the template. For a version without brackets, see {{Tln}}.
Example
{{Tl|Infobox}}
|
{{Infobox}} | Using {{Tl}} with an existing template creates a link to it. |
{{Tl|Tl}}
|
{{Tl}} | Using {{Tl}} on the template with the same name just shows the name. |
{{Tl|Nonexistanttemplate}}
|
{{ | }}Using {{Tl}} with a non-existing template name creates a red link with the template preload and editintro. |