Non breaking en dash/doc

From Readers Who Know: The Paneidoverse Encyclopedia
Jump to navigation Jump to search

This template inserts the code ‍–‍, producing a U+2013 EN DASH (–) within two U+200D ZERO-WIDTH JOINERS (‍), one each on both of its sides. This prevents line break at the endash.


This can be used, for example, to prevent line break as in:

2020–2022 2020–

Using {{nbnd}} (or its aliases: {{nbndash}},{{Non breaking en dash}}) between the years force to produce:

2020{{nbnd}}2022 → 2020‍–‍2022
1952{{nbndash}}1960 → 1952‍–‍1960
1860{{Non breaking en dash}}1865 → 1860‍–‍1865

See also

  1. REDIRECT Template:Spaced en dash