Difference between revisions of "Template:=/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Zyxw
m (update transclusion count)
blackwiki>Jdaloner
m ("{{Colors|" --> "{{Font color|}}")
Line 5: Line 5:
 
     YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT
 
     YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT
 
-->
 
-->
 +
 
== Usage ==
 
== Usage ==
 
 
This template allows "<code>=</code>" to be used in template parameters.  
 
This template allows "<code>=</code>" to be used in template parameters.  
  
Line 12: Line 12:
  
 
== Example ==
 
== Example ==
 
+
*<code><nowiki>{{Font color|black|yellow|2 + 2 {{=}} 4}}</nowiki></code> produces: {{Font color|black|yellow|2 + 2 {{=}} 4}}
*<code><nowiki>{{Colors|black|yellow|2 + 2 {{=}} 4}}</nowiki></code> produces: {{Colors|black|yellow|2 + 2 {{=}} 4}}
 
  
 
You can also use named parameters to bypass the restriction:
 
You can also use named parameters to bypass the restriction:
*<code><nowiki>{{Colors|black|yellow|3= 2 + 2 = 4}}</nowiki></code> produces: {{Colors|black|yellow|3= 2 + 2 = 4}}
+
*<code><nowiki>{{Font color|black|yellow|3= 2 + 2 = 4}}</nowiki></code> produces: {{Font color|black|yellow|3= 2 + 2 = 4}}
  
 
== TemplateData ==
 
== TemplateData ==
Line 30: Line 29:
 
* {{tlpad|!}}, which produces: {{!}}
 
* {{tlpad|!}}, which produces: {{!}}
 
* {{tl|ifequal}}
 
* {{tl|ifequal}}
 +
  
 
<includeonly><!----PLEASE ADD CATEGORIES BELOW THIS LINE:---->
 
<includeonly><!----PLEASE ADD CATEGORIES BELOW THIS LINE:---->

Revision as of 03:27, 17 December 2014

Usage

This template allows "=" to be used in template parameters.

This template cannot be substituted.

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