Template:=: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		 Tip:Instead of "espacing" every occurrence of an equals sign in an unnamed parameter of a template call with {{=}}, it may be easier to use the unnamed parameter like a named parameter.
Tip:Instead of "espacing" every occurrence of an equals sign in an unnamed parameter of a template call with {{=}}, it may be easier to use the unnamed parameter like a named parameter.
		
	
|  (Added tip for easier "escaping".) | mNo edit summary | ||
| Line 2: | Line 2: | ||
| == Documentation == | == Documentation == | ||
| This template is used to insert a = character into a template or table where it would otherwise affect the formatting of the template/table instead of displaying the character. It is most likely to be used in conjunction with the [[Template:Key|Key]] template. See its documentation for further information. | This template is used to insert a = character into a template or table where it would otherwise affect the formatting of the template/table instead of displaying the character. It is most likely to be used in conjunction with the [[Template:Key|Key]] template. See its documentation for further information. | ||
| {{Tip|Instead of "espacing" every occurrence of an equals sign in an unnamed parameter of a template call with {{ | {{Tip|Instead of "espacing" every occurrence of an equals sign in an unnamed parameter of a template call with {{T|=}}, it may be easier to use the unnamed parameter like a named parameter.<br> | ||
| Both of the following deliver {{Code|1=if (i == 0) return count == 0;}}: | Both of the following deliver {{Code|1=if (i == 0) return count == 0;}}: | ||
| * {{ | * {{T|Code|{{P|<nowiki>if (i {{=}}{{=}} 0) return count {{=}}{{=}} 0;</nowiki>}}}} | ||
| * {{ | * {{T|Code|{{P|1|2=if (i == 0) return count == 0;}}}} | ||
| }} | }} | ||
| [[Category:Templates for within templates]] | [[Category:Templates for within templates]] | ||
Revision as of 02:08, 27 June 2024
=
Documentation
This template is used to insert a = character into a template or table where it would otherwise affect the formatting of the template/table instead of displaying the character. It is most likely to be used in conjunction with the Key template. See its documentation for further information.
 Tip:Instead of "espacing" every occurrence of an equals sign in an unnamed parameter of a template call with {{=}}, it may be easier to use the unnamed parameter like a named parameter.
Tip:Instead of "espacing" every occurrence of an equals sign in an unnamed parameter of a template call with {{=}}, it may be easier to use the unnamed parameter like a named parameter.Both of the following deliver if (i == 0) return count == 0;: