Template:=/doc: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(→See also: rm strange syntax) |
mNo edit summary |
||
Line 25:
* [[Template:((]] which produces: {{code|{{((}}}}
* [[Template:))]] which produces: {{code|{{))}}}}
*
* {{tl|ifequal}}
* [[mw:Help:Magic words]]
|
Revision as of 20:16, July 5, 2020
This is a documentation subpage for Template:=. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on 386,000+ pages, or roughly 7140% of all pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. |
Usage
This template allows "=" to be used in unnamed template parameters. It inserts the one-character equals-sign ("=") into the text. However, in wp:CS1 cite titles, the Unicode form "=" could be used instead, where a literal "=" is not wanted during formatting of a title.
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
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
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |
See also
- Template:(( which produces:
{{
- Template:)) which produces:
}}
- Template:! which produces:
|
-- added in MediaWiki 1.24 - {{ifequal}}
- mw:Help:Magic words