Difference between revisions of "Template:!"

Explain xkcd: It's 'cause you're dumb.
Jump to: navigation, search
m (Adding 'vi' interwiki link)
Line 6: Line 6:
 
for this purpose. However the "<code>|</code>" delimiter for a
 
for this purpose. However the "<code>|</code>" delimiter for a
 
Wiki table has to be escaped by a template if it's used
 
Wiki table has to be escaped by a template if it's used
within a template, see also [[WP:QIF]].
+
within a template, see also [[w:WP:QIF]].
  
 
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.
+
with the [[m:Help:Parameter_default]] mechanism within tables.</noinclude>
 
 
For obvious reasons this is a '''high risk template''',
 
and it cannot be [[WP:SUBST|substituted]].
 
 
 
{{Lts|{{PAGENAME}}}}
 
 
 
[[Category:Template templates|{{PAGENAME}}]]
 
[[Category:Wikipedia special effects templates|{{PAGENAME}}]]
 
[[vi:Tiêu bản:!]]
 
</noinclude>
 

Revision as of 04:30, 23 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.