Wikipedia дан
Jump to navigation Jump to search
[edit] Documentation

{{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[булагын оңдоо]


With the exception of Калып:Mono, {{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):

Parameter Action As in
braceinside Include innermost braces as part of the template link {{tlw}}
Renders the template link/name in bold {{tlb}} {{tlx}} etc.
code Display output using the (monospaced) HTML <code> formatting {{tlc}} {{tlx}} etc.
Display any parameters accompanying the template link/name in italic/s {{tlxi}}
nolink Don't render the template name as a link {{tln}}
nowrap Prevent the insertion of line breaks (word wrap) in the output
subst Include a subst: prefix before the template link/name {{tls}}
|alttext=[text] Use [text] as the label for the template link {{tla}}

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

Examples[булагын оңдоо]

Калып:Aligned table

Unlimited parameters as one nowiki string


See also[булагын оңдоо]

Калып:Template-linking templates