Template:Tlc/doc

This is the template.

This page is also the documentation for tld and tlf that work almost exactly the same.

When showing a template name with brackets in documentation you have to escape the brackets in some way so it doesn't become a call to the template. Instead of using  tags you can write it simpler and shorter by using these templates.

Here is how these templates look. Code to the left and actual rendering to the right:



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

Features of, and :
 * They show a template name and up to eight parameters.
 * They also show empty parameters. (See examples below.)
 * They prevent line wraps in their output.

Examples
Wikitables make the  tags transparent, that's why the " " is missing in these examples.

Shows up to eight parameters. The rest are dropped. Also shows empty parameters. Even shows empty parameters that come in the end.

Equal signs is a problem, but there is a fix. Use numbered parameters to fix it. Remember to start from 2, since the "name" is number 1.

If you have equal signs in your template parameters then it probably is simpler and clearer to code it using  tags etc. Here are the codes to emulate,  and  respectively. Code to the left and actual rendering to the right:




 * =  