Template:Thin space

<syntaxhighlight lang="html"></syntaxhighlight>

Documentation icon Template documentation[view] [edit] [history] [purge]

This template can be used to display the HTML "thin space" character entity &thinsp; (Unicode U+2009). If a parameter is supplied, it will return that parameter prefixed and suffixed by a thin space.

Usage

Some browsers, especially Opera version 10.62, do not display some space characters as expected. Using this template will cause &thinsp; to display correctly. This web page can be used to check how Unicode space characters display in a browser window.

Examples

Code / markup Results
{{coord|36|34|42|N|118|17|31|W}}<ref>...</ref>
{{coord|36|34|42|N|118|17|31|W}}{{tsp}}<ref>...</ref>
36°34′42″N 118°17′31″W / 36.57833°N 118.29194°W / 36.57833; -118.29194[1]
36°34′42″N 118°17′31″W / 36.57833°N 118.29194°W / 36.57833; -118.29194[1]
"Hello, world!"
"{{thinsp|Hello, world!}}"
"Hello, world!"
"Hello, world! "