Template:-

From Homestar Runner Wiki

(Difference between revisions)
Jump to: navigation, search
(use new cat)
(I'm finally getting around to separating {{-}} and {{--}} like I wanted to. This will be repurposed for n-dashes. See talk for details.)
Line 1: Line 1:
-
&mdash;<noinclude><br/>
+
&ndash;<noinclude><br/>
-
This template embeds an <code>&amp;mdash; [&mdash;]</code> in text.
+
This template embeds an <code>&amp;ndash; [&ndash;]</code> in text.
This is a replacement template created in order to make it easier and cleaner to differentiate a [[Wikipedia:Hyphen-minus|Hyphen-minus]] (<code>[-]</code>) or an <code>&amp;ndash; [&ndash;]</code> from <code>&amp;mdash; [&mdash;]</code> in code.  
This is a replacement template created in order to make it easier and cleaner to differentiate a [[Wikipedia:Hyphen-minus|Hyphen-minus]] (<code>[-]</code>) or an <code>&amp;ndash; [&ndash;]</code> from <code>&amp;mdash; [&mdash;]</code> in code.  
For more information on Unicode dashes, please visit [https://www.cs.tut.fi/~jkorpela/dashes.html#unidash this page].
For more information on Unicode dashes, please visit [https://www.cs.tut.fi/~jkorpela/dashes.html#unidash this page].
 +
 +
==See Also==
 +
*{{t|--}}
[[Category:Simple Formatting Templates|{{PAGENAME}}]]
[[Category:Simple Formatting Templates|{{PAGENAME}}]]
</noinclude>
</noinclude>

Revision as of 02:57, 8 April 2018


This template embeds an &ndash; [–] in text.

This is a replacement template created in order to make it easier and cleaner to differentiate a Hyphen-minus ([-]) or an &ndash; [–] from &mdash; [—] in code.

For more information on Unicode dashes, please visit this page.

See Also

Personal tools