.

Template:Cl/doc

Wikicars, a place to share your automotive knowledge
Jump to: navigation, search

Template:Template doc page viewed directly

Template:Tl is used to display a category name as a link to the category. It is a companion to {{tl{{#if:||{{{2}}}}}{{#if:||{{{3}}}}}{{#if:||{{{4}}}}}{{#if:||etc.}}}}, which serves the same purpose for templates.

Example

{{ cl | Internal link templates{{#ifeq:|-| |  | {{{4}}}|{{#ifeq:|-| | {{{3}}}}}}} }} {{#ifeq:|-|{{{s}}}|gives}} {{#ifeq:|-|Cat:Internal link templates|{{#ifeq:|-|Cat:Internal link templates|Cat:Internal link templates}}}}

See also