Template:Tlc/doc

The tlc (template link code) template is a simple macro template used to display a template name surrounded by braces within , thus showing the template name as code rather than actually invoking it. Its primary use is in instruction and documentation where it is used to refer to a template by name without invoking it.

Usage
A simple example of its use is:
 * (Actually used here for its purpose)

Which will render as:

The template allows ten additional parameters to show the parameters of the template displayed in question "". Any additional parameters are replaced by an ellipsis.

When a template name with braces is to be shown in documentation, the braces have to be escaped in some way so it doesn't become an actual call to the template. Instead of using  tags you can write it more simply and concisely by using the templates.

These templates work similarly to and, but don't make the template name into a link. When writing documentation you might want to avoid a lot of unnecessary links, since they can decrease readability. So on the first occurrence of a template name use or, and then use  or  thereafter.