Editing Template:Zero width joiner/doc
From Guild of Archivists
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= | 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> |