This is a documentation subpage for . It contains usage information, categories and other content that is not part of the original template page. |
This is the {{tlc}}
template.
This page also provides the full documentation for the templates {{tld}}
, which work almost exactly identically. The only difference between {{tlc}}
and {{tld}}
is that {{tld}}
does not support |allowlinebreak=yes
.
Purpose and naming
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 <nowiki></nowiki>
tags you can write it more simply and concisely by using the {{tlc}}
, {{tld}}
templates.
These templates work similarly to {{tl}}
and {{tlx}}
, 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 {{tl}}
or {{tlx}}
, and then use {{tlc}}
or {{tld}}
thereafter.
Template | Mnemonic | Format differentiation | |||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{tlc}}
|
Template link code | Uses the <code>...</code> tags meant for showing programming code. Essentially the non-linking equivalent of {{tlx}} .
| |||||||||||||||||||||||||||||||||||||||||||||||
{{tld}}
|
Template link dialup-host
Basic operationHere is how these templates look. Code is to the left; actual rendering to the right:
DocumentationFunctional details
Usage
ExamplesNote: Wikitables make the
An alternative to using constructs such as
you can use
Both render as
If a vertical display with parameters on their own lines is desired, this can also be laid out manually in this manner, or more rapidly done with Here are the codes to emulate
|