Template:Xpd/url

From Meta, a Wikimedia project coordination wiki
Jump to navigation Jump to search

%7B%7B%7B1%7D%7D%7D

Template documentation

This is an auxiliary template of the expansion demo templates.

It has as parameter {{{1}}} a piece of wikitext, and produces a piece of URL code for preloading the input window of Special:ExpandTemplates.

The core is {{urlencode:{{{1}}}}}. Newlines and various special codes such as *', ":", and "#" are treated separately.

It is called by Template:Xpd/w.