Template:!-
From TechInfoDepot
Jump to navigationJump to search
|-
Template:Cascade-protected template
| This template is used on many pages, and changes to it will be widely noticed. Please test any changes in the template's /sandbox or /testcases subpages, or in a user subpage, and consider discussing changes at the talk page before implementing them. |
This is an auxiliary template that allows one to encode the wiki table delimiter "|-" within template parameters and parser functions. If it is not a template parameter or a parser function, just use "|-".
It is advisable to use Template:Tn- instead of {{!-}}, as that syntax will be familiar to more editors.
This template cannot be substituted.
See also
| Template call (m for magic word) |
Output (delayed interpretation as wikimarkup) | HTML alternative (never interpreted as wikimarkup) | |
|---|---|---|---|
{{!}} (m) |
| or {{pipe}} | ||
{{=}} (m) |
= | = | |
{{!!}} |
|| | ||
{{!(}} |
Template:!( | [ | |
{{)!}} |
Template:)! | ] | |
{{!((}} |
[[ | [[ | |
{{))!}} |
]] | ]] | |
{{(}} |
Template:( | { | |
{{)}} |
Template:) | } | |
{{((}} |
{{ | {{ | |
{{))}} |
}} | }} | |
{{(((}} |
Template:((( | {{{ | |
{{)))}} |
Template:))) | }}} | |
{{(!}} |
{| | {| | |
{{!+}} |
|+ | |+ | |
{{!-}} |
|- | |- | |
{{!)}} |
|} | |} |
- mw:Help:Template#A parameter value containing a pipe character
{{(!}}Open table{{!}}this is not a template but a "magic word" see mw:Help:Magic words#Other and m:Template:! (backlinks edit){{!!}}Table cell separator{{!)}}Close table- Wikipedia:Conditional tables
TemplateData
This is the TemplateData for this template, which is used by TemplateWizard, the VisualEditor and still other tools.
TemplateData for !-
This template produces |- as ordinary text.
| Parameter | Description | Type | Status | |||
|---|---|---|---|---|---|---|
| No parameters specified | ||||||
| The above documentation is transcluded from Template:!-/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |