Template:=/doc

From Simple English Wikipedia, the free encyclopedia

Usage[change source]

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[change source]

  • {{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&#61;"font-style:italic">This will not be italicised.</div>}}

produces:

This should be italicised.
This will not be italicised.

TemplateData[change 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 =

A template to allow = to be used in template parameters

Template parameters

This template has custom formatting.

ParameterDescriptionTypeStatus
No parameters specified

See also[change source]

Template call
(m for magic word)
Output (delayed interpretation as wikimarkup) HTML alternative (never interpreted as wikimarkup)
{{!}} (m) | &#124; or {{pipe}}
{{=}} = &#61;
{{!!}} || &#124;&#124;
{{!(}} [ &#91;
{{)!}} ] &#93;
{{!((}} [[ &#91;&#91;
{{))!}} ]] &#93;&#93;
{{(}} { &#123;
{{)}} } &#125;
{{((}} {{ &#123;&#123;
{{))}} }} &#125;&#125;
{{(((}} {{{ &#123;&#123;&#123;
{{)))}} }}} &#125;&#125;&#125;
{{¡}} &#9474;