Difference between revisions of "Template:Hair space/doc"
Jump to navigation
Jump to search
imported>Sardanaphalus (a slight rephrasing, added use with parameter) |
imported>Frietjes |
||
Line 4: | Line 4: | ||
{{tl|Hsp}} produces the "hair space" character ([[Unicode]] hexadecimal alias {{border| }}{{\}}{{border|U+200A}}), a space character that is slightly thinner than the "[[thin space]]" character (see below and [[Whitespace character]]). | {{tl|Hsp}} produces the "hair space" character ([[Unicode]] hexadecimal alias {{border| }}{{\}}{{border|U+200A}}), a space character that is slightly thinner than the "[[thin space]]" character (see below and [[Whitespace character]]). | ||
− | The template may be used with or without a parameter. If used with a parameter | + | The template may be used with or without a parameter. If used with a parameter &endash; i.e. as {{tlf|hsp|''[some text/content]''}} &endash; it adds a hair space before and after it. |
===Comparisons=== | ===Comparisons=== | ||
− | { | + | {| class="wikitable" |
− | + | |- | |
− | + | ! Name / size || →Instance← || {{sans-serif|Example code and ...}} || output | |
− | + | |- | |
− | + | | ''none'' || →← || <nowiki>Some text<ref>...</ref></nowiki> || Some text{{fake ref}} | |
− | + | |- | |
− | + | | Hair || →{{hsp}}← || <nowiki>Some text{{hsp}}<ref>...</ref></nowiki> || Some text{{hsp}}{{fake ref}} | |
− | + | |- | |
− | + | | Thin || →{{tsp}}← || <nowiki>Some text{{tsp}}<ref>...</ref></nowiki> || Some text{{tsp}}{{fake ref}} | |
− | + | |- | |
+ | | Standard{{sup|a}} || → ← || <nowiki>Some text&nbsp;<ref>...</ref></nowiki> || Some text {{fake ref}} | ||
+ | |- | ||
+ | |}{{raise|{{smaller| {{sup|a}} Provided here by a [[non-breaking space]] ({{mono|105%|&nbsp;}}).}}}} | ||
===See also=== | ===See also=== | ||
− | {{ | + | {{colbegin||10em}} |
+ | * {{tl|px1}} | ||
+ | * {{tl|px2}} | ||
* {{tl|thinsp}} | * {{tl|thinsp}} | ||
* {{tl|sp}} | * {{tl|sp}} | ||
Line 26: | Line 31: | ||
* {{tl|nwsp}} | * {{tl|nwsp}} | ||
* {{tl|zwnbsp}} | * {{tl|zwnbsp}} | ||
− | {{ | + | {{colend}} |
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | | <includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox | |
Revision as of 23:51, 2 March 2015
![]() | 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. |
{{Hsp}} produces the "hair space" character (Unicode hexadecimal alias   / U+200A), a space character that is slightly thinner than the "thin space" character (see below and Whitespace character).
The template may be used with or without a parameter. If used with a parameter &endash; i.e. as {{hsp|[some text/content]}} &endash; it adds a hair space before and after it.
Comparisons
Name / size | →Instance← | Template:Sans-serif | output |
---|---|---|---|
none | →← | Some text<ref>...</ref> | Some text[1] |
Hair | → ← | Some text{{hsp}}<ref>...</ref> | Some text [1] |
Thin | →Template:Tsp← | Some text{{tsp}}<ref>...</ref> | Some textTemplate:Tsp[1] |
Standarda | → ← | Some text <ref>...</ref> | Some text [1] |
See also