●
H o m e
●
R a n d o m
●
N e a r b y
●
L o g i n
●
S e t t i n g s
●
D o n a t e
●
A b o u t W i k i p e d i a
●
D i s c l a i m e r s
Search
T e m p l a t e : N o n b r e a k i n g e n d a s h
●
T e m p l a t e
●
T a l k
●
L a n g u a g e
●
●
( R e d i r e c t e d f r o m T e m p l a t e : N b n d )
This template inserts the code ‍–‍
, producing a U+2013 – EN DASH (– ) with a U+200D ZERO WIDTH JOINER (‍ ) on each of its sides. This prevents line break at the endash.
Usage
This can be used, for example, to prevent line break as in:
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
{{·}} , which produces a spaced bold interpunct ("middot"): " · "
{{•}} , which produces a spaced bullet-point: " • "
{{\}} , which produces a spaced (forward-)slash: " / "
{{em dash}} , which produces an (unspaced) em dash : "—"
{{en dash}} , which produces an (unspaced) en dash : "–"
{{spaced en dash}} , which produces a non-breaking space, followed by an en dash , and then a breaking space: " – "
{{spaced en dash space}} , which produces an en dash preceded and followed by a non-breaking space: " – "
{{soft hyphen}} , which produces a soft hyphen to allow a line break with a visible hyphen in a long word if needed
MOS:DASH
Non-breaking space
User:Tony1/How to use hyphens and dashes
R e t r i e v e d f r o m " https://en.wikipedia.org/w/index.php?title=Template:Non_breaking_en_dash&oldid=1156603244 "
L a s t e d i t e d o n 2 3 M a y 2 0 2 3 , a t 1 8 : 0 0
L a n g u a g e s
● ਪ ੰ ਜ ਾ ਬ ੀ
● S i m p l e E n g l i s h
● ไ ท ย
● T h i s p a g e w a s l a s t e d i t e d o n 2 3 M a y 2 0 2 3 , a t 1 8 : 0 0 ( U T C ) .
● C o n t e n t i s a v a i l a b l e u n d e r C C B Y - S A 4 . 0 u n l e s s o t h e r w i s e n o t e d .
● P r i v a c y p o l i c y
● A b o u t W i k i p e d i a
● D i s c l a i m e r s
● C o n t a c t W i k i p e d i a
● C o d e o f C o n d u c t
● D e v e l o p e r s
● S t a t i s t i c s
● C o o k i e s t a t e m e n t
● T e r m s o f U s e
● D e s k t o p