Difference between revisions of "Template:Format linkr/sandbox"

From blackwiki
Jump to navigation Jump to search
test>Nardog
m (7 revisions imported)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
<includeonly>{{{{{|safesubst:}}}#if:{{{nud|}}}
 
<includeonly>{{{{{|safesubst:}}}#if:{{{nud|}}}
|{{{{{|safesubst:}}}replace|{{ #invoke:hatnote|formatLink }}|_| }}
+
|{{{{{|safesubst:}}}replace|{{ #invoke:hatnote/sandbox|formatLink }}|_| }}
|{{{{{|safesubst:}}}replace|{{ {{{|safesubst:}}}#invoke:urldecode|urlDecode|{{ {{{|safesubst:}}}#invoke:hatnote|formatLink }} }}|_| }}
+
|{{{{{|safesubst:}}}replace|{{ {{{|safesubst:}}}#invoke:urldecode|urlDecode|{{ {{{|safesubst:}}}#invoke:hatnote/sandbox|formatLink }} }}|_| }}
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
 
{{documentation}}
 
{{documentation}}
 
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
 
<!-- Categories go on the /doc subpage, and interwikis go on Wikidata. -->
 
</noinclude>
 
</noinclude>

Latest revision as of 14:58, 9 September 2020

Template documentation[view] [edit] [history] [purge]

Usage

This template does exactly what {{format link}} does, and takes all the same arguments. The only difference is it replaces underscores with spaces. It also decodes URL parts.

{{format link}}

{{format linkr}}

|nud=

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