Template:Template link/doc: Difference between revisions
Template page
More actions
Created page with ";Description :This template is a simple macro template used to display a template name as a link surrounded by braces, thus showing the template name as code rather than actually invoking it. Its primary use is documentation where it is used to refer to a template by name without invoking it. ;Example :<nowiki>{{tl|clear}}</nowiki> results in: ::{{tl|clear}}" |
mNo edit summary |
||
Line 1: | Line 1: | ||
;Description | ;Description | ||
:This template is a simple macro template used to display a template name as a link surrounded by braces, thus showing the template name as code rather than actually invoking it. Its primary use is documentation where it is used to refer to a template by name without invoking it. | :This template, abbreviated to <code><nowiki>{{tl}}</nowiki></code>, is a simple macro template used to display a template name as a link surrounded by braces, thus showing the template name as code rather than actually invoking it. Its primary use is documentation where it is used to refer to a template by name without invoking it. | ||
;Example | ;Example | ||
:<nowiki>{{tl|clear}}</nowiki> results in: | :<code><nowiki>{{tl|clear}}</nowiki></code> results in: | ||
::{{tl|clear}} | ::{{tl|clear}} |
Latest revision as of 14:26, 15 November 2023
- Description
- This template, abbreviated to
{{tl}}
, is a simple macro template used to display a template name as a link surrounded by braces, thus showing the template name as code rather than actually invoking it. Its primary use is documentation where it is used to refer to a template by name without invoking it.
- Example
{{tl|clear}}
results in:- {{clear}}