Difference between revisions of "Template:=/doc"

From blackwiki
Jump to navigation Jump to search
(Blanked the page)
blackwiki>Eyesnore
m (Reverted edits by 66.87.64.63 (talk) to last version by Eyesnore)
Line 1: Line 1:
 +
{{Documentation subpage}}
 +
{{High-risk|158,000+}}
 +
{{Nosubst}}
 +
<!--
 +
    PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE.
 +
    YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT.
 +
-->
  
 +
== Usage ==
 +
This template allows "=" to be used in template parameters. This is equivelent to <code><nowiki><nowiki>=</nowiki></nowiki></code>.
 +
 +
== Example ==
 +
*<code><nowiki>{{Font color|black|yellow|2 + 2 {{=}} 4}}</nowiki></code> produces: {{Font color|black|yellow|2 + 2 {{=}} 4}}
 +
 +
You can also use named parameters to bypass the restriction:
 +
*<code><nowiki>{{Font color|black|yellow|3= 2 + 2 = 4}}</nowiki></code> produces: {{Font color|black|yellow|3= 2 + 2 = 4}}
 +
 +
== TemplateData ==
 +
{{TemplateDataHeader}}
 +
 +
<TemplateData>
 +
{"description":"A template to allow = to be used in template parameters","params":{}}
 +
</TemplateData>
 +
 +
== See also ==
 +
* {{tl|((}}, which produces: {{((}}
 +
* {{tl|))}}, which produces: {{))}}
 +
* {{tl|!}}, which produces: {{!}}
 +
* {{tl|ifequal}}
 +
 +
 +
<includeonly><!----PLEASE ADD CATEGORIES BELOW THIS LINE:---->
 +
[[Category:Wikipedia character-substitution templates]]
 +
[[Category:Template namespace templates]]
 +
[[Category:Mathematical formatting templates]]
 +
</includeonly>

Revision as of 02:38, 1 August 2016

Usage

This template allows "=" to be used in template parameters. This is equivelent to <nowiki>=</nowiki>.

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