Template:Wy/sk/Tl

{{[[Template:{{{1}}}|{{{1}}}]]}}

Túto dokumentáciu [upraviť] [história] [obnoviť]
{{Dokumentácia}} Dokumentácia

Template:Wy/sk/redirect-distinguishTemplate:Wy/sk/Template shortcut Template:Wy/sk/ The template link template is a simple macro template used to display a template name as a link surrounded by braces, thus showing the template name as code rather than actually invoking it. Its primary use is in instruction and documentation where it is used to refer to a template by name without invoking it.

Note that this template may be used under the name "tee-el" (tl) as well as "tee-one" (t1)— both function the same way and produce the same results. This is not true for all such visually confusing templates containing a possible 1/l mix-up: and are not interchangeable.

{{Wy/sk/Tla}} works exactly like {{Wy/sk/tl}} with the addition of optionally displaying alternative label text (link label). {{tlg}} can include the use of parameters in the template (as {{Wy/sk/{1}}}).

Examples edit

A short example of its use is:

{{Wy/sk/tl|Wy/sk/Example}}
which generates
{{Example}}

Other longer examples:

Code Result Notes
{{Wy/sk/tl|Wy/sk/Void}} {{Wy/sk/Void}} Standard usage
{{tls|Wy/sk/Example}} Template:Wy/sk/tls For templates that should be substituted
{{tl2|Wy/sk/X1}} Template:Wy/sk/tl2 This formats the link to show how it would look in code (i.e., monospace font)
{{tl2|sisterTemplate:Wy/sk/=M:|3x}} {{Wy/sk/[[{{Wy/sk/{LANG|}}}M:Template:Wy/sk/ns:Template:3x|3x]]}} Same as above, for templates on another Wikimedia project (in this example, Meta, using m:). See Interwiki codes.
{{tl2|sisterTemplate:Wy/sk/=wikibooks|langTemplate:Wy/sk/=de:|WP}} {{Wy/sk/WP}} For templates on another language project
{{wy/sk/tl|1==)}} {{=)}} Use the format {{Wy/sk/tl|1=templatename}} if the template contains template coding characters such as {{=)}} or {{!}}

TemplateData edit

Template:Wy/sk/TemplateData header

This template displays a template name as a link surrounded by braces, thus showing how the template name would be used in code. Its primary use is in instruction and documentation.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
template name1

positional parameter: the template name without the namespace prefix “Template:”, which is added automatically

Linerequired

See also edit

Template:Wy/sk/Template-linking templates

Template:Wy/sk/Sandbox other


Text, ktorý bol nad touto čiarou bola dokumentácia pre šablónu Wy/sk/Tl