Difference between revisions of "Template:!!/doc"
Jump to navigation
Jump to search
m (cleanup) |
ELWikiBot2 (talk | contribs) m (Robot: Cosmetic changes) |
||
Line 3: | Line 3: | ||
--> | --> | ||
== Usage == | == Usage == | ||
− | This is an auxiliary template that allows one to encode "<code>||</code>" (two pipes or vertical bars) within template parameters. | + | 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>&#124;&#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. |
== Notes == | == Notes == | ||
− | There is no such problem with "<code>!!</code>" (exclamation marks). | + | There is no such problem with "<code>!!</code>" (exclamation marks). This problem only affects "<code>||</code>" (vertical bars) in conjunction with the [http://meta.wikimedia.org/wiki/Help:Parameter_default Parameter default] mechanism within tables. |
This template cannot be [http://en.wikipedia.org/wiki/Wikipedia:Template_substitution substituted]. | This template cannot be [http://en.wikipedia.org/wiki/Wikipedia:Template_substitution substituted]. |
Latest revision as of 06:57, 11 December 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 "||
". 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
- {{!}}