Difference between revisions of "Template:0ws/doc"
blackwiki>DePiep |
blackwiki>DePiep (Added text "Deprecated" in red. Preferred using: {{tl|zwsp}}) |
||
| Line 1: | Line 1: | ||
| − | <span style="color:red;">''' | + | {{Documentation subpage}} |
| − | + | This template is <span style="color:red;">'''deprecated'''</span>.<br/> | |
| + | Consider using: | ||
* {{tl|zwsp}}, with exactly the same functionality | * {{tl|zwsp}}, with exactly the same functionality | ||
| − | |||
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | <!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE --> | ||
| − | |||
===Template=== | ===Template=== | ||
The template {{tl|0ws}} inserts the code {{code|​}} 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|​}} literally, which produces a non-breaking [[ZWSP|<small>ZERO WHITE SPACE</small>]] in the rendered wiki-page. | ||
Revision as of 19:10, 5 August 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. |
This template is deprecated.
Consider using:
- {{zwsp}}, with exactly the same functionality
Template
The template {{0ws}} inserts the code ​ 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 (​).
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.