Difference between revisions of "Template:0ws/doc"
Jump to navigation
Jump to search
blackwiki>DePiep (cleanup) |
blackwiki>DePiep |
||
| Line 2: | Line 2: | ||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
| + | ===Template=== | ||
| + | The template {{tl|0ws}} insderts the code {{code|&#X200B;}} literally. | ||
=== Usage === | === Usage === | ||
| − | This is a convenience template for the zero-width space character, | + | This is a convenience template for the zero-width space character, U+200B ({{code|​}}). <br> |
| + | 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. | ||
Revision as of 21:08, 22 June 2010
| This is a documentation subpage for Template:0ws. It contains usage information, categories and other content that is not part of the original template page. |
Template
The template {{0ws}} insderts the code &#X200B; literally.
Usage
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.