• Home
  • Random
  • Recent changes
  • Special pages
  • Settings
  • About MOASSpedia
  • Disclaimers
MOASSpedia
  • 216.73.216.55
  • Talk
  • Watchlist
  • Contributions
  • Log in

Template:Zero width joiner

Template Discussion
  • Language
  • Watch
  • History
  • Edit
    • Page information
    • Permanent link
    • What links here
(Redirected from Template:Zwj)
Template documentation[view] [edit] [history] [purge]
Shortcut
  • {{zwj}}

The template {{zero width joiner}} inserts the code ‍, producing a U+200D ZERO-WIDTH JOINER (HTML ‍⧼dot-separator⧽ ‍) 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.

Contents

  • 1 Usage
  • 2 History
  • 3 TemplateData
  • 4 See also

Usage

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

something that needs a citation
[citation needed]

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

A zero width joiner‍[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 ‍ in wikimarkup.

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this 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

  • {{Non breaking hyphen}}
  • {{Soft hyphen}}
  • {{Zwnj}} – zero width non-joiner, allows two pieces of text to wrap when they otherwise wouldn't
  • v
  • t
  • e
Inline spacing templates
Non-breaking space characters
  • {{figure space}}
  • {{hair space}}
  • {{narrow no-break space}}
  • {{nb5}}
  • {{ns}}
  • {{quad}}
  • {{spaces}}
  • {{thin space}}
  • {{word joiner}}
  • {{zero width joiner}}
Breaking space characters
  • {{sp}}
  • {{zero width space}}
Non-character spaces
  • {{gaps}}
  • {{in5}}
  • {{indent}}
  • {{pad}}
  • {{px2}}
  • {{vpad}}
The above documentation is transcluded from Template:Zero width joiner/doc. (edit | history)
Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages.
Add categories to the /doc subpage. Subpages of this template.
Retrieved from "https://moasspedia.org/w/index.php?title=Template:Zero_width_joiner&oldid=39922"
Categories:
  • Templates using TemplateData
  • Character templates
  • Inline spacing templates
  • Text-specific formatting and function templates
Last edited on 26 October 2021, at 12:24

MOASSpedia

Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • This page was last edited on 26 October 2021, at 12:24.
  • Content is available under Creative Commons Attribution-ShareAlike unless otherwise noted.
  • Privacy policy
  • About MOASSpedia
  • Disclaimers
  • Desktop