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

From blackwiki
Jump to navigation Jump to search
blackwiki>DePiep
(Created and insert doc-text from temp-page. Unedited.)
 
blackwiki>DePiep
(cleanup)
Line 3: Line 3:
  
 
=== Usage ===
 
=== Usage ===
==Details==
 
 
This is a convenience template for the zero-width space character, Ux200B.  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.
 
This is a convenience template for the zero-width space character, Ux200B.  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.
 
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.
 
[[Category:Wikipedia formatting and function templates|{{PAGENAME}}]]
 
</noinclude>
 
  
 
=== See also ===
 
=== See also ===
Line 15: Line 11:
 
<includeonly>
 
<includeonly>
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
<!-- CATEGORIES AND INTERWIKIS HERE, THANKS -->
 
+
[[Category:Wikipedia formatting and function templates|{{PAGENAME}}]]
 
</includeonly>
 
</includeonly>

Revision as of 21:04, 22 June 2010

Usage

This is a convenience template for the zero-width space character, Ux200B. 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