Difference between revisions of "Template:!!/doc"
Jump to navigation
Jump to search
m (1 revision: Full import of Wikia (that might sting a bit)) |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | + | ==Description== | |
− | + | This is a [[Help:Templates|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 [[Help:Tables|table]] has to be escaped by a {{tlx|!!}} template if it is used within a template. | |
− | ; | ||
− | |||
− | |||
− | |||
− | <includeonly>[[Category:General wiki templates | + | ==Notes== |
+ | There is usually no such problem with "<code>!!</code>" (exclamation marks). This problem only affects "<code>||</code>" (vertical bars) in conjunction with the [https://meta.wikimedia.org/wiki/Help:Parameter_default Parameter default] mechanism within tables. However, in table rows starting with "<code>!</code>" there can be problems with "<code>!!</code>" being interpreted as a cell separator. Try replacing it with "<code>&#33;&#33;</code>". | ||
+ | |||
+ | <includeonly>[[Category:General wiki templates]]</includeonly> | ||
+ | <noinclude>[[Category:Template documentation]]</noinclude> |
Latest revision as of 03:59, 15 January 2021
Description[edit]
This is a 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 table has to be escaped by a {{!!}}
template if it is used within a template.
Notes[edit]
There is usually no such problem with "!!
" (exclamation marks). This problem only affects "||
" (vertical bars) in conjunction with the Parameter default mechanism within tables. However, in table rows starting with "!
" there can be problems with "!!
" being interpreted as a cell separator. Try replacing it with "!!
".