Template:Tlx/doc

Where parameters might contain one or more equals-signs ("="), replace each equals-sign with : For more than ten parameters, possibly also containing equals-signs, use:
 * Basic use

Purpose and naming
Mnemonically, "[t]emplate [l]ink e[x]panded" (after , "[t]emplate [l]ink").

This template allows an example of calling a template, accompanied by one or more parameters, to be displayed without also causing the template to be called.

Up to ten of the template's parameters (numbered or nowiki-keywords) may be displayed as placeholders, while more than over 10 parameters can be displayed using a coded vertical-bar (as in " &amp;#124; ..."). A keyword parameter can be used with equals code &amp;#61; or = or in nowiki-text: "size=10" or all parameters as a string in "" tags; see Examples at bottom. For more details, see |this talk page.
 * Exceptions: If the intended template lists numerous parameters, then perhaps this template should really not be used, and just hardcode the usage with, for example: . If a vertical display, with parameters on their own lines, is desired, this can also be laid out manually in this manner, or more rapidly done with .

Parameters

 * If given no additional parameters except   it presents the same as the similar Tl macro template -- a blue link nested in curly-braces-- the same as a user would apply the template without parameters, but with a noticeably clearer font and spacing on most modern browsers.
 * display compared to : (Tl: Tl versus Tlx: )
 * Comparatively, will not take or display additional parameters, and for minor technical reasons, may be preferred for mere listing and referencing in long pages involving a lot of template expansions.
 * has a named parameter subst. Setting this parameter to any non-blank value will place the string " " before the template name, linked to Help:Substitution. This is useful to indicate when a template should be substituted. For example will display . This is similar to the action of the  template:  will display.
 * Additionally, Tlx will take a named parameter SISTER to link interwiki to other sister projects such as one of these examples: M: (Meta), Q: (WikiQuote), S: (WikiSource), etc. allowing documentation or discourse about a template across interwiki boundaries.
 * Tlx will also take a named parameter LANG to link to other language Wikipedias, such as one of these examples: de: (German), sv: (Swedish), etc. allowing documentation or discourse about a template across language boundaries.

Documentation
is a generalization of x, x, etc., with arguably better-readable output. This depends on the browser, but too-narrow uses of "{", "|", "}" in conjunction with links can be hard to read when not monospaced (and hard to click on; for uses like, see , which makes the click target bigger).

Usage


Up to 10 placeholders for parameters of the specified template