Difference between revisions of "Template:!"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
(<noinclude>Category:Helper templates</noinclude>)
Line 10: Line 10:
 
Note that there's no such problem with "<code>!</code>" (exclamation mark), it
 
Note that there's no such problem with "<code>!</code>" (exclamation mark), it
 
only affects "<code>|</code>" (vertical bar) in conjunction
 
only affects "<code>|</code>" (vertical bar) in conjunction
with the [[m:Help:Parameter_default]] mechanism within tables.</noinclude>
+
with the [[m:Help:Parameter_default]] mechanism within tables.
 +
[[Category:Helper templates]]</noinclude>

Revision as of 15:55, 29 April 2006

|


This is an auxiliary template allowing to encode "|" within template parameters. It is unnecessary to get a "|" in these cases, better use "&#124;" for this purpose. However the "|" 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 "!" (exclamation mark), it only affects "|" (vertical bar) in conjunction with the m:Help:Parameter_default mechanism within tables.