Template:=/doc: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{mbox|type=notice|text=This template will soon be deprecated, as the {{tl|{{=}}}} will soon be a [[Wikipedia:Help:Magic words|Magic word]]. See reasons and status at [[Wikipedia:phab:T91154|phab:T91154]].}} | {{mbox|type=notice|text=This template will soon be deprecated, as the {{tl|{{=}}}} will soon be a [[Wikipedia:Help:Magic words|Magic word]]. See reasons and status at [[Wikipedia:phab:T91154|phab:T91154]].}} | ||
{{Documentation subpage}} | {{Documentation subpage}} | ||
== Usage == | == Usage == | ||
Line 8: | Line 6: | ||
== Examples == | == Examples == | ||
* | * {{tlc|Font color|black|yellow|2 + 2 {{=}} 4}} produces: {{Font color|black|yellow|2 + 2 {{=}} 4}} | ||
You can also use named parameters to bypass the restriction: | You can also use named parameters to bypass the restriction: | ||
* | * {{tlc|Font color|black|yellow|3{{=}} 2 + 2 = 4}} produces: {{Font color|black|yellow|3= 2 + 2 = 4}} | ||
== TemplateData == | == TemplateData == | ||
Line 22: | Line 20: | ||
</templatedata> | </templatedata> | ||
<includeonly>{{sandbox other||{{testcases other|| | |||
<!-- Categories below this line, please --> | <!-- Categories below this line, please --> | ||
[[Category:Templates]] | [[Category:Templates]] | ||
[[Category:Character-substitution templates]] | [[Category:Character-substitution templates]] | ||
</includeonly> | }}}}</includeonly> |
Revision as of 15:58, 12 June 2023
header?
content?
|
It contains usage information, categories and other content that is not part of the original template page.
|
Usage
This template allows "=" to be used in unnamed template parameters. It inserts the one-character equals-sign ("=") into the text.
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}}
produces: 2 + 2 = 4
TemplateData
A template to allow = to be used in template parameters
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |