Jump to content

Template:!!/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
Cydebot (talk | contribs)
m Robot - Speedily moving category Wikipedia character-substitution templates to Category:Character-substitution templates per CFDS.
m See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other and <includeonly>
Line 25: Line 25:
*[[Wikipedia:Conditional tables]]
*[[Wikipedia:Conditional tables]]


<includeonly>
<includeonly>{{Sandbox other||
[[Category:Character-substitution templates]]
[[Category:Character-substitution templates]]
[[Category:Table templates]]
[[Category:Table templates]]
[[Category:Template namespace templates]]
[[Category:Template namespace templates]]
</includeonly>
}}</includeonly>

Revision as of 06:12, 27 April 2020

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 "&#124;&#124;". However the "||" delimiter for a Wiki table has to be escaped by a template if it is used within a template.

Notes

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 "&#33;&#33;".

This template cannot be substituted.

Parameters

Escapes double pipe characters within template parameters

Template parameters

ParameterDescriptionTypeStatus
No parameters specified

See also