Difference between revisions of "Template:=/doc"
From Summertime Saga Wiki
m (→Example) |
m (→Usage) |
||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | The template {{tlg|{{=}}}} allows the equals‐sign “=” to be used in unnamed template parameters. | ||
+ | |||
== Usage == | == Usage == | ||
− | + | It inserts the one‐character equals sign “=” into the text. However, the Unicode form “=” could be used instead, where a literal “=” is not wanted during formatting of a title. | |
− | == | + | == Examples == |
− | {|class=wikitable style="width: 100%;" | + | {|class=wikitable style="width:100%;" |
! Markup | ! Markup | ||
! Renders as | ! Renders as | ||
|- | |- | ||
− | | <code><nowiki>{{ | + | | <code><nowiki>{{font color|black|yellow|2 + 2 {{=}} 4}}</nowiki></code> |
− | | {{ | + | | {{font color|black|yellow|2 + 2 {{=}} 4}} |
|- | |- | ||
− | | <code><nowiki>{{ | + | | <code><nowiki>{{font color|black|yellow|3= 2 + 2 = 4}}</nowiki></code> |
− | | {{ | + | | {{font color|black|yellow|3= 2 + 2 = 4}} |
|} | |} | ||
− | [[Category: | + | [[Category:Templates]][[Category:Character‐substitution templates]][[Category:Templates documentation]] |
Latest revision as of 14:24, 22 July 2020
The template {{=}} allows the equals‐sign “=” to be used in unnamed template parameters.
Usage
It inserts the one‐character equals sign “=” into the text. However, the Unicode form “=” could be used instead, where a literal “=” is not wanted during formatting of a title.
Examples
Markup | Renders as |
---|---|
{{font color|black|yellow|2 + 2 {{=}} 4}}
|
2 + 2 = 4 |
{{font color|black|yellow|3= 2 + 2 = 4}}
|
2 + 2 = 4 |