Jump to content

Template:(!/doc

From Wikipedia

Dis template dey produce di {| sequence (dat be di beginning of one wikitable), so dat people fit build wikitables inside templates.

Explanation

[edit source]

Di problem be say if one pipe character "|" show inside one template, di template parser go think say di pipe be part of di template. So if table dey inside template, di pipe symbols wey normally dey belong to table syntax go first be treated like template syntax.

To stop dis from happening, you fit "hide" di table pipe character from di template parser by replacing di pipe character with {{!}}.

To make e easier to build tables, some extra templates dey wey fit help:

  • {{(!}} for {|
  • {{!+}} for |+
  • {{!-}} for |-
  • {{!!}} for ||
  • {{!)}} for |}

See mw:Help:Magic words#Other and mw:Help:Template#A parameter value containing a pipe character too.

See also

[edit source]

Template:Escape template list

  • {{End}}
  • {{Aligned table}}, dis one make you fit specify table directly as one template, unlike di special way dem dey handle di syntax wey dey above.

TemplateData

[edit source]
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:(! in articles based on its TemplateData.

TemplateData for (!

Dis template dey produce {| as ordinary text.

Template parameters

ParameterDescriptionTypeStatus
No parameters specified