Template:=/doc: Difference between revisions
From Space Station 14 Wiki
Template:=/doc
ENWIKIIMPORT>Plastikspork (→See also: Deleted) |
m (1 revision imported) |
(No difference)
|
Revision as of 02:31, 14 December 2021
This template will soon be deprecated, as the {{=}} will soon be a Magic word. See reasons and status at phab:T91154. |
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: Template:Font color
You can also use named parameters to bypass the restriction:
{{Font color|black|yellow|3= 2 + 2 = 4}}
produces: Template:Font color
Unlike =, the template only delays the interpretation of the symbol as code:
{{concat|<div class{{=}}"hatnote">This should be italicised.</div>}}
{{concat|<div class="hatnote">This will not be italicised.</div>}}
produces: Template:Concat Template:Concat
TemplateData
A template to allow = to be used in template parameters
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |
See also