Open main menu

UESPWiki β

Template:Autolink

Due to the sensitive nature of this template or the fact that it is used on a large number of pages, it has been semi-protected to prevent site-wide damage by vandal bots.
Editors: In order to minimize the impact on our servers, please use sandboxes to make and test changes to widely used templates before deployment.
For more information, please see this article's talk page.

Summary

This template creates a link to the provided word, unless the word is already a link.

Parameters

Autolink
Parameter Scope Description
1 optional Word to link to. Empty, 'N/A', 'None', and the missing parameter will always be ignored for linking.
2 optional Label to use for link. Defaults to the first parameter if not provided.
missing optional An additional word that should not be linked.
missinglink optional Text or link to use if the first parameter is empty, 'N/A', 'None', or missing. Defaults to the first parameter if not provided.
ns_base optional Namespace to use for link. Defaults to current namespace if not provided.

Examples

{{Autolink|Bear}}<br>
{{Autolink|[[Oblivion:Bear|brown fluffball]]}}

Bear
brown fluffball