Template:!!/doc: Difference between revisions
(Created page with '{{documentation subpage}} <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> This is an auxiliary template that allows one to encode "<code>||</code>" (two p…') |
(fix link) |
||
Line 2: | Line 2: | ||
<!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | <!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --> | ||
This is an auxiliary [[Help:Template|template]] that allows one to encode "<code>||</code>" (two pipes or | This is an auxiliary [[Help:Template|template]] that allows one to encode "<code>||</code>" (two pipes or {{wpd|vertical bar|vertical bars}}) within template parameters. If it is '''unnecessary''' to get a "<code>||</code>", it is better to use "<code>&#124;&#124;</code>". However the "<code>||</code>" delimiter for a [[Help:How to use tables|Wiki table]] has to be escaped by a template if it is used within a template. | ||
==Notes== | ==Notes== |
Latest revision as of 01:18, 22 April 2010
![]() |
This is a documentation subpage for Template:!! (see that page for the template itself). It contains usage information, categories and other content that is not part of the original template page. |
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 "||
". However the "||
" delimiter for a Wiki table has to be escaped by a template if it is used within a template.
Notes[edit source]
There is no such problem with "!!
" (exclamation marks). This problem only affects "||
" (vertical bars) in conjunction with the mw:Help:Parameter default mechanism within tables.
This template cannot be substituted.