Izteiksmes kļūda: Negaidīts < operators.

Veidne:Tsh

This template, often abbreviated as {{tlg}}, is used to provide stylized links to templates without expanding the template itself.

With the exception of alttext, the named parameters are toggles that are either omitted (default in most cases) or activated (by being assigned a value such as "on", "yes", "true", "include", etc.). They may be included in any order (see Examples below). Certain templates have the parameter "on" by default; see the main table for all alternate options.

Parameter Action Default active
brace Include braces as part of the template link {{tlw}}/{{tn}}
braceinside Include innermost braces as part of the template link
bold Renders the template link/name in bold {{tlb}}, {{tlxb}}
code Display output using HTML <code>...</code> tags (monospaced font) {{tlc}}, {{Template link general}}, etc.
italic Display any parameters accompanying the template link/name in italics {{tlxi}}
kbd Display output using HTML <kbd>...</kbd> tags (monospaced font)
nolink Don't render the template name as a link {{tlf}}, Veidne:T, Veidne:T
nowrap Prevent the insertion of line breaks (word wrap) in the output
nowrapname Prevent word wrapping in the output of template name/link (parameters will wrap if needed)
plaincode Uses <code style="border:none; background:transparent;">...</code> {{tltss}}
subst Include a subst: prefix before the template link/name {{tls}}, {{tlxs}}, etc
|alttext=[text] Use [text] as the label for the template link {{tla}}

Unnamed (Positional)

labot šo sadaļu

This template takes up to ten unnamed parameters as parameters accompanying the template link (or name); see Examples below.

Note
On the source sister projects, en.wikipedia and Meta, X0, X1, X2, …, X9 are sandbox templates for experimentation on involved templates that need be in template space. An auto-cleansing software facility exists that might be used to duplicate the facility on other Sister projects.
Code Output Remarks
{{tlg|Termometro}} Veidne:Tlg Termometro template does not exist. Be aware with linking to non-existing templates, although desired.
{{tlg|ok}} Veidne:Tlg ok template does exist
{{tlg|convert|<nowiki>14|m|ftin|abbr=out|sp=us</nowiki>}} Veidne:Tlg Unlimited parameters as one <nowiki>...</nowiki> string
{{tlg|Abc}} Veidne:Tlg
{{tlg|abC}} Veidne:Tlg template names are case-sensitive
{{tlg|abc}} Veidne:Tlg first letter is case-insensitive though
{{tlg|abc|{{spaces}}{{{1}}}{{spaces}}}} Veidne:Tlg Using {{spaces}} before and after {{{1}}} parameter.
{{tlg|x0}} Veidne:Tlg
{{tlg|x0|code=on}} Veidne:Tlg <code> style
{{tlg|x0|plaincode=on}} Veidne:Tlg plaincode style
{{tlg|x0|kbd=on}} Veidne:Tlg <kbd> style
{{tlg|x0|bold=on}} Veidne:Tlg bold link/name
{{tlg|x1|one|italic=on}} Veidne:Tlg parameter/s in italics
{{tlg|x0|nolink=on}} Veidne:Tlg
{{tlg|x0|subst=on}} Veidne:Tlg
{{tlg|x0|brace=on}} Veidne:Tlg all braces in link
{{tlg|x0|braceinside=on}} Veidne:Tlg inside braces in link
{{tlg|x0|alttext=x0 link}} Veidne:Tlg
{{tlg|x0|bold=on|code=on|brace=on}} Veidne:Tlg No reason you can't combine multiple parameter settings
{{tlg|x1|one}} Veidne:Tlg
{{tlg|x2|one|two}} Veidne:Tlg
{{tlg|x2|bold=on|code=on|one|two}} Veidne:Tlg Can combine named and anonymous parameters …
{{tlg|x2|one|two|bold=on|code=on}} Veidne:Tlg … in any order …
{{tlg|x2|one|code=on|two|bold=on|three}} Veidne:Tlg … even intermixed …
{{tlg|x2|one|code=on|two|bold=on|three|italic=on}} Veidne:Tlg … with many different configurations.
{{tlg|x3|1|2|3|4|5|6|7|8|9|...}} Veidne:Tlg
{{tlg|x4|1|2|3|4|5|6|7|8|9|10|11}} Veidne:Tlg up to 10 parameters, then …
{{tlg|x5|1|2|3|4|5|6|7|8|9|10&#124;11}} Veidne:Tlg
&#124; for more
{{tlg}} tlg with no arguments, the current page name is substituted
{{tlg|x1|x=u}} Veidne:Tlg = won't work
{{tlg|x1|x&#61;u}} Veidne:Tlg
&#61; is okay
{{tlg|x1|x{{=}}u}} Veidne:Tlg
{{=}} is okay (see template equal sign)
{{tlg|x1|x<nowiki>=</nowiki>u}} Veidne:Tlg
sticky nowiki is okay
{{tlg|x2||two||}} Veidne:Tlg empty parameters work too, even at the end
{{tlg|x2|3=two|2=one}} Veidne:Tlg
right to left okay
Wrapping of long names (default)
Code Output
{{tlg|long template name that would wrap to new line|this is a long value for the 1st parameter that would wrap}} Veidne:Tlg
Wrapping of long names (nowrap=on)
Code Output
{{tlg|nowrap=on|long template name that would wrap to new line|long value for the 1st parameter that would wrap}} Veidne:Tlg
Wrapping of long names (nowrapname=on)
Code Output
{{tlg|nowrapname=on|long template name that would wrap to new line|long value for the 1st parameter that would wrap}} Veidne:Tlg

Veidne:Template-linking templates