Template:=/doc

This magic word allows "=" to be used in unnamed template parameters, rather than being interpreted as the separator between the parameter name and value. It evaluates to the equals sign, =. Alternatively, the HTML entity "&amp;#61;" can be used if there is no need for it to be interpreted as wikimarkup, such as when the literal equals-sign is to be displayed to the user. Until June 2022, there was a template at this location with the same function, but it was replaced with a magic word for performance reasons in T91154.

Do not use syntax like, and do not supply a parameter, for example. In those cases, the template transcludes as an error message: Error: The retired template = has been transcluded; see mw:Help:Magic words#Other for details. To fix this, use only the code = to generate the &#61; character.

Usage

 * produces: 2 + 2 = 4

You can also use named parameters to bypass the restriction:
 * produces: yellow

Unlike, the magic word only delays the interpretation of the symbol as code: produces:

TemplateData
{	"description": "A magic word to allow = to be used in template parameters", "params": {}, "format": "" }