Template:Zero width joiner/doc: Difference between revisions
From Guild of Archivists
(shortcut) |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
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=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=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. | ||
== Usage == | == Usage == | ||
Line 13: | Line 13: | ||
:''something that needs a citation''‍{{fake citation needed}} | :''something that needs a citation''‍{{fake citation needed}} | ||
== See also == | == See also == | ||
Line 23: | Line 20: | ||
* {{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> |
Latest revision as of 00:26, 21 January 2018
This is a documentation subpage for Template:Zero width joiner. It contains usage information, categories and other content that is not part of the original template page. |
The template {{zwj}} inserts the code
, producing a U+200D zero-width joiner (HTML: ‍
‍
) 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 {{no-break space}}
except is immaterial and does not display on the page.
Usage[edit source]
This template can be used, for example, to prevent text to wrap as in:
- something that needs a citation
[citation needed]
Inserting {{zwj}}
between the text and the tag produces instead:
- something that needs a citation[citation needed]