Template:!!/doc

From TechInfoDepot
Jump to navigationJump to search

This is an auxiliary template that allows one to encode || (paired "pipe" or vertical bar characters) within template parameters. If this does not need to be interpreted as wikitext (i.e. table cell separators), it is better to use ||. However the || delimiter for a wikitable has to be escaped by a template if it is used within a template.

Notes

There is usually no such problem with !! (paired exclamation marks). This problem only affects || (paired 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 !!.

This template cannot be substituted.

TemplateData

This is the TemplateData for this template, which is used by TemplateWizard, the VisualEditor and still other tools.

TemplateData for !!

Escapes paired pipe characters within other templates

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
No parameters specified

See also

Other members of this template family

Template call
(m for magic word)
Output (delayed interpretation as wikimarkup) HTML alternative (never interpreted as wikimarkup)
{{!}} (m) Template:Pipe | or {{pipe}}
{{=}} (m) = =
{{!!}} Template:PipeTemplate:Pipe ||
{{!(}} Template:!( [
{{)!}} Template:)! ]
{{!((}} [[ [[
{{))!}} ]] ]]
{{(}} Template:( {
{{)}} Template:) }
{{((}} {{ {{
{{))}} }} }}
{{(((}} Template:((( {{{
{{)))}} Template:))) }}}
{{(!}} {| {|
{{!+}} |+ |+
{{!-}} |- |-
{{!)}} |} |}