No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
==Return== | ==Return== | ||
It returns a link to the article in a specially formatted {{Code|<nowiki><dev></nowiki>}} tag. For example, {{Code|<nowiki>{{Template|Documentation}}</nowiki>}} returns: {{Return|{{Template|Documentation}}}} | It returns a link to the article in a specially formatted {{Code|<nowiki><dev></nowiki>}} tag. For example, {{Code|<nowiki>{{Template|Documentation}}</nowiki>}} returns: {{Return|{{Template|Documentation}}}} | ||
If invoked from the same page it's linking to, it returns: {{Return|{{Template|Template}}}} | |||
Revision as of 12:20, 23 October 2022
Template:Template 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:DocumentationIf invoked from the same page it's linking to, it returns:
Template:Template