Difference between revisions of "Template:En dash/doc"

From blackwiki
Jump to navigation Jump to search
imported>LlywelynII
(removing over-hasty localconsensus from page)
imported>EEng
(initial doc)
Line 1: Line 1:
This is an en dash or ndash (). It has the same function as the code "<code>&amp;ndash;</code>" or the symbol .
+
This is a hyphen (-). It has the same function as the code <code>&amp;#45;</code> or the symbol -. It comes in handy when an editor wishes to make explicit that he or she really does intend a hyphen, so that other editors will, perhaps, think twice before mindlessly changing to ndash or whatever. Also, by allowing <code>{{t|hyphen}}</code> to be coded instead of  <code>&amp;#45;</code>, it avoids the wrath of people who think html escapes are some kind of abomination. (There does not seem to be a symbolic escape e.g. <code>&amp;hyphen;</code>, as far as I can tell.)
 
 
== See also ==
 
* [[MOS:NDASH]] for appropriate usage of ndashes.
 
* {{tl|Spaced ndash}} – Spaced ndash "&nbsp;&ndash; " renders spaced [[Dash#En dash|en dashes]] with non-breaking space before
 

Revision as of 23:11, 27 November 2013

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 he or she really does intend a hyphen, so that other editors will, perhaps, think twice before mindlessly changing to ndash or whatever. Also, by allowing Template:T to be coded instead of &#45;, it avoids the wrath of people who think html escapes are some kind of abomination. (There does not seem to be a symbolic escape e.g. &hyphen;, as far as I can tell.)