Template:=

From Open Fortress Wiki
Revision as of 09:09, 4 January 2025 by Kate (talk | contribs) (Created page with "<onlyinclude>=</onlyinclude> == 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 {{T|&#6...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

=

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.

Both of the following deliver if (i == 0) return count == 0;:

  • {{Code|if (i {{=}}{{=}} 0) return count {{=}}{{=}} 0;}}
  • {{Code|1=if (i == 0) return count == 0;}}