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)
mNo edit summary
Line 1: Line 1:
== Usage ==
== Usage ==


This template allows "=" to be used in unnamed template parameters. It inserts the one-character equals-sign ("=") into the text. However, in cite titles, the Unicode form "=" could be used instead, where a literal "=" is not wanted during formatting of a title.
This template allows "=" to be used in unnamed template parameters. It inserts the one-character [[equals-sign]] ("=") into the text. However, in [[wp:CS1]] cite titles, the [[Unicode]] form "=" could be used instead, where a literal "=" is not wanted during formatting of a title


== Example ==
== Example ==


* {{tlx|Font color|black|yellow|2 + 2 {{=}} 4}} 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:
* {{tlx|Font color|black|yellow|3= 2 + 2 = 4}} 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}}


== See also ==
== See also ==

Revision as of 07:52, 6 June 2019

Usage

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

Example

  • {{Font color|black|yellow|2 + 2 {{=}} 4}} produces: 2 + 2 = 4

You can also use named parameters to bypass the restriction:

  • {{Font color|black|yellow|3= 2 + 2 = 4}} produces: 2 + 2 = 4

See also