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

From blackwiki
Jump to navigation Jump to search
imported>Izkala
(t)
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
 
(13 intermediate revisions by 10 users not shown)
Line 1: Line 1:
 +
{{documentation subpage}}
 
{{COinS safe}}
 
{{COinS safe}}
This is an [[en dash]] or ndash (–). It has the same function as the code "<code>&amp;ndash;</code>" or the symbol – ([[U+|U+2013]]).
+
{{Template shortcuts |ndash|en dash|nsndns}}
 
+
{{Format TemplateData|JSON={"params":{},"description":
 +
"This template produces an [[en dash]] (–) character. It has the same effect as the HTML escape sequence <code>&amp;ndash;</code>."
 +
} }}
 +
Syntax:<code><nowiki>{{en dash}}</nowiki></code>
 
== See also ==
 
== See also ==
* [[MOS:NDASH]] for appropriate usage of ndashes.
+
* [[MOS:DASH]] for the guideline on dashes
* {{tl|Spaced ndash}} Spaced ndash "&nbsp;&ndash; " renders spaced [[Dash#En dash|en dashes]] with non-breaking space before
+
* {{tl|Spaced en dash space}}
 +
* {{tl|Spaced en dash}}
 
* {{tl|Em dash}}
 
* {{tl|Em dash}}
 +
 +
<includeonly>{{Sandbox other||
 +
[[Category:Typing-aid templates]]
 +
}}</includeonly>

Latest revision as of 01:24, 25 April 2020

Template:Template shortcuts

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for En dash

This template produces an en dash (–) character. It has the same effect as the HTML escape sequence &ndash;.

Syntax:{{en dash}}

See also