ππ°πΏππ°πΌπ΄π»π΄πΉπ½π:!!
||
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.
There is usually no such problem with "!!" (exclamation marks). This problem only affects "||" (vertical bars) in conjunction with the m:Help: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 "!!".
This template cannot be substituted.
Parameters
[πΉπ½πΌπ°πΉπ³πΎπ°π½]Escapes double pipe characters within template parameters
| Parameter | Description | Type | Status | |||
|---|---|---|---|---|---|---|
| No parameters specified | ||||||
Use this template to produce the character or characters " || " as ordinary text rather than as part of a link [[ ]], transclusion {{ }}, variable substitution {{{ }}}, etc.
Similar templates
[πΉπ½πΌπ°πΉπ³πΎπ°π½]| Template | Output | HTML alternative | Remark |
|---|---|---|---|
| {{=}} | = | =
|
|
| {{!(}} | [ | [
|
Same as {{Square bracket open}}, which produces "[". |
| {{)!}} | ] | ]
|
Same as {{Square bracket close}}, which produces "]". |
| {{!((}} | [[ | [[
|
Same as {{Square bracket open|2}}, which produces "[[". |
| {{))!}} | ]] | ]]
|
Same as {{Square bracket close|2}}, which produces "]]". |
| {{!}} | | | |
|
{{!}} was also a heavily used template but was converted into an equivalent Magic Word. |
| {{!!}} | || | ||
|
|
| {{(!}} | {| | {|
|
|
| {{!-}} | |- | |-
|
|
| {{!)}} | |} | |}
|
|
| {{(}} | { | {
|
Same as {{Brace open}}, which produces "{". |
| {{)}} | } | }
|
Same as {{Brace close}}, which produces "}". |
| {{((}} | {{ | {{
|
Same as {{Brace open|2}}, which produces "{{". |
| {{))}} | }} | }}
|
Same as {{Brace close|2}}, which produces "}}". |
| {{(((}} | {{{ | {{{
|
Same as {{Brace open|3}}, which produces "{{{". |
| {{)))}} | }}} | }}}
|
Same as {{Brace close|3}}, which produces "}}}". |
See also
[πΉπ½πΌπ°πΉπ³πΎπ°π½]- Template: \ , which produces " /" (i.e. a (forward-)slash character preceded by a non-breaking space).
Other brace-rendering templates
- Template:Braces, to produce text such as "{{example text}}" (i.e. untranscluded).
- Template:Brackets to produce text such as "[[example text]]" (i.e. unlinked).