Template:Tl/doc: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Caesar Schinas
imported>Caesar Schinas
m (→‎Usage: Tln)
Line 1: Line 1:
=== Usage ===
=== Usage ===


<code><nowiki>{{Tl}}</nowiki></code> is used to reference templates on Talk pages etc. Use of it generates a link to the template, wrapped in matching <nowiki>{{ }}</nowiki>, thus looking like an invocation of the template.
<code><nowiki>{{Tl}}</nowiki></code> is used to reference templates on Talk pages etc. Use of it generates a link to the template, wrapped in matching <nowiki>{{ }}</nowiki>, thus looking like an invocation of the template. For a version without brackets, see {{Tln|Tln}}.


=== Example ===
=== Example ===

Revision as of 02: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. For a version without brackets, see Tln.

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}} {{Nonexistanttemplate}} Using {{Tl}} with a non-existing template name creates a red link with the template preload and editintro.