Difference between revisions of "Template:Zwsp"

From EVE University Wiki
Jump to: navigation, search
(Add documentation)
(Replaced content with "​<noinclude> {{documentation}} Category:Template</noinclude>")
Line 1: Line 1:
 
&#8203;<noinclude>
 
&#8203;<noinclude>
== Documentation ==
+
{{documentation}}
{{tl|Zwsp}} inserts the code <code><nowiki>&#x200B</nowiki></code> literally, which produces a "Zero width space" in the rendered wiki-page.
 
 
 
===Usage===
 
This is a convenience template for the zero-width space character, U+200B (<code><nowiki>&#x200B</nowiki></code>).
 
 
 
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.
 
 
 
<small>(documentation copied from the [https://en.wikipedia.org/wiki/Template:Zwsp/doc English wikipedia])</small>
 
 
 
 
[[Category:Template]]</noinclude>
 
[[Category:Template]]</noinclude>

Revision as of 13:50, 20 January 2017

Template documentation (for the above template, sometimes hidden or invisible)

{{Zwsp}} inserts the code &#x200B literally, which produces a "Zero width 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.

(documentation copied from the English wikipedia)
Visit Template:Zwsp/doc to edit this text! (How does this work?) (Refresh this text - why?)