Difference between revisions of "Template:Hair space/doc"

From blackwiki
Jump to navigation Jump to search
imported>Vanisaac
m (→‎See also: clean up per WP:CAT#T and WP:AWBREQ add template:Sandbox other)
imported>Funandtrvl
(→‎See also: already in navbox)
 
(One intermediate revision by one other user not shown)
Line 5: Line 5:
 
{{tl|Hair space}} produces the [[Unicode]] character {{unichar|200a|hair space|html=|nlink=}}, a space character that is slightly thinner than the “[[thin space]]” character (see below and [[Whitespace character]]). It is forced to be non-breaking, since this is the desired behavior in most uses of this template. If a parameter is supplied, it is sandwiched on both sides with hair space characters (only the first is non-breaking).
 
{{tl|Hair space}} produces the [[Unicode]] character {{unichar|200a|hair space|html=|nlink=}}, a space character that is slightly thinner than the “[[thin space]]” character (see below and [[Whitespace character]]). It is forced to be non-breaking, since this is the desired behavior in most uses of this template. If a parameter is supplied, it is sandwiched on both sides with hair space characters (only the first is non-breaking).
  
===Comparisons===
+
==Comparisons==
 
{{Space comparison}}
 
{{Space comparison}}
  
===See also===
+
==TemplateData==
{{div col|colwidth=11em}}
+
{{TemplateData header}}
* {{tl|px2}}
 
* {{tl|thin space}}
 
* {{tl|sp}}
 
* {{tl|spaces}}
 
* {{tl|NNBSP}}
 
* {{tl|zero width space}}
 
* {{tl|zero width joiner}}
 
{{div col end}}
 
{{Inline spacing templates}}
 
<includeonly>{{Sandbox other|
 
| <!-- Categories below this line, please: -->
 
[[Category:Inline spacing templates]]
 
[[Category:Character templates]]
 
}}</includeonly>
 
 
 
==Template data==
 
{{Template data header}}
 
 
<templatedata>
 
<templatedata>
 
{
 
{
Line 50: Line 33:
 
}
 
}
 
</templatedata>
 
</templatedata>
 +
 +
==See also==
 +
{{Inline spacing templates}}
 +
 +
<includeonly>{{Sandbox other|
 +
| <!-- Categories below this line, please: -->
 +
[[Category:Inline spacing templates]]
 +
[[Category:Character templates]]
 +
}}</includeonly>

Latest revision as of 19:35, 10 September 2020

{{Hair space}} produces the Unicode character Template:Unichar, a space character that is slightly thinner than the “thin space” character (see below and Whitespace character). It is forced to be non-breaking, since this is the desired behavior in most uses of this template. If a parameter is supplied, it is sandwiched on both sides with hair space characters (only the first is non-breaking).

Comparisons

Template:Space comparison

TemplateData

This is the TemplateData documentation for this template used by VisualEditor and other tools; see the monthly parameter usage report for this template.

TemplateData for Hair space

Inserts a very thin "hair space" unicode character, if no parameters are provided. If {{para|1}} is, that text is wrapped on each side with a hair space.

Template parameters

This template prefers inline formatting of parameters.

ParameterDescriptionTypeStatus
text to wrap in hair-spaces1

optional word to surround with hair spaces

Lineoptional
optional text beforebefore

optional word before the hair spaced param 1

Lineoptional
optional text afterafter

optional word or text after the hair-spaced text

Lineoptional

See also