Template:=/doc: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
m (Reverted edits by Thor1704 (talk) to last version by Frietjes)
Line 9: Line 9:
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
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


<ref>44</ref>== Example ==
== Example ==
*<code><nowiki>{{Font color|black|yellow|2 + 2 {{=}} 4}}</nowiki></code> produces: {{Font color|black|yellow|2 + 2 {{=}} 4}}
*<code><nowiki>{{Font color|black|yellow|2 + 2 {{=}} 4}}</nowiki></code> produces: {{Font color|black|yellow|2 + 2 {{=}} 4}}



Revision as of 01:09, January 17, 2018

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

Example

You can also use named parameters to bypass the restriction:

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

Template parameters

ParameterDescriptionTypeStatus
No parameters specified

See also

  • {{((}}, which produces: {{
  • {{))}}, which produces: }}
  • {{!}}, which produces: |
  • {{ifequal}}