Content deleted Content added
Updating the /doc since I have now made this template work like {{tlf}}. I will probably add a little more text to this documentation soon. |
Extending/finishing the documentation due to the upgrade of this template today. |
||
Line 3:
{{high-use| 30,000+ }}
This is the {{tl|tlp}} or '''template link with parameters''' template.
It can be used in documentation and talk page discussions to show how a template name would be used in code.
Here is how this template looks. Code to the left and actual rendering to the right:
Line 10 ⟶ 12:
Features of {{tlp|tlp}}:
* It shows a template name
* It shows up to eight parameters.
* It also shows empty parameters. (See examples below.)
* It prevents [[line wrap]]s in its output.
* It uses normal text style. (While for instance {{tlx|tlx}} uses <tt>teletype</tt> text style.)
This template belongs to a whole family of similar templates. See the [[#See also|see also]] section below for some of them. For instance, when writing documentation you might want to avoid a lot of unnecessary links, since it decreases readability. Then on the first occurrence of a template name use {{tl|tl}}, {{tlp|tlp}} or {{tlx|tlx}}, and then use {{tlf|tlf}}, {{tld|tld}} or {{tlc|tlc}}.
=== Examples ===
|