Template:=/doc: Difference between revisions
Jump to navigation
Jump to search
(Created page with "{{mbox|type=notice|text=This template will soon be deprecated, as the {{tl|{{=}}}} will soon be a Magic word. See reasons and status at Wikipe...") |
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}} | ||
{{template rating|p}} | |||
<!-- Please add categories at the bottom of this page, and interwikis at Wikidata (see Wikipedia:Wikidata) --> | <!-- Please add categories at the bottom of this page, and interwikis at Wikidata (see Wikipedia:Wikidata) --> | ||
Line 22: | Line 23: | ||
== See also == | == See also == | ||
* <nowiki>{{!}}</nowiki> which produces: <code>|</code> – this is a Wikimedia [[mw:Help:Magic words#Other|"magic word" added in MediaWiki 1.24]] | * <nowiki>{{!}}</nowiki> which produces: <code>|</code> – this is a Wikimedia [[mw:Help:Magic words#Other|"magic word" added in MediaWiki 1.24]] | ||
* [[mw:Help:Magic words]] | * [[mw:Help:Magic words]] | ||
<includeonly> | <includeonly> | ||
<!-- | <!-- Categories below this line, please --> | ||
[[Category:Templates]] | |||
[[Category:Character-substitution templates]] | [[Category:Character-substitution templates]] | ||
</includeonly> |
Revision as of 02:11, 6 September 2020
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|3= 2 + 2 = 4}}
produces: 2 + 2 = 4
TemplateData
A template to allow = to be used in template parameters
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |
See also
- {{!}} which produces:
|
– this is a Wikimedia "magic word" added in MediaWiki 1.24 - mw:Help:Magic words