Template:=/doc: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
Content added Content deleted
(See also formatting, category)
Line 1: Line 1:
{{documentation subpage}}
{{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 ==
{{high-risk|270,000+}}
==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> {{Arrow}} {{Colors|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> {{Arrow}} {{Colors|black|yellow|3= 2 + 2 = 4}}
*<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 ==
* {{tl|((}} &mdash; produces {{((}}
* {{tlpad|((}}, which produces: {{((}}
* {{tl|))}} &mdash; produces {{))}}
* {{tlpad|))}}, which produces: {{))}}
* {{tl|!}} &mdash; produces {{!}}
* {{tlpad|!}}, which produces: {{!}}
* {{tl|Ifequal}}
* {{tl|ifequal}}

<includeonly>
<!-- PLEASE ADD CATEGORIES BELOW THIS LINE, THANKS. -->
<includeonly><!----PLEASE ADD CATEGORIES BELOW THIS LINE:---->
[[Category:Escape character templates|{{PAGENAME}}]]
[[Category:Wikipedia character-substitution templates]]
[[Category:Template namespace templates|{{PAGENAME}}]]
[[Category:Template namespace templates]]
[[Category:Mathematical formatting templates|{{PAGENAME}}]]
[[Category:Mathematical formatting templates]]
<!-- PLEASE ADD INTERWIKIS BELOW THIS LINE, THANKS. -->
</includeonly>
</includeonly>

Revision as of 01:03, August 19, 2014

Usage

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

This template cannot be substituted.

Example

You can also use named parameters to bypass the restriction:

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

Template parameters

ParameterDescriptionTypeStatus
No parameters specified

See also