Template:Thin space

From Guild of Archivists
Revision as of 20:55, 5 June 2017 by Alahmnat (talk | contribs) (fix syntax highlight)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
<span style="white-space:nowrap">&thinsp;</span>
Template documentation[view] [edit] [history] [purge]

This template can be used to display the HTML character entity &thinsp; (Unicode: U+2009).

Usage

Many browsers allow word wrapping at &thinsp;. Using this template will cause thin spaces to not word break. This web page can be used to check how Unicode space characters display in a browser window.

Examples

{{ki-ps|31249|7|0}}<ref>example</ref>5 31,249 6 7 7 0[1]

{{ki-ps|31249|7|0}}{{Thinsp}}<ref>example</ref>5 31,249 6 7 7 0[2]

  1. example
  2. example

Parameter

This template takes one parameter, which is the text to be wrapped by two thin spaces. For example:

({{thinsp|symbol}}) → ( symbol )
as opposed to:
(symbol) → (symbol)

See also