Vés al contingut

Plantilla:Thinsp

De Viki.cat
Icona de documentació de mòdul Documentació de la plantilla [ mostra ] [ ⧼Visualeditor-ca-editsource-section⧽ ] [ mostra l'historial ] [ refresca ]

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

Ús

Some browsers, especially Opera version 10.62, do not display some space characters as expected. Using this template will cause   to display correctly. 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″ O / 36.57833°N,118.29194°O / 36.57833; -118.29194{{#coordinates:36 | 34 | 42 | N | 118 | 17 | 31 | W | | |name= }}[1]

{{Coord|36|34|42|N|118|17|31|W}}{{Thinsp}}<ref>example</ref> → 36° 34′ 42″ N, 118° 17′ 31″ O / 36.57833°N,118.29194°O / 36.57833; -118.29194{{#coordinates:36 | 34 | 42 | N | 118 | 17 | 31 | W | | |name= }} [2]

  1. ↑ example
  2. ↑ example

Paràmetre

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

<syntaxhighlight lang="text" class="" style="" inline="1">({{thinsp|symbol}})</syntaxhighlight> → ( symbol )
as opposed to:
<syntaxhighlight lang="text" class="" style="" inline="1">(symbol)</syntaxhighlight> → (symbol)

Vegeu també