Template:Template link with link off
Revision as of 03:15, 19 June 2023 by Penguinplushie (talk | contribs)
This template uses Lua: |
Purpose and naming
This template, abbreviated as {{tlf}}, is used to link a template without actually using the template itself. The code generated will be displayed inline.
Basic operation
Here is how this template looks. Code is to the left; actual rendering to the right:
- {{tlf
|name |parameters}} → {{name|parameters}}
Usage
{{Tlf
Examples
Code | Result | Comment |
---|---|---|
{{tlf |
{{name}} | |
{{tlf |
{{name|one}} | |
{{tlf |
{{name|one|two}} | |
{{tlf |
{{name|1|2|3|4|5|6|7|8|9|10}} | Ten parameters |
{{tlf |
{{name|three|four}} | Empty parameters are discared. |
{{tlf |
{{name}} | The use of equal signs is a problem, but there is a fix; see next row. |
{{tlf |
{{name|one=a|two=b}} | Use {{=}} in place of an equal sign, so that it gets rendered properly.
|
See Also
- {{Template link}}
- {{Template link code}}
- {{Template link with bold}}
- {{Template link spaced}}
TemplateData
This template is used to link a template without actually using the template itself. Its primary use is in instruction and documentation.
Parameter | Description | Type | Status | |
---|---|---|---|---|
template name | 1 | positional parameter: the template name without the namespace prefix “Template:”, which is added automatically | Template | required |