Jump to content

Template:Thin space/doc: Difference between revisions

From pool
[unchecked revision][unchecked revision]
Content deleted Content added
m 1 revision imported
No edit summary
 
Line 1: Line 1:
{{documentation subpage}}
{{documentation subpage}}
{{template shortcut|tsp}}
{{Commons Import}}
This template can be used to display the [[HTML]] [[character entity]]   ([[Unicode]]: U+2009).
This template can be used to display the [[HTML]] [[character entity]]   ([[Unicode]]: U+2009).



Latest revision as of 10:40, 7 November 2020

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

Usage

Many browsers allow word wrapping at  . 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>36°34′42″N 118°17′31″W / 36.57833°N 118.29194°W / 36.57833; -118.29194

Fatal error: The format of the coordinate could not be determined. Parsing failed.



[1] {{Coord|36|34|42|N|118|17|31|W}}{{thin space}}<ref>example</ref>36°34′42″N 118°17′31″W / 36.57833°N 118.29194°W / 36.57833; -118.29194

Fatal error: The format of the coordinate could not be determined. Parsing failed.



[2]

  1. example
  2. example

Parameter

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

({{thin space|symbol}}) → (symbol )
as opposed to:
(symbol) → (symbol)

TemplateData

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Click here to see a monthly parameter usage report for this template based on this TemplateData.

TemplateData for Thin space/doc

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.

Template parameters[Edit template data]

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
text to wrap in thin spaces1

optional word to surround with thin spaces

Lineoptional

See also