Difference between revisions of "Template:=/doc"

From Summertime Saga Wiki
Jump to: navigation, search
m (Example)
m (Example)
Line 9: Line 9:
 
! Renders as
 
! Renders as
 
|-
 
|-
| <code><nowiki>{{Font color|black|yellow|2 + 2 {{=}} 4}}</nowiki></code>
+
| <code><nowiki>{{font color|black|yellow|2 + 2 {{=}} 4}}</nowiki></code>
| {{Font color|black|yellow|2 + 2 {{=}} 4}}
+
| {{font color|black|yellow|2 + 2 {{=}} 4}}
 
|-
 
|-
| <code><nowiki>{{Font color|black|yellow|3= 2 + 2 = 4}}</nowiki></code>
+
| <code><nowiki>{{font color|black|yellow|3= 2 + 2 = 4}}</nowiki></code>
| {{Font color|black|yellow|3= 2 + 2 = 4}}
+
| {{font color|black|yellow|3= 2 + 2 = 4}}
 
|}
 
|}
  
 
[[Category:Documentation subpages]]
 
[[Category:Documentation subpages]]

Revision as of 00:54, 10 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