No edit summary |
No edit summary |
||
| Line 1: | Line 1: | ||
{{Documentation}} | {{Documentation}} | ||
<includeonly><onlyinclude><span style="color:black; border: 1px solid rgb(250, 250, 250); border-radius: 5px; padding: 2px 5px; background-color:#CACACA" class="plainlinks">Template: {{{ | <includeonly><onlyinclude><span style="color:black; border: 1px solid rgb(250, 250, 250); border-radius: 5px; padding: 2px 5px; background-color:#CACACA" class="plainlinks">Template: {{{PAGENAME}}{{#ifeq:{{PAGENAME}}|Template:{{{1|}}}|{{PAGENAME}}|[{{fullurl:Template:{{{1|}}}}} {{{1|}}}]}}</span></onlyinclude></includeonly> | ||
Revision as of 11:30, 23 October 2022
Template: {TemplateTemplate is used to create links to templates.
Usage
It accepts one mandatory parameter, the name of an article in the template namespace.
Return
It returns a link to the article in a specially formatted<dev> tag. For example, {{Template|Documentation}} returns: Template: {TemplateDocumentation
If invoked from the same page it's linking to, it returns: Template: {TemplateTemplate
The documentation above was transcluded from Template:Template/Documentation. [edit]
