The editors' meeting has been canceled for technical reasons.
Template:Template link
Jump to navigation
Jump to search
{{[[Template:{{{1}}}|{{{1}}}]]}}
This template uses Module:Array, this script is written in Lua.
For more details, please refer to Wikipedia:Lua and Extension:Scribunto.
This template can be used to create a link (Template Link) with curly braces pointing to the corresponding template, allowing users to copy or view related template documentation.
This template also has aliases: {{T}}, {{Template}}, {{Template link}}.
Usage
{{tl|template name}}
or {{tl|template name|parameter}}
.
Examples
Target template without parameters
- Code:
{{tl|hide}}
- Result: {{hide}}
Target template with only 1 parameter
- Code:
{{tl|hide|title}}
- Result: {{hide|title}}
Target template with multiple parameters or named parameters
- Code:
{{tl|hide|title=title|content=text}}
- Result: {{hide|title=title|content=text}}
Notes
- This template can only link to content within the Template: namespace. Therefore, the links generated using this template will automatically prepend the
Template:
prefix.
See Also
- {{Para}}
- {{Param}}
- {{TemplateCode}}
[ View | Edit | History | Purge ]The above documentation is transcluded from Template:Template link/doc.