Template:Tl/doc: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>Caesar Schinas
m (→‎Usage: Tln)
imported>Caesar Schinas
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. For a version without brackets, see {{Tln|Tln}}.
<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 {{Tl|Tln}}.


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

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

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