Module:Uri/doc

From RationalWiki
Jump to navigation Jump to search

This is the documentation page for Module:Uri

Written for RationalWiki template uses.

Usage[edit]

{{#invoke:uri|wiki|some text part of a link}}

This works like using magic words for URL data, except it automatically applies {{#urlencode:...|WIKI}} to text without a #, or to any text before #, while applying {{#anchorencode:...}} to any text after the first #. Suitable for templates that turn some text into a link made to some other wiki.