Difference between revisions of "Template:0ws/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>DePiep
m (create link to article ZWSP)
blackwiki>DePiep
m (sp)
Line 3: Line 3:
  
 
===Template===
 
===Template===
The template {{tl|0ws}} insderts the code {{code|&#x200B;}} literally, which produces a (non-breaking) [[ZWSP|<small>ZERO WHITE SPACE</small>]] in the rendered wiki-page.
+
The template {{tl|0ws}} inserts the code {{code|&#x200B;}} literally, which produces a non-breaking [[ZWSP|<small>ZERO WHITE SPACE</small>]] in the rendered wiki-page.
 
=== Usage ===
 
=== Usage ===
 
This is a convenience template for the zero-width space character, U+200B ({{code|&#x200B;}}). <br>
 
This is a convenience template for the zero-width space character, U+200B ({{code|&#x200B;}}). <br>

Revision as of 18:40, 5 August 2010

Template

The template {{0ws}} inserts the code &#x200B; literally, which produces a non-breaking ZERO WHITE SPACE in the rendered wiki-page.

Usage

This is a convenience template for the zero-width space character, U+200B (&#x200B;).
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