Template:=/doc: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(moving page from Category:Escape templates to Category:Escape character templates) |
(See also formatting, category) |
||
Line 1: | Line 1: | ||
{{ |
{{Documentation subpage}} |
||
⚫ | |||
<!-- |
<!-- |
||
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 |
||
--> |
--> |
||
⚫ | |||
⚫ | |||
⚫ | |||
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> |
|||
<!-- |
<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]] |
||
<!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. --> |
|||
</includeonly> |
</includeonly> |
Revision as of 01:03, August 19, 2014
This is a documentation subpage for Template:=. It may contain usage information, categories and other content that is not part of the original template page. |
This template is used on 270,000+ pages, or roughly 4994% of all 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. |
Usage
This template allows "=
" to be used in template parameters.
This template cannot be substituted.
Example
{{Colors|black|yellow|2 + 2 {{=}} 4}}
produces: Template:Colors
You can also use named parameters to bypass the restriction:
{{Colors|black|yellow|3= 2 + 2 = 4}}
produces: Template:Colors
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
Parameter | Description | Type | Status | |||
---|---|---|---|---|---|---|
No parameters specified |
See also
- Template:Tlpad, which produces: {{
- Template:Tlpad, which produces: }}
- Template:Tlpad, which produces: |
- {{ifequal}}