Difference between revisions of "Template:Hair space/doc"
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== | |
{{Space comparison}} | {{Space comparison}} | ||
| − | == | + | ==TemplateData== |
| − | + | {{TemplateData 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
| 40px | This is a documentation subpage for Template:Hair space. It contains usage information, categories and other content that is not part of the original template page. |
{{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
TemplateData
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.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| text to wrap in hair-spaces | 1 | optional word to surround with hair spaces | Line | optional |
| optional text before | before | optional word before the hair spaced param 1 | Line | optional |
| optional text after | after | optional word or text after the hair-spaced text | Line | optional |
See also