Template talk:Spaced en dash

message: For discussions and motivations why we have the code we have for this template see Template talk:·, since it uses the same or similar code.
--David Göthberg 12:48, 15 August 2007 (UTC)
thread_title:  The code for this template 

message: It seems like this code should be left alone but renamed to Template:Mdash as a spaced en dash should only be used as a stylistic variation on an em dash. Any spaced en dash should have a non-breaking space before it, and there should be no spaced em dashes. So it makes sense to make this the M dash template. (these rules are all described on WP:DASH) —TedPavlic | (talk) 01:30, 6 January 2009 (UTC)
replies: text: Following the discussion at , maybe it's best to rename  to something like . —TedPavlic | (talk) 14:57, 6 January 2009 (UTC)
thread_title:  Rename to Template:Mdash? (or similar) 

message: Where neither element has an internal space, this template makes the spacing wrong. It should generally be unspaced. Can someone fix it, or it will need to be discontinued? 1911–13, not 191113. Tony (talk) 06:31, 28 September 2009 (UTC)
replies: text: In those cases, – (or –) would be used instead of . The  is supposed to handle the spaced case. It's much shorter than  –. Spaced en dashes are used in ranges of spaced elements (e.g., January 4December 2) or as a stylistic alternative to unspaced em dashes. —TedPavlic (talk/contrib/@) 17:40, 28 September 2009 (UTC)
thread_title:  Wrong spacing 

message: "Also, this template should not routinely be used in regular article text and certainly not where an em-dash would be more appropriate. As a rule, this template should not be used between clauses of a sentence."
Why? I understand not using it instead of an emdash but why can't it be used in normal text to replace  –? McLerristarr | Mclay1 04:34, 18 November 2010 (UTC)
replies: text: Just two reasons are that on many browsers it makes the spacing before and after different; and it is misused in many places where a space is proscribed; i.e., 2010–11. The template, in my view, should be deleted. Tony (talk) 07:48, 18 November 2010 (UTC)
thread_title:  Usage 

message: The examples given for the template contradict the guidance in the Wikipedia Manual of Style "dashes" section and should really be changed accordingly. ► Philg88 ◄ talk 22:36, 9 April 2011 (UTC)
replies: text: The examples are not real examples; they're just to illustrate a point. However, this template is not for use in prose; it's for separating items in navboxes and the like in which case the examples are perfectly fine. McLerristarr | Mclay1 03:03, 11 April 2011 (UTC)
thread_title:  MOS conflict 

message: Replacements of most  templates have been completed by SD5bot. 11895 pages were edited. Replacement criteria was:
* "LoremIpsum" would be replaced with "LoremIpsum"
* "Lorem Ipsum" would be replaced with "LoremIpsum"
* All other instances of  were left alone. ( should probably now become a separate template that is without spaces)
On pages where  was misused (resulting in a replacement by the bot), editors will still need to change  to the appropriate html equivalent (or back to  if it becomes a separate template).
Regards, SD5 23:36, 2 April 2012 (UTC)
replies: text: so a space after the template is no longer the "recommended usage"? 65.88.89.32 (talk) 00:02, 3 April 2012 (UTC)
replies: text: Documentation probably hasn't been updated yet. Also wait to see if  becomes a separate template. SD5 00:11, 3 April 2012 (UTC)
replies: text: Thanks for doing this, SD5, I really appreciate it. Regarding the trailing spaces (or lack thereof), take a look at the "Incorrect usage" section of the documentation – it doesn't matter whether there are trailing spaces after this template or not, the same result is produced. I've also had a crack at updating the documentation a little.  is indeed going to become a separate template, producing just and en dash, but are we really sure it's ready to change yet? Looking at Special:WhatLinksHere/Template:Ndash I still see it is used on maybe 2000 pages. I picked one article at random, H. V. Evatt, and I'm struggling to see why the bot didn't replace  with  there? Jenks24 (talk) 04:21, 3 April 2012 (UTC)
replies: text: No idea why it wasn't replaced. The bot simply scanned pages shown on "What links here" for ndash, so if the page wasn't scanned it presumably didn't show up on the list for whatever reason. Most of those 2000 probably contain things like total  were. I was told not to replace the ndash template where there were spaces both sides so that when ndash becomes it's own template nothing needs changing back. SD5 18:59, 3 April 2012 (UTC)
replies: text: OK. Did you also change over the redirects, such as  and ? What I'm really trying to figure out is when it will be OK to switch over the  template. Jenks24 (talk) 05:05, 4 April 2012 (UTC)
replies: text: I'd say, not until Special:WhatLinksHere/Template:Ndash is empty. ― A. di M.​  14:33, 4 April 2012 (UTC)
replies: text: But what about articles where that template is currently used incorrectly, but changing the ndash template would be a correction? Jenks24 (talk) 15:35, 4 April 2012 (UTC)
replies: text: OK, so let's say, not until Special:WhatLinksHere/Template:Ndash is short enough that someone could check each of them. ― A. di M.​  17:56, 12 April 2012 (UTC)
replies: text: As of this timestamp, the 46 remaining transclusions are used as ndashes (without the need for a non-breaking space). DrKiernan (talk) 19:33, 18 April 2012 (UTC)

text: In the diff you provide, DrKiernan changed  to  in another users comment. However, the whole point of this is that  used to "act" like , so I'm not seeing the problem with that edit. SD5 03:07, 22 April 2012 (UTC)
thread_title:  Template replacement 

message: redirects to this template. this is incorrect, it should redirect to . spaced ndash is a templated application of a MOS guideline and does not represent an actual dash. 65.88.88.127 (talk) 20:12, 13 May 2012 (UTC)
thread_title:  incorrect redirect 

message: The recommended usage is:
<BR>
but:
<BR>
makes more sense. The template already includes a trailing space – why should we add another? —[AlanM1 (talk)]— 11:25, 7 August 2012 (UTC)
replies: text: I dunnoperhaps to allow the WikiText in the edit box to wrap after each item of a long list? As you can see in the WikiText for the previous sentence, I usually omit it, too. — A. di M.  11:28, 8 August 2012 (UTC)
thread_title:  Why extra trailing space? 

message: According to the current documentation, SaltPepper (i.e. no space between the template's closing braces and subsequent word) is an incorrect use of the template (that "still behave[s] well"). Why is this incorrect..? Sardanaphalus (talk) 12:33, 9 August 2014 (UTC)
thread_title:  "Incorrect" use..? 

message: Is it still intended for this template not to be used in regular paragraphs? I ask because the spaces flanking a dash in regular text should not be non-breaking. Thanks in advance for the clarification! Q·L·1968 ☿ 21:25, 19 October 2016 (UTC)
replies: text: I wouldn't worry much about that. Editors who use the keystroke (or the en-dash button below the edit box) rarely insert the nbsp thing. Tony (talk)  06:51, 21 October 2016 (UTC)
thread_title: Intended usage

message: A date range with this template looks terrible when the page is justified—the spaces around the dash can get pretty wide. 
What objections are there to something like  –  instead of what's used now? 
: (31 February 20171 March 2017)
vs
:(31 February 2017 – 1 March 2017)
Curly "JFC" Turkey 🍁 ¡gobble! 04:05, 19 July 2017 (UTC)
thread_title:  Date ranges & justification 

message: When using this template if I have spaces surrounding the template, it appears as having two spaces on one side and one space on the other. For example Foo  Bar renders as Foo  – Bar with two spaces on the first side and one space on the other side. Rendered example: "Foo  Bar" Ergzay (talk) 19:03, 6 November 2021 (UTC)
thread_title:  Template appears to render incorrectly on Firefox 94 on Mac