Template:Template link with bold/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{Documentation subpage}} {{Lua|Module:Template link general}} {{tsh|tlb}} == Purpose and naming == This template, abbreviated as {{tlb}}, is used to provide a {{code|bold}} formatting to template displays 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: : {{tji|tlb|name|parameters}} {{Rarr}} {{tlb|name|parameters}} ===...") |
mNo edit summary |
||
Line 4: | Line 4: | ||
== Purpose and naming == | == Purpose and naming == | ||
This template, abbreviated as {{tlb}}, is used to provide a {{code|bold}} formatting to template displays without actually using the template itself. The code generated will be displayed inline. | This template, abbreviated as {{tl|tlb}}, is used to provide a {{code|bold}} formatting to template displays without actually using the template itself. The code generated will be displayed inline. | ||
=== Basic operation === | === Basic operation === |
Revision as of 03:19, 19 June 2023
It contains usage information, categories and other content that is not part of the original template page.
|
This template uses Lua: |
Purpose and naming
This template, abbreviated as {{tlb}}, is used to provide a bold
formatting to template displays 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:
Usage
{{Tlb
Examples
Code | Result | Comment |
---|---|---|
{{tlb}} | {{Template:Template link with bold/doc}} | Shows its own syntax. |
{{tlb |
{{name}} | |
{{tlb |
{{name|one}} | |
{{tlb |
{{name|one|two}} | |
{{tlb |
{{name|1|2|3|4|5|6|7|8|9|10}} | Ten parameters |
{{tlb |
{{name|three|four}} | Empty parameters are discared. |
{{tlb |
{{name}} | The use of equal signs is a problem, but there is a fix; see next row. |
{{tlb |
{{name|one=a|two=b}} | Use {{=}} in place of an equal sign, so that it gets rendered properly.
|
See Also
TemplateData
This template is to provide a bold formatting template displays 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 |