Template:Hyphen: Difference between revisions
Jump to navigation
Jump to search
(Reverted 1 edit by 5.209.232.105 (talk): Broke markup) |
Richardpruen (talk | contribs) m (1 revision imported) |
(No difference)
|
Latest revision as of 03:53, 7 September 2021
-
This template is safe for use in citation templates that produce COinS metadata; see Wikipedia:COinS. If HTML or other markup is added, then the template must be reevaluated. |
This is a hyphen (-). It has the same function as the symbol - (U+002D - HYPHEN-MINUS, keyboard-hyphen). It comes in handy when an editor wishes to make explicit that they really do intend a hyphen, to discourage other editors from changing it to an ndash or other punctuation, or when using an explicit hyphen may cause technical issues, such as with the -{
wiki syntax for language converter. By allowing {{hyphen}}
to be coded instead of -
, it avoids objections to HTML escaping. (There does not seem to be a symbolic escape e.g. ‐
.)