Toggle menu
15
236
76
27.7K
Kenshi Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Zero width joiner/doc: Difference between revisions

Template page
Created page with "{{Documentation subpage}} {{High-use}} <!-- Add categories where indicated at the bottom of this page and interwikis at Wikidata --> {{Template shortcut|zwj}} The template {{tl|zero width joiner}} inserts the code {{code|‍}}, producing a {{unichar|200D|Zero-width joiner|nlink=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 {{tlg|..."
 
(No difference)

Latest revision as of 06:18, 16 February 2025

Template:High-use

The template {{zero width joiner}} inserts the code &zwj;, producing a U+200D ZERO WIDTH JOINER (&zwj;) 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 {{non-breaking space}} &nbsp; except that it is immaterial and does not display on the page.

Usage

This template can be used, for example, to prevent text to wrap as in:

something that needs a citation
Template:Fake citation needed

Inserting {{zero width joiner}} between the text and the tag produces instead:

A zero width joinerTemplate: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 word joiner instead, zero-width joiner does practically the same thing and better matches the already-existing {{zwnj}}. An alternative is to simply use the HTML code &zwj; in wikimarkup.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. See a monthly parameter usage report for Template:Zero width joiner in articles based on its TemplateData.

TemplateData for Zero width joiner

Inserts a zero-width joiner character

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
No parameters specified

See also