No edit summary |
m (Arcology Expert Program moved page Template/Documentation to Template:Template/Documentation without leaving a redirect) |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 3: | Line 3: | ||
It accepts one {{Parameter|mandatory}}, the name of an article in the template namespace. | It accepts one {{Parameter|mandatory}}, the name of an article in the template namespace. | ||
==Return== | ==Return== | ||
It returns a link to the article in a specially formatted {{Code|<nowiki><dev></nowiki>}} tag. | 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}}}} | ||
{{Code|<nowiki>{{Template|Documentation}}</nowiki>}} returns: {{Return|{{Template|Documentation}}}} | |||
If invoked from the same page it's linking to, it returns: {{Return|{{Template|Template}}}} | |||
Latest 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