Difference between revisions of "Template:!!/doc"
Jump to navigation
Jump to search
m (1 revision: Full import of Wikia (that might sting a bit)) |
(Replaced documentation) |
||
Line 1: | Line 1: | ||
− | + | 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. | |
− | + | ||
− | + | == 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|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> | <includeonly>[[Category:General wiki templates|{{PAGENAME}}]]</includeonly><noinclude>[[Category:Template documentation|{{PAGENAME}}]]</noinclude> |
Revision as of 14:42, 4 August 2019
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
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 "!!
".