<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://deeppolitics.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ASpaced_ndash%2Fdoc</id>
	<title>Template:Spaced ndash/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://deeppolitics.org/index.php?action=history&amp;feed=atom&amp;title=Template%3ASpaced_ndash%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://deeppolitics.org/index.php?title=Template:Spaced_ndash/doc&amp;action=history"/>
	<updated>2026-11-30T07:21:43Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://deeppolitics.org/index.php?title=Template:Spaced_ndash/doc&amp;diff=33008&amp;oldid=prev</id>
		<title>WikiSpooks&gt;Robin: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://deeppolitics.org/index.php?title=Template:Spaced_ndash/doc&amp;diff=33008&amp;oldid=prev"/>
		<updated>2015-06-28T09:39:24Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}} __NOTOC__&lt;br /&gt;
&amp;lt;!-- PLEASE ADD CATEGORIES WHERE INDICATED AT THE BOTTOM OF THIS PAGE --&amp;gt;&lt;br /&gt;
{{COinS safe|n}}&lt;br /&gt;
{{Template shortcuts |snd|spnd|sndash|spndash}}&lt;br /&gt;
&lt;br /&gt;
This is the &amp;#039;&amp;#039;&amp;#039;spaced ndash&amp;#039;&amp;#039;&amp;#039; template; it looks like this &amp;quot; &amp;amp;ndash; &amp;quot;. &lt;br /&gt;
&lt;br /&gt;
It works similarly to the HTML markup sequence &amp;lt;code&amp;gt;&amp;#039;&amp;#039;&amp;#039;&amp;amp;amp;nbsp;&amp;amp;amp;ndash;&amp;#039;&amp;#039;&amp;#039;&amp;amp;nbsp;&amp;lt;/code&amp;gt; i.e. a [[non-breaking space]] (which will not line-break and will not collapse together with normal spaces that come before the template), a short dash (known as an [[Dash#En dash|en dash]]), and a normal space (which &amp;#039;&amp;#039;will&amp;#039;&amp;#039; line-break and &amp;#039;&amp;#039;will&amp;#039;&amp;#039; collapse together with normal spaces that come after the template).&lt;br /&gt;
&lt;br /&gt;
Among other uses, this template may be used in lists to provide something stronger than a [[Template:·|bold middot]] &amp;quot;&amp;#039;&amp;#039;&amp;#039;&amp;amp;middot;&amp;#039;&amp;#039;&amp;#039;&amp;quot; or a [[Template:•|bullet]] &amp;quot;&amp;amp;bull;&amp;quot;, but shorter than an [[Dash#Em dash|em dash]] &amp;quot;&amp;amp;mdash;&amp;quot;. For horizontal lists, use {{tl|flatlist}} or &amp;lt;code&amp;gt;class=&amp;quot;hlist&amp;quot;&amp;lt;/code&amp;gt; instead (see [[WP:HLIST]]) Here, the recommended usage is to use &amp;#039;&amp;#039;no&amp;#039;&amp;#039; space before the template and one space after the template, like this:&lt;br /&gt;
::&amp;lt;nowiki&amp;gt;[[Salt]]{{spaced ndash}} [[Pepper]]&amp;lt;/nowiki&amp;gt;&lt;br /&gt;
:This will render one space on each side of the dash, like this:&lt;br /&gt;
::[[Salt]] &amp;amp;ndash; [[Black pepper|Pepper]]&lt;br /&gt;
:A line break will come &amp;#039;&amp;#039;after&amp;#039;&amp;#039; one of the dashes, not before, when the spacing is used as suggested, like this:&lt;br /&gt;
::[[Salt]] &amp;amp;ndash; [[Black pepper|Pepper]] &amp;amp;ndash;&lt;br /&gt;
::[[Curry]] &amp;amp;ndash; [[Saffron]]&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot; style=&amp;quot;border: none; background: none;&amp;quot;&lt;br /&gt;
|Colspan=2 |&amp;lt;center&amp;gt;Here&amp;#039;s an example of use for lists&amp;lt;/center&amp;gt;&lt;br /&gt;
|-&lt;br /&gt;
|| One use of template &amp;quot;Spaced ndash&amp;quot; is within other templates, tables, lists, and similar things to provide a separator between items. It is also to be consistent so that the article editor can use their choice of &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;bull}}&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;dot}}&amp;#039;&amp;#039;&amp;#039;, &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;middot}}&amp;#039;&amp;#039;&amp;#039;, or  &amp;#039;&amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;spaced ndash}}&amp;#039;&amp;#039;&amp;#039; and not have to insert the {{bull}}, {{dot}}, {{middot}}, or {{spaced ndash}} symbol, they can use any of these as a simple macro. The idea being that if you have a table with a list of items, you can insert a spaced short dash (or the other symbols) between items that will appear correct, in that the items always have just one separator between them, and when a list crawls to the next line, the dash hangs onto the prior item instead of rolling over to the next line. Notice on the end of this box, the symbol hangs on the end of the last item that will fit on the line indicating that additional items follow on the next line as part of this list, but the item only stays on the line if the item and the dash will fit.  See the column on the right.  In code it is &amp;#039;&amp;#039;&amp;#039; Item1&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;spaced ndash}} Item2&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;spaced ndash}} Item3&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;spaced ndash}} Item4&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;spaced ndash}} Item5&amp;lt;nowiki&amp;gt;{{&amp;lt;/nowiki&amp;gt;spaced ndash}}&amp;#039;&amp;#039;&amp;#039; etc. (with some smaller items squeezed in to show that the list does not have to be the same number of items per line) but in the box they all fold perfectly once it runs out of space on the line to fit the next item and the dash following.&lt;br /&gt;
| &amp;lt;p&amp;gt;Normally, in a real box these items would be links, but this is an example.&amp;lt;/p&amp;gt; Item1{{spaced ndash}} A{{spaced ndash}} B{{spaced ndash}} Item2{{spaced ndash}} Item3{{spaced ndash}} Item4{{spaced ndash}} Item5{{spaced ndash}} extra item{{spaced ndash}} E{{spaced ndash}} 1{{spaced ndash}} 2{{spaced ndash}} 3{{spaced ndash}} 4{{spaced ndash}} 5{{spaced ndash}} 6{{spaced ndash}} 7{{spaced ndash}} {{nowrap|item that won&amp;#039;t attach to prior line unless it fits in the remaining space{{spaced ndash}}}} Q{{spaced ndash}} A slightly longer item{{spaced ndash}} KK{{spaced ndash}} An obviously really even longer item that the dash will hang at its end{{spaced ndash}} Item6{{spaced ndash}} C{{spaced ndash}} Item7{{spaced ndash}} Item8{{spaced ndash}} Item9{{spaced ndash}} Item10{{spaced ndash}} Item11{{spaced ndash}} Item12{{spaced ndash}} D{{spaced ndash}} Item13{{spaced ndash}} Item14{{spaced ndash}} Item15{{spaced ndash}} Item16{{spaced ndash}} Item17{{spaced ndash}} Item18 &amp;lt;p&amp;gt;The space on the end makes sure the dash doesn&amp;#039;t touch the edge of the box, either&amp;lt;/p&amp;gt;&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
== Dot sizes ==&lt;br /&gt;
{{Dot size}}&lt;br /&gt;
&lt;br /&gt;
== See also ==&lt;br /&gt;
* {{tn|·}}, which produces a spaced bold [[interpunct]] (&amp;quot;middot&amp;quot;): &amp;quot;{{·}}&amp;quot;&lt;br /&gt;
* {{tn|•}}, which produces a spaced bullet-point: &amp;quot;{{•}}&amp;quot;&lt;br /&gt;
* {{tn|\}}, which produces a spaced (forward-)slash: &amp;quot;{{\}}&amp;quot;&lt;br /&gt;
* {{tl|ndash}}, which produces an (unspaced) [[en dash]].&lt;br /&gt;
* {{tl|mdash}}, which produces an (unspaced) [[em dash]].&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;&lt;br /&gt;
[[Category:Wikipedia character-substitution templates]]&lt;br /&gt;
[[Category:Inline spacing templates]]&lt;br /&gt;
&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>WikiSpooks&gt;Robin</name></author>
	</entry>
</feed>