Difference between revisions of "Template:=/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Lojbanist
(Remove nosubst (substing this is useful when using {{dated}} with a named template parameter))
blackwiki>Frietjes
Line 28: Line 28:
 
* {{tl|ifequal}}
 
* {{tl|ifequal}}
  
 
+
<includeonly>{{basepage subpage|<!----PLEASE ADD CATEGORIES BELOW THIS LINE:---->
<includeonly><!----PLEASE ADD CATEGORIES BELOW THIS LINE:---->
 
 
[[Category:Wikipedia character-substitution templates]]
 
[[Category:Wikipedia character-substitution templates]]
 
[[Category:Template namespace templates]]
 
[[Category:Template namespace templates]]
 
[[Category:Mathematical formatting templates]]
 
[[Category:Mathematical formatting templates]]
</includeonly>
+
}}</includeonly>

Revision as of 15:09, 4 July 2017

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

  • {{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 documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

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}}