Difference between revisions of "Template:!!/doc"

From ELWiki
Jump to navigation Jump to search
(created page)
 
m (added Usage heading)
Line 2: Line 2:
 
http://en.wikipedia.org/wiki/Template:!!/doc
 
http://en.wikipedia.org/wiki/Template:!!/doc
 
-->
 
-->
 +
==Usage==
 
This is an auxiliary template that allows one to encode "<code>||</code>" (two pipes or vertical bars) within template parameters.  If it is '''unnecessary''' to get a "<code>||</code>", it is better to use "<code>&amp;#124;&amp;#124;</code>".  However the "<code>||</code>" delimiter for a [http://en.wikipedia.org/wiki/Wikipedia:How_to_use_tables Wiki table] '''has to be''' escaped by a template if it is used within a template.
 
This is an auxiliary template that allows one to encode "<code>||</code>" (two pipes or vertical bars) within template parameters.  If it is '''unnecessary''' to get a "<code>||</code>", it is better to use "<code>&amp;#124;&amp;#124;</code>".  However the "<code>||</code>" delimiter for a [http://en.wikipedia.org/wiki/Wikipedia:How_to_use_tables Wiki table] '''has to be''' escaped by a template if it is used within a template.
  

Revision as of 21:53, 17 September 2010

Usage

This is an auxiliary template that allows one to encode "||" (two pipes or vertical bars) within template parameters. If it is unnecessary to get a "||", it is better to use "&#124;&#124;". However the "||" delimiter for a Wiki table has to be escaped by a template if it is used within a template.

Notes

There is no such problem with "!!" (exclamation marks). This problem only affects "||" (vertical bars) in conjunction with the Parameter default mechanism within tables.

This template cannot be substituted.

See also

  • {{!}}