Difference between revisions of "Template:Space+parenthesis/doc"

m
m
Line 3: Line 3:
 
Creates a spaced parenthesis so as to avoid text collisions, especially between italicized content and a closing non-italicized round bracket:
 
Creates a spaced parenthesis so as to avoid text collisions, especially between italicized content and a closing non-italicized round bracket:
  
It has the short but not entirely intuitive short {{tlx|--)}} because both {{tlx|)}} and {{tlx|-)}} were already used by other templates.
+
It has the short but not entirely intuitive short {{tlx|--)}} because {{tlx|)}} were already used by other templates.
  
 
== Usage ==
 
== Usage ==

Revision as of 18:44, 5 April 2024

Creates a spaced parenthesis so as to avoid text collisions, especially between italicized content and a closing non-italicized round bracket:

It has the short but not entirely intuitive short {{--)}} because {{)}} were already used by other templates.

Usage

Example:

"An equivalent French slang term (Template:Lang{{--)}} is primarily used in Côte d'Ivoire."

produces:

"An equivalent French slang term (Template:Lang) is primarily used in Côte d'Ivoire."

instead of:

"An equivalent French slang term (Template:Lang) is primarily used in Côte d'Ivoire."

See also