Template:=/doc: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
m (Reverted edits by JsfasdF252 (talk) to last version by GKFX)
m (99 revisions imported: All these templates have originated from Wikipedia. Credits go directly to them.)
 
(One intermediate revision by one other user not shown)
Line 34: Line 34:
== See also ==
== See also ==
{{Escape template list}}
{{Escape template list}}
* {{tl|ifequal}}
* [[mw:Help:Magic words]]
* [[mw:Help:Magic words]]



Latest revision as of 17:48, January 24, 2022

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

You can also use named parameters to bypass the restriction:

Unlike =, the template only delays the interpretation of the symbol as code:

{{concat|<div class{{=}}"hatnote">This should be italicised.</div>}}
{{concat|<div class&#61;"hatnote">This will not be italicised.</div>}}

produces: Template:Concat Template:Concat

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 based on this 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

Template:Escape template list