සැකිල්ල:Hair space/doc
This is a documentation subpage for සැකිල්ල:Hair space. It may contain usage information, categories and other content that is not part of the original සැකිල්ල page. |
මෙම සැකිල්ල පිටු 5,000 පමණ භාවිතා වන නිසා සිදුකරන වෙනස් කිරීම් බොහෝ ස්ථානවලට බලපානු ඇත. ඔබ සිදුකිරීමට අදහස් කරන වෙනස්කම් මෙම සැකිල්ලට අදාළ /sandbox හෝ /testcases උපපිටුවල, හෝ ඔබගේ පරිශීලක උපපිටුවේ පළමුව සිදුකොට පරීක්ෂාකර බලන්න. එම වෙනස්කම් සිදුකිරීමට ප්රථම අදාළ සාකච්ඡා පිටුවේ ඒ පිළිබඳව සංවාදයක් ගොඩනැගීමට කාරුණික වන්න.
Transclusion count updated automatically (ප්රලේඛනය වෙතට යොමුවන්න). |
{{Hair space}} produces the Unicode character U+200A [[ |HAIR SPACE]] ( ,  ), 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
සංස්කරණයName (alias) |
→ Instance← |
Example code and ... | Using {{spaces}} | Output | Output {{spaces}} |
---|---|---|---|---|---|
none | → ← |
Text<ref>...</ref> ''Text''<ref>...</ref>
|
Text[1] Text[2] |
||
Hair (Very thin) |
→ ←
|
Text{{hair space}}<ref>...</ref> ''Text''{{hair space}}<ref>...</ref>
|
Text{{spaces|hair}}<ref>...</ref>
|
Text [1] Text [2] |
TextString Module Error: function rep expects a number as second parameter, received "hair"[1] TextString Module Error: function rep expects a number as second parameter, received "hair"[2] |
2-pixel | → ←
|
Text{{px2}}<ref>...</ref> ''Text''{{px2}}<ref>...</ref>
|
Text Text [2] |
[1]||
Narrow no-break | → ←
|
Text{{narrow no-break space}}<ref>...</ref> ''Text''{{narrow no-break space}}<ref>...</ref>
|
Text [1] Text [2] |
||
Thin | → ←
|
Text{{thin space}}<ref>...</ref> ''Text''{{thin space}}<ref>...</ref>
|
Text{{spaces|thin}}<ref>...</ref>
|
Text [1] Text [2] |
TextString Module Error: function rep expects a number as second parameter, received "thin"[1] TextString Module Error: function rep expects a number as second parameter, received "thin"[2] |
Standard[a] | → ←
|
Text <ref>...</ref> ''Text'' <ref>...</ref>
|
Text{{spaces}}<ref>...</ref>
|
Text [1] | Text [1] Text [2] |
En | → ←
|
1 3
|
1{{spaces|en}}3
|
1 3 | 1String Module Error: function rep expects a number as second parameter, received "en"3 |
Figure | → ←
|
123<br/>1{{figure space}}3
|
123<br/>1{{spaces|fig}}3
|
123 1 3 |
123 1String Module Error: function rep expects a number as second parameter, received "fig"3 |
Em | → ←
|
1 3
|
1{{spaces|em}}3
|
1 3 | 1String Module Error: function rep expects a number as second parameter, received "em"3 |
- ^ Provided here by a non-breaking space ( ).
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
සංස්කරණය{{Very thin space}} – redirect