Мазмунга өтүү

Калып:Tlc

Википедия — ачык энциклопедия

{{tlg}} (abbreviating "[t]emplate [l]ink (with) [g]eneral (options)") is a generalised version of the {{tl}} ("template link") template. It can be used to replace or implement {{tl}} and related templates such as {{tlb}}, {{tlx}}, etc.

Parameters

Калып:Big

With the exception of alttext, {{tlg}}'s named parameters are toggles that are either omitted (default) or activated (by being assigned a value such as "on", "yes", "true", "include", etc). They may be included in any order (see Examples below):

ParameterActionAs in
braceinsideInclude innermost braces as part of the template link{{tlw}}
bold
boldlink
boldname
Renders the template link/name in bold{{tlb}} {{tlx}} etc.
codeDisplay output using the (monospaced) HTML <code> formatting{{tlc}} {{tlx}} etc.
italic
italics
Display any parameters accompanying the template link/name in italic/s{{tlxi}}
nolinkDon't render the template name as a link{{tln}}
nowrapPrevent the insertion of line breaks (word wrap) in the output
substInclude a subst: prefix before the template link/name{{tls}}
|alttext=[text]Use [text] as the label for the template link{{tla}}
Калып:Big

{{tlg}} may take up to ten unnamed parameters as parameters accompanying the template link (or name); see Examples below.

Examples

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.

Калып:Aligned table

Unlimited parameters as one nowiki string

{{tlg|convert|<nowiki>14|m|ftin|abbr=out|sp=us</nowiki>}}

See also

Калып:Template-linking templates