Template:Hyphen/doc

From Vigyanwiki
< Template:Hyphen
Revision as of 21:13, 5 January 2021 by wikipedia>P199 (add cat.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is a hyphen (-). It has the same function as the code &#45; or the symbol -. It comes in handy when an editor wishes to make explicit that they really do intend a hyphen, to discourage other editors from changing it to an ndash or other punctuation, or when using an explicit hyphen may cause technical issues, such as with the -{ wiki syntax for language converter. By allowing {{hyphen}} to be coded instead of &#45;, it avoids objections to HTML escaping. (There does not seem to be a symbolic escape e.g. &hyphen;.)