Template documentation (for the above template, sometimes hidden or invisible) [view] [edit] [history] [refresh]

Used to include a pipe character as part of a template argument. Before this was added as a magic word, many wikis implemented this by creating Template:! with | as the content.

This is an auxiliary template allowing to encode "|" within template parameters. It is unnecessary to get a "|" in these cases, better use "|" for this purpose. However the "|" delimiter for a Wiki table has to be escaped by a template if it's used within a template.

Note that there's no such problem with "!" (exclamation mark), it only affects "|" (vertical bar) in conjunction with the m:Help:Parameter_default mechanism within tables.
The above text is transcluded from Template:!/doc; you can change it or view its history. (How does this work?)
If you're done making changes, please refresh the text. (Why?)
You can experiment in this template's sandbox (create | mirror ) and testcases (create) pages.
Please add categories and interwikis to Template:!/doc. (View all subpages of this page.)
Community content is available under CC-BY-SA unless otherwise noted.