Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:=/doc: Difference between revisions

Template page
Casiope (talk | contribs)
mNo edit summary
Casiope (talk | contribs)
Line 5: Line 5:
== Example ==
== Example ==


*<code><nowiki>{{Font color|black|yellow|2 + 2 {{=}} 4}}</nowiki></code> produces: {{Font color|black|yellow|2 + 2 {{=}} 4}}
{|class=wikitable style="width: 100%;"
 
! Markup
You can also use named parameters to bypass the restriction:
! Renders as
*<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|2 + 2 {{=}} 4}}</nowiki></code>
| {{Font color|black|yellow|2 + 2 {{=}} 4}}
|-
| <code><nowiki>{{Font color|black|yellow|3= 2 + 2 = 4}}</nowiki></code>
| {{Font color|black|yellow|3= 2 + 2 = 4}}
|}


[[Category:Documentation subpages]]
[[Category:Documentation subpages]]

Revision as of 22:53, 9 June 2019

Usage

This template allows "=" to be used in unnamed template parameters. It inserts the one-character equals-sign ("=") into the text. However, the Unicode form "&#61;" could be used instead, where a literal "=" is not wanted during formatting of a title

Example

Markup Renders as
{{Font color|black|yellow|2 + 2 {{=}} 4}} 2 + 2 = 4
{{Font color|black|yellow|3= 2 + 2 = 4}} 2 + 2 = 4