Template:!!

Revision as of 16:56, 10 August 2024 by ArrowHead294 (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Template documentation[view] [edit] [history] [purge]
English Wikipedia has an article on:

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 calls for escaping characters
Template call* Output** HTML alternative***
{{!}} (m) | | or {{pipe}}
{{=}} (m) = =
{{!!}} || ||
{{!(}} [ [ or {{lbrack}}
{{)!}} ] ] or {{rbrack}}
{{!((}} [[ [[
{{))!}} ]] ]]
{{(}} { {
{{)}} } }
{{((}} {{ {{
{{))}} }} }}
{{(((}} {{{ {{{
{{)))}} }}} }}}
{{(!}} {| {|
{{!+}} |+ |+
{{!-}} |- |-
{{!)}} |} |}
{{'}} ' '
{{colon}} : :
{{^(}} < &#60; or &lt;
{{)^}} > &#62; or &gt;
{{**}} * &#42;
This table: ViewTalkEdit

* m for magic word

** Delayed interpretation as Wiki markup

*** Never interpreted as Wiki markup