Difference between revisions of "Template:Thin space"

From Nordic Larp Wiki
Jump to navigation Jump to search
en>Primefac
m (Changed protection level for "Template:Thin space": high-risk template with 2000+ transclusions ([Edit=Require template editor access] (indefinite) [Move=Require template editor access] (indefinite)))
(No difference)

Revision as of 18:03, 23 February 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

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

{{Coord|36|34|42|N|118|17|31|W}}<ref>example</ref>Lua error: callParserFunction: function "#coordinates" was not found.[1]

{{Coord|36|34|42|N|118|17|31|W}}{{Thinsp}}<ref>example</ref>Lua error: callParserFunction: function "#coordinates" was not found.[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