Template:=/doc: Difference between revisions
From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
m (99 revisions imported: All these templates have originated from Wikipedia. Credits go directly to them.) |
|||
(21 intermediate revisions by 15 users not shown) | |||
Line 1: | Line 1: | ||
{{mbox|type=notice|text=This template will soon be deprecated, as the {{tl|{{=}}}} will soon be a [[Help:Magic words|Magic word]]. See reasons and status at [[phab:T91154]].}} |
|||
{{Documentation subpage}} |
{{Documentation subpage}} |
||
{{High-risk| |
{{High-risk|386,000+}} |
||
<!-- Please add categories at the bottom of this page, and interwikis at Wikidata (see Wikipedia:Wikidata) --> |
|||
<!-- |
|||
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 unnamed template parameters. It inserts the [[equals-sign]] ("=") into the text. Alternatively, the [[HTML]] entity "&#61;" can be used if there is no need for it to be interpreted as wikimarkup, such as when the literal equals-sign is to be displayed to the user. |
|||
Vasishta Educational Institutions Pvt.Ltd is established in 2010 with the aim of imparting quality education to the aspirants of IIT-JEE.It had a humble beginning in 2011 with a small center in Hyderabad with a strength of 22 students. |
|||
== |
== Examples == |
||
*<code><nowiki>{{Font color|black|yellow|2 + 2 {{=}} 4}}</nowiki></code> produces: {{Font color|black|yellow|2 + 2 {{=}} 4}} |
* <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: |
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}} |
* <code><nowiki>{{Font color|black|yellow|3= 2 + 2 = 4}}</nowiki></code> produces: {{Font color|black|yellow|3= 2 + 2 = 4}} |
||
Unlike &#61;, the template only delays the interpretation of the symbol as code: |
|||
== Temporary == |
|||
<syntaxhighlight lang="html"> |
|||
{{TemplateDataHeader}} |
|||
{{concat|<div class{{=}}"hatnote">This should be italicised.</div>}} |
|||
{{concat|<div class="hatnote">This will not be italicised.</div>}} |
|||
</syntaxhighlight> |
|||
produces: |
|||
{{concat|<div class{{=}}"hatnote">This should be italicised.</div>}} |
|||
{{concat|<div class="hatnote">This will not be italicised.</div>}} |
|||
== TemplateData == |
|||
⚫ | |||
⚫ | |||
<templatedata> |
|||
⚫ | |||
{ |
|||
⚫ | |||
"params": {}, |
|||
"format": "{{_\n| _ = _\n}}" |
|||
} |
|||
</templatedata> |
|||
== See also == |
== See also == |
||
{{Escape template list}} |
|||
* {{tl|((}}, which produces: {{((}} |
|||
* [[mw:Help:Magic words]] |
|||
* {{tl|))}}, which produces: {{))}} |
|||
* {{tl|!}}, which produces: {{!}} |
|||
* {{tl|ifequal}} |
|||
<includeonly>{{ |
<includeonly>{{sandbox other|| |
||
<!-- Add categories below this line, and interwikis at Wikidata --> |
|||
[[Category: |
[[Category:Character-substitution templates]] |
||
[[Category:Template namespace templates]] |
[[Category:Template namespace templates]] |
||
[[Category:Mathematical formatting templates]] |
[[Category:Mathematical formatting templates]] |
Latest revision as of 17:48, January 24, 2022
This template will soon be deprecated, as the {{=}} will soon be a Magic word. See reasons and status at phab:T91154. |
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 386,000+ pages, or roughly 7140% 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 unnamed template parameters. It inserts the equals-sign ("=") into the text. Alternatively, the HTML entity "=" can be used if there is no need for it to be interpreted as wikimarkup, such as when the literal equals-sign is to be displayed to the user.
Examples
{{Font color|black|yellow|2 + 2 {{=}} 4}}
produces: Template:Font color
You can also use named parameters to bypass the restriction:
{{Font color|black|yellow|3= 2 + 2 = 4}}
produces: Template:Font color
Unlike =, the template only delays the interpretation of the symbol as code:
{{concat|<div class{{=}}"hatnote">This should be italicised.</div>}}
{{concat|<div class="hatnote">This will not be italicised.</div>}}
produces: Template:Concat Template:Concat
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