Difference between revisions of "Template:=/doc"

From Captain of Industry Wiki
Jump to: navigation, search
(Creation)
 
m (: typo)
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:


== Usage ==
== Usage ==
This template allows "=" to be used in unnamed template parameters. It inserts the [[Wikipedia:equals-sign]] ("=") into the text. Alternatively, the [[Wikipedia: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.
This template allows "=" to be used in unnamed template parameters. It inserts the [[Wikipedia:equals-sign|equals-sign]] ("=") into the text. Alternatively, the [[Wikipedia: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 ==
== Examples ==
Line 8: Line 8:


You can also use named parameters to bypass the restriction:
You can also use named parameters to bypass the restriction:
* <code>{{T|1=Math|2=1=1|3=2=+|4=3=1|5=4==|5=5=2}}</code> produces: {{T|1=Math|2=1|3=+|4=1|5==|6=2}}
* <code>{{T|1=Math|2=1=1|3=2=+|4=3=1|5=4==|6=5=2}}</code> produces: {{T|1=Math|2=1|3=+|4=1|5==|6=2}}


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

Latest revision as of 14:40, 13 January 2022

Usage

This template allows "=" to be used in unnamed template parameters. It inserts the equals-sign ("=") into the text. Alternatively, the Wikipedia: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.

Examples

  • {{Math|1|+|1|{{=}}|2}} produces: {{Math|1|+|1|=|2}}

You can also use named parameters to bypass the restriction:

  • {{Math|1=1|2=+|3=1|4==|5=2}} produces: {{Math|1|+|1|=|2}}

See also