Template:Thin space/doc: Difference between revisions

From Guild of Archivists
(remove sandbox)
 
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
This template can be used to display the [[HTML]] [[character entity]]   ([[Unicode]]: U+2009).
This template can be used to display the HTML [[w:character entity|character entity]]   ([[w:Unicode|Unicode]]: U+2009).


=== Usage ===
=== Usage ===
Line 5: Line 5:


==== Examples ====
==== Examples ====
<code><nowiki>{{Coord|36|34|42|N|118|17|31|W}}<ref>example</ref></nowiki></code> → {{Coord|36|34|42|N|118|17|31|W}}<ref>example</ref>
<code><nowiki>{{ki-ps|31249|7|0}}<ref>example</ref></nowiki></code> → {{ki-ps|31249|7|0}}<ref>example</ref>


<code><nowiki>{{Coord|36|34|42|N|118|17|31|W}}{{Thinsp}}<ref>example</ref></nowiki></code> → {{Coord|36|34|42|N|118|17|31|W}}{{thinsp}}<ref>example</ref>
<code><nowiki>{{ki-ps|31249|7|0}}{{Thinsp}}<ref>example</ref></nowiki></code> → {{ki-ps|31249|7|0}}{{thinsp}}<ref>example</ref>


{{Reflist}}
{{Reflist}}
Line 19: Line 19:
=== See also ===
=== See also ===
* {{Tl|Sp}}
* {{Tl|Sp}}
* {{tl|hsp}}
* {{Tl|Nbsp}}
* {{Tl|Nbsp}}
* {{Tl|Nnbsp}}
* {{Tl|Nnbsp}}
* {{Tl|Space}}
* {{Tl|Space}}
* {{Tl|Zwnbsp}}
 
{{Inline spacing templates}}
{{Inline spacing templates}}



Latest revision as of 00:17, 21 January 2018

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

Usage[edit]

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[edit]

{{ki-ps|31249|7|0}}<ref>example</ref>5 31,249 6 7 7 0[1]

{{ki-ps|31249|7|0}}{{Thinsp}}<ref>example</ref>5 31,249 6 7 7 0[2]

  1. example
  2. example

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]