Difference between revisions of "Template:!"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
m (Protected Template:!: pretty sure we want this to be protected... ([edit=sysop] (indefinite) [move=sysop] (indefinite)))
(needed for complex templates)
Line 1: Line 1:
|<noinclude>[[Category:Workaround templates|{{PAGENAME}}]]</noinclude>
This is an auxiliary template allowing to encode "<code>|</code>"
within template parameters. It is '''unnecessary''' to get a
"<code>|</code>" in these cases, better use "<code>&amp;#124;</code>"
for this purpose. However the "<code>|</code>" delimiter for a
Wiki table has to be escaped by a template if it's used
within a template, see also [[w:WP:QIF]].
Note that there's no such problem with "<code>!</code>" (exclamation mark), it
only affects "<code>|</code>" (vertical bar) in conjunction
with the [[m:Help:Parameter default]] mechanism within tables.
[[Category:Workaround templates]]

Revision as of 14:11, 2 August 2012