Difference between revisions of "Module:Sandbox/Naypta/Autolink/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Naypta
m (Naypta moved page Module:Autolink/doc to Module:Sandbox/Naypta/Autolink/doc: Moving into sandbox)
m (2 revisions imported)
 
(No difference)

Latest revision as of 10:31, 27 September 2020

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.