Template:=
Jump to navigation
Jump to search
=
This template was deprecated in June 2022, when {{=}} became a Magic word. See phab:T91154 for more information. The usage notes below still apply. |
Usage
This template allows "=" to be used in unnamed template parameters. It inserts the equals-sign ("=") into the text. Alternatively, the HTML entity "=" 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.
Examples
{{Font color|black|yellow|2 + 2 {{=}} 4}}
produces: 2 + 2 = 4
You can also use named parameters to bypass the restriction:
{{Font color|black|yellow|3= 2 + 2 = 4}}
produces: 2 + 2 = 4
Unlike =, the template only delays the interpretation of the symbol as code:
{{concat|<div style{{=}}"font-style:italic">This should be italicised.</div>}}
{{concat|<div style="font-style:italic">This will not be italicised.</div>}}
produces:
This should be italicised.
This will not be italicised.
TemplateData
This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template in articles based on this TemplateData.
TemplateData for =
A template to allow = to be used in template parameters
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |
See also
Template call (m for magic word) |
Output (delayed interpretation as wikimarkup) | HTML alternative (never interpreted as wikimarkup) |
---|---|---|
{{!}} (m)
|
| | | or {{pipe}} |
{{=}} (m)
|
= | = |
{{!!}}
|
|| | || |
{{!(}}
|
[ | [ |
{{)!}}
|
] | ] |
{{!((}}
|
[[ | [[ |
{{))!}}
|
]] | ]] |
{{(}}
|
{ | { |
{{)}}
|
} | } |
{{((}}
|
{{ | {{ |
{{))}}
|
}} | }} |
{{(((}}
|
{{{ | {{{ |
{{)))}}
|
}}} | }}} |
{{(!}}
|
{| | {| |
{{!-}}
|
|- | |- |
{{!)}}
|
|} | |} |
Categories:
- Templates using TemplateData
- Character-substitution templates
- Template namespace templates
- Mathematical formatting templates
- Mbox and messagebox templates
- Pages used in system messages needing protection
- Pages with TemplateStyles errors
- Pages with broken file links
- Pages with script errors
- Template documentation
- Template documentation pages
- Templates
- Templates based on the Infobox Lua module
- Templates generating microformats
- Templates that add a tracking category
- Wikipedia metatemplates