Template:Format linkr/doc

Usage
This template does exactly what format link does, and takes all the same arguments.

This template is intended to lower editor workload when copying links from the URL bar and is not suitable for replacing format link, because of the changes it makes to format link's output that could create ambiguity if automatically replaced.

This template replaces any underscores with spaces and decodes any URL parts in format link's output. Some examples of why this may be useful—

format linkr





 * As shown in these examples, format linkr also creates a way to use curly braces in links, which requires multiple templates with format link:

nud
nud (no URL decode) can be added to disable URL decoding but still get underscores replaced.

Note that you can achieve this through the HTML5 entity  just as well: