Difference between revisions of "Template:=/doc"

From Summertime Saga Wiki
Jump to: navigation, search
m
m
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 09: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