Túto dokumentáciu [upraviť] [história] [obnoviť]
{{Dokumentácia}} Dokumentácia
Template:Wy/sk/Documentation subpage

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.

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


A short example of its use is:

which generates

Other longer examples:

Code Result Notes
Template:Wy/sk/tlx {{{{{2}}}}} Standard usage
Template:Wy/sk/tlx Template:Wy/sk/tls For templates that should be substituted
Template:Wy/sk/tlx Template:Wy/sk/tl2 This formats the link to show how it would look in code (i.e., monospace font)
Template:Wy/sk/tlx {{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.
Template:Wy/sk/tlx {{Wy/sk/WP}} For templates on another language project
Template:Wy/sk/tlx {{{{{2}}}}} Use the format {{Wy/sk/tl|1=templatename}} if the template contains template coding characters such as {{{{{2}}}}} or {{{{{2}}}}}


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

template name1

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


See alsoEdit

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