Template:Narrow no-break space/doc: Difference between revisions
No edit summary |
(No difference)
|
Revision as of 18:39, 12 November 2023
This is a documentation subpage for Template:Narrow no-break space. It contains usage information, categories and other content that is not part of the original Template page. |
This template can be used to display the character entity U+202F NARROW NO-BREAK SPACE
Usage
Using this template will cause   to display correctly. This web pageTemplate:404 can be used to see how Unicode space characters display in a browser window.
Example
Gonzales added that "{{nnbsp}}'interesting times' is quite a euphemism for this chaos".
→ Gonzales added that "Template:Nnbsp'interesting times' is quite a euphemism for this chaos". (Note that {{"'}} and {{'"}} are more proper alternatives for formatting nested quotations.)
Parameter
This template takes one parameter, which is the text to be wrapped by two thin spaces. For example:
- → (Template:Nnbsp)
({{nnbsp|symbol}})
- as opposed to:
- → (symbol)
(symbol)
TemplateData
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Narrow no-break space
Inserts a very thin "narrow non-breaking space" (NNBSP) unicode character, if no parameters are provided. If {{para|1}} is, that text is wrapped on each side with NNBSP's.
Parameter | Description | Type | Status | |
---|---|---|---|---|
text to wrap in NNBSP-spaces | 1 | optional word to surround with NNBSP spaces | Line | optional |
optional text before | before | optional word before the NNBSP spaced param 1 | Line | optional |
optional text after | after | optional word or text after the NNBSP-spaced text | Line | optional |
See also