Template:Template link general/doc

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 and related templates such as tlb, tlx, etc.

Parameters
With the exception of alttext, '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): {| class="wikitable" ! Parameter || Action || As in | braceinside || Include innermost braces as part of the template link                            || tlw | bold boldlink boldname || Renders the template link/name in bold                  || tlb tlx etc. | code        || Display output using the (monospaced) HTML  for more}} |                                            |                               | with no arguments, the current page name is substituted |                                 |                    | = won't work |                             |                    | is okay |                |                    | is okay |    |       | sticky nowiki is okay |    |                     | empty parameters work too, even at the end |              |              | two clobbers 2=one | |  | right to left okay }}
 * Named
 * Unlimited parameters as one nowiki string