Editing Template:Zero width joiner/doc

From Guild of Archivists
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 3: Line 3:
{{Template shortcut|zwj}}
{{Template shortcut|zwj}}


The template {{tl|zwj}} inserts the code {{code|‍}}, producing a {{unichar|200D|Zero-width joiner|nlink=w:Zero-width joiner|html=‍|decimal=8205}} in the rendered wiki-page. This invisibly 'sews together' two words as if they were a single word, preventing their separation at line breaks. It acts as a {{tlg|nbsp|alttext=no-break space}} {{code| }} except is immaterial and does not display on the page.
The template {{tl|zwj}} inserts the code {{code|‍}}, producing a {{unichar|200D|Zero-width joiner|nlink=Zero-width joiner|html=‍|decimal=8205}} in the rendered wiki-page. This invisibly 'sews together' two words as if they were a single word, preventing their separation at line breaks. It acts as a {{tlg|nbsp|alttext=no-break space}} {{code| }} except is immaterial and does not display on the page.


== Usage ==
== Usage ==
Line 13: Line 13:


:''something that needs a citation''‍{{fake citation needed}}
:''something that needs a citation''‍{{fake citation needed}}
== History ==
This template used to employ code of the older "[[Zero-width non-breaking space]]" that is now outdated, as of Unicode 3.2. Though Unicode suggests a {{smallcaps|[[Word Joiner]]}} instead, zero-width joiner does practically the same thing and better matches the already-existing {{tl|zwnj}}. An alternative is to simply use the HTML code {{code|‍}} in wikimarkup.


== See also ==
== See also ==
Line 20: Line 23:
* {{tl|Nbhyph}} (no-break hyphen)
* {{tl|Nbhyph}} (no-break hyphen)
* {{tl|Shy}} (soft hyphen)
* {{tl|Shy}} (soft hyphen)
{{Inline spacing templates}}
{{Inline spacing templates}}
<includeonly>
<includeonly>
Please note that all contributions to Guild of Archivists may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see GoArch:Copyrights for details). Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)