Template:!!/doc: Difference between revisions
Jump to navigation
Jump to search
ArrowHead294 (talk | contribs) mNo edit summary |
ArrowHead294 (talk | contribs) No edit summary |
||
| (2 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{dochead}}{{wikipedia}} | {{dochead}}{{substitute|no}}{{clear}}{{wikipedia}} | ||
This is an auxiliary template that allows one to encode "<code>||</code>" (two pipes or {{w|vertical bar}}s). There is usually no such problem with exclamation marks themselves, but in table rows starting with "<code>!</code>" there can be problems with "<code>!</code>" and "<code>!!</code>" being interpreted as a cell separator. For table rows or cells starting with "<code>!</code>" or "<code>!!</code>", it is better to use the corresponding HTML entity for exclamation marks that are not cell separators (i.e. <code>&#x21;</code> or <code>&#33;</code>). | This is an auxiliary template that allows one to encode "<code>||</code>" (two pipes or {{w|vertical bar}}s). There is usually no such problem with exclamation marks themselves, but in table rows starting with "<code>!</code>" there can be problems with "<code>!</code>" and "<code>!!</code>" being interpreted as a cell separator. For table rows or cells starting with "<code>!</code>" or "<code>!!</code>", it is better to use the corresponding HTML entity for exclamation marks that are not cell separators (i.e. <code>&#x21;</code> or <code>&#33;</code>). | ||
This template extends the magic word {{tlx|!}}, which is used to escape a single {{w|vertical bar}} character. | |||
{{esctl}} | {{esctl}} | ||
Latest revision as of 16:43, 26 January 2026
| This template should not be substituted. |
This is an auxiliary template that allows one to encode "||" (two pipes or vertical bars). There is usually no such problem with exclamation marks themselves, but in table rows starting with "!" there can be problems with "!" and "!!" being interpreted as a cell separator. For table rows or cells starting with "!" or "!!", it is better to use the corresponding HTML entity for exclamation marks that are not cell separators (i.e. ! or !).
This template extends the magic word {{!}}, which is used to escape a single vertical bar character.
| Template call* | Output** | HTML alternative*** |
|---|---|---|
{{!}} (m) |
| | | or {{pipe}}
|
{{=}} (m) |
= | =
|
{{!!}} |
|| | ||
|
{{!(}} |
[ | [ or {{lbrack}}
|
{{)!}} |
] | ] or {{rbrack}}
|
{{!((}} |
[[ | [[
|
{{))!}} |
]] | ]]
|
{{(}} |
{ | {
|
{{)}} |
} | }
|
{{((}} |
{{ | {{
|
{{))}} |
}} | }}
|
{{(((}} |
{{{ | {{{
|
{{)))}} |
}}} | }}}
|
{{(!}} |
{| | {|
|
{{!+}} |
|+ | |+
|
{{!-}} |
|- | |-
|
{{!)}} |
|} | |}
|
{{'}} |
' | '
|
{{colon}} |
: | :
|
{{^(}} |
< | < or <
|
{{)^}} |
> | > or >
|
| This table: View • Talk • Edit | ||
* m for magic word
** Delayed interpretation as Wiki markup
*** Never interpreted as Wiki markup
