Module:Sandbox/Naypta/Autolink/doc
Jump to navigation
Jump to search
| icon | This is a documentation subpage for Module:Sandbox/Naypta/Autolink. It may contain usage information, categories and other content that is not part of the original module page. |
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.