Difference between revisions of "Template:!!/doc"
Jump to navigation
Jump to search
m (added Usage heading) |
ELWikiBot2 (talk | contribs) m (Robot: Cosmetic changes) |
||
(One intermediate revision by one other user not shown) | |||
Line 2: | Line 2: | ||
http://en.wikipedia.org/wiki/Template:!!/doc | http://en.wikipedia.org/wiki/Template:!!/doc | ||
--> | --> | ||
− | ==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]. | ||
− | ==See also== | + | == See also == |
− | *{{tl|!}} | + | * {{tl|!}} |
<includeonly> | <includeonly> | ||
[[Category:Meta Templates|{{PAGENAME}}]] | [[Category:Meta Templates|{{PAGENAME}}]] | ||
</includeonly> | </includeonly> |
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
- {{!}}