Template:Thin space
From Historical Hastings
(Redirected from Template:Tsp)
<span style="white-space:nowrap"> </span>This template can be used to display the HTML character entity   (Unicode: U+2009).
Usage[edit]
Many browsers allow word wrapping at  . Using this template will cause thin spaces to not word break. This [http://www.cs.tut.fi/~jkorpela/chars/spaces.html web pagHatnotecan be used to check how Unicode space characters display in a browser window.
Examples[edit]
{{Coord|36|34|42|N|118|17|31|W}}<ref>example</ref> → 36°34′42″N 118°17′31″W / 36.57833°N 118.29194°WFatal error: The format of the coordinate could not be determined. Parsing failed.
[1]
{{Coord|36|34|42|N|118|17|31|W}}{{Thinsp}}<ref>example</ref> → 36°34′42″N 118°17′31″W / 36.57833°N 118.29194°WFatal error: The format of the coordinate could not be determined. Parsing failed.
[2]
Parameter[edit]
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]
- Template:Tlb
- {{Sp}}
- {{Hair space}}
- {{NNBSP}}
- {{Spaces}}
- {{Zero width joiner}}
Template data[edit]
This is the TemplateData documentation for this template used by VisualEditor and other tools; see the [https://bambots.brucemyers.com/TemplateParam.php?wiki=enwiki&template=Thin+space monthly error reporHatnotefor this template.
TemplateData for Thin space
Inserts a thin "thin space" unicode character, if no parameters are provided. If {{para|1}} is, that text is wrapped on each side with thin spaces.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| text to wrap in thin spaces | 1 | optional word to surround with thin spaces | Line | optional |
| The above documentation is transcluded from Template:Thin space/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |