Template:Thin space: Difference between revisions

From Guild of Archivists
(fix syntax highlight)
 
m (1 revision imported)
 

Latest revision as of 00:00, 21 January 2018

<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[edit source]

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[edit source]

{{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[edit source]

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[edit source]