Template:Spaces
(Redirected from Template:Nbsp)
Jump to navigation
Jump to search
| This template should not be used in citation templates such as Citation Style 1 and Citation Style 2, because it includes markup that will pollute the COinS metadata they produce; see COinS in Wikipedia. |
|
A template to produce multiple non-breaking spaces (" "s).
- Syntax
{{spaces|N}}...... to produce N consecutive non-breaking spaces (where N is a whole number larger than zero).
{{spaces}} without any parameter produces a single non-breaking space, but, as "spaces" is plural, using itself (or, if this is not possible, {{nbsp}}) is preferred for this purpose.
Template data
This is the TemplateData documentation for this template used by VisualEditor and other tools.
Spaces
Inserts one or more non-breaking spaces
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Quantity | 1 | How many non-breaking spaces to insert
| Number | optional |
See also
- {{pad}} to add inline spacing in units of px, em or ex.
{{nowrap|item}}to stop the linewrapping of any part of item.- {{nb5}} to insert five non-breaking spaces.
| The above documentation is transcluded from Template:Spaces/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |