Difference between revisions of "Template:=/doc"
Jump to navigation
Jump to search
blackwiki>Meteor sandwich yum (moving page from Category:Escape templates to Category:Escape character templates) |
blackwiki>Sardanaphalus (See also formatting, category) |
||
| Line 1: | Line 1: | ||
| − | {{ | + | {{Documentation subpage}} |
| + | {{High-risk|270,000+}} | ||
<!-- | <!-- | ||
PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE | PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE | ||
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 11: | Line 11: | ||
This template cannot be [[WP:SUBST|substituted]]. | This template cannot be [[WP:SUBST|substituted]]. | ||
| − | ==Example== | + | == Example == |
| − | *<code><nowiki>{{Colors|black|yellow|2 + 2 {{=}} 4}}</nowiki></code> | + | *<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> | + | *<code><nowiki>{{Colors|black|yellow|3= 2 + 2 = 4}}</nowiki></code> produces: {{Colors|black|yellow|3= 2 + 2 = 4}} |
| − | ==TemplateData== | + | == TemplateData == |
{{TemplateDataHeader}} | {{TemplateDataHeader}} | ||
| + | |||
<TemplateData> | <TemplateData> | ||
{"description":"A template to allow = to be used in template parameters","params":{}} | {"description":"A template to allow = to be used in template parameters","params":{}} | ||
</TemplateData> | </TemplateData> | ||
| − | ==See also== | + | == See also == |
| − | * {{ | + | * {{tlpad|((}}, which produces: {{((}} |
| − | * {{ | + | * {{tlpad|))}}, which produces: {{))}} |
| − | * {{ | + | * {{tlpad|!}}, which produces: {{!}} |
| − | * {{tl| | + | * {{tl|ifequal}} |
| − | <includeonly> | + | |
| − | <!-- PLEASE ADD CATEGORIES BELOW THIS LINE | + | <includeonly><!----PLEASE ADD CATEGORIES BELOW THIS LINE:----> |
| − | [[Category: | + | [[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 01:03, 19 August 2014
| This is a documentation subpage for Template:=. It contains usage information, categories and other content that is not part of the original template page. |
| This template is used on 470,000+ pages. To avoid major disruption and server load, any changes should be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can be added to this page in a single edit. Consider discussing changes on the talk page before implementing them. Transclusion count updated automatically (see documentation). |
Contents
Usage
This template allows "=" to be used in template parameters.
This template cannot be substituted.
Example
{{Colors|black|yellow|2 + 2 {{=}} 4}}produces: 2 + 2 = 4
You can also use named parameters to bypass the restriction:
{{Colors|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
| Parameter | Description | Type | Status | |||
|---|---|---|---|---|---|---|
| No parameters specified | ||||||
See also
- Template:Tlpad, which produces: {{
- Template:Tlpad, which produces: }}
- Template:Tlpad, which produces: |
- {{ifequal}}