Difference between revisions of "Template:!"

From LGPedia
Jump to: navigation, search
m (Protected "Template:!": system template [edit=sysop:move=sysop])
m (Changed protection level for "Template:!" [edit=autoconfirmed:move=autoconfirmed])
 
(2 intermediate revisions by 2 users not shown)
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 is used
 
Wiki table has to be escaped by a template if it is used
in a [[parser function]].
+
in a {{wikipedia|Help:Parser_function|parser function}}.
  
 
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) within tables.
 
only affects "<code>|</code>" (vertical bar) within tables.
  
For obvious reasons this is a '''high risk template'''.</noinclude>
+
For obvious reasons this is a '''high risk template'''.
 +
[[Category:Templates]]</noinclude>

Latest revision as of 22:49, 20 June 2008

|


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 is used in a parser function.

Note that there's no such problem with "!" (exclamation mark), it only affects "|" (vertical bar) within tables.

For obvious reasons this is a high risk template.