Template:Tl

From Citizendium
Revision as of 19:47, 31 January 2007 by imported>Jeff Cook (cut and paste from Wikipedia. : ))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

{{[[Template:{{{1}}}|{{{1}}}]]}} {{tl}} is used to reference templates on Talk pages etc. Use of it generates a link to the template, wrapped in {{ }} tags and thus looking like an invocation of the template. For a version without brackets, see {{tln}}. For a version which uses code tags, see {{tlc}}.

Usage

The template takes two parameters : {{tl}}.

  1. required — The name of the template to be linked to.
  2. optional — Any parameters which should be shown in the example call to the template. Separate multiple parameters with {{!}} rather than |.

Examples

Code Result Explanation
{{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}} {{Nonexistanttemplate}} Using {{tl}} with a non-existing template name creates a red link with the template preload and editintro.
{{tl|template|param1{{!}}param2{{!}}param3}} {{template}} The second parameter takes list of parameters to be shown in the example template call, separated either by {{!}} or by |.