Template:Tl/doc: Difference between revisions
Jump to navigation
Jump to search
(Imported template from my private wiki) |
mNo edit summary |
||
| Line 6: | Line 6: | ||
! style="width: 50%;" | Output | ! style="width: 50%;" | Output | ||
|- | |- | ||
| <code><nowiki>{{tl| | | <code><nowiki>{{tl|Doc}}</nowiki></code> | ||
| {{tl|Image}} | | {{tl|Image}} | ||
|} | |} | ||
Revision as of 14:29, 28 October 2026
The tl (short for template) template is used to link to templates without transcluding them, avoiding the need to type the name twice (e.g. [[Template:Infobox|Infobox]]). Simply include the template's name as {{tl|TemplateName}}.
Example
| Input | Output |
|---|---|
{{tl|Doc}}
|
Image |