Module:Sandbox/Naypta/Autolink/doc: Difference between revisions
imported>Naypta m Naypta moved page Module:Autolink/doc to Module:Sandbox/Naypta/Autolink/doc: Moving into sandbox |
(No difference)
|
Latest revision as of 11:15, 23 June 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 edit source
{{#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.