Template:Tl/doc: Difference between revisions
Jump to navigation
Jump to search
imported>Caesar Schinas No edit summary |
imported>Caesar Schinas |
||
Line 5: | Line 5: | ||
=== Example === | === Example === | ||
<code><nowiki>{{Tl|Infobox}}</nowiki></code> | {| | ||
|<code><nowiki>{{Tln|Infobox}}</nowiki></code> | |||
| {{Tl|Infobox}} | |||
|| Using {{Tl|Tl}} with an existing template creates a link to it. | |||
|- | |||
|<code><nowiki>{{Tl|Tl}}</nowiki></code> | |||
| {{Tl|Tl}} | |||
| Using {{Tl|Tl}} on the template with the same name just shows the name. | |||
|- | |||
|<code><nowiki>{{Tl|Nonexistanttemplate}}</nowiki></code> | |||
| {{Tl|Nonexistanttemplate}} | |||
| Using {{Tl|Tl}} with a non-existing template name creates a red link with the template preload and editintro. | |||
|} |
Revision as of 01:44, 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.
Example
{{Tln|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. |