Jump to content

Template:=/doc: Difference between revisions

From pool
[unchecked revision][checked revision]
Content deleted Content added
mNo edit summary
 
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 phab:T91154.}}..."
Line 1: Line 1:
{{mbox|type=notice|text=This template will soon be deprecated, as the {{tl|{{=}}}} will soon be a [[Help:Magic words|Magic word]]. See reasons and status at [[phab:T91154]].}}
{{mbox|type=notice|text=This template will soon be deprecated, as the {{tl|{{=}}}} will soon be a [[Help:Magic words|Magic word]]. See reasons and status at [[phab:T91154]].}}
{{Documentation subpage}}
{{Documentation subpage}}
{{High-risk|386,000+}}
{{High-risk}}
{{Commons Import}}
<!-- 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) -->



Revision as of 16:03, 26 October 2020


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 "&#61;" could be used instead, where a literal "=" is not wanted during formatting of a title.

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

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 =/doc

A template to allow = to be used in template parameters

Template parameters[Edit template data]

This template has custom formatting.

ParameterDescriptionTypeStatus
No parameters specified

See also