Module:Sandbox/Naypta/Autolink/doc

From blackwiki
Jump to navigation Jump to search

This is the documentation page for Module:Sandbox/Naypta/Autolink

This module automatically generates either an external link or an internal link, dependent on whether it is given a link with a protocol or not.

Understand that using this module will mean that links to things like the redirects in Category:Redirects from domain names will result in external links being generated. This may not always be the desired result, so it should only be used where a wikilink that looks like a URL is implausible for the value the module is passed.

Usage

{{#invoke:Sandbox/Naypta/Autolink|link|your link goes here|link title}}

link title is an optional parameter, which if used will be set as the piped link for internal links like this, or the link title for external links like this.