Template:Zero width space: Difference between revisions

From Guild of Archivists
m (Dinoguy1000 moved page Template:Zwsp to Template:Zero width space: full name)
 
m (1 revision imported)
 

Latest revision as of 00:00, 21 January 2018

Template documentation[view] [edit] [history] [purge]

{{Zwsp}} inserts the code literally, which produces a U+200B zero width space in the rendered wiki-page.

Usage[edit source]

This is a convenience template for the zero-width space character, U+200B (​).
It is completely invisible in display, but has the effect of acting as a multi-line breaking point for text inside a word that otherwise would not break. Whitespace and normal dashes (-) are already multi-line breakpoints, but this template allows the special insertion of invisible breakpoints inside words.

The zero-width space character has a higher breaking priority than the dash character (-), so when using it in a phrase with dashes, it is recommended to place a zero-width space immediately after each dash as well.

See also[edit source]

  • {{Shy}} Soft hyphen, appears only if text is wrapped mid-word at specified point
  • {{Nbhyph}} No-break hyphen