Template:Spaces/doc
From Kerbal Space Program Wiki
Error creating thumbnail: /bin/bash: rsvg-convert: command not found |
This is a documentation subpage for Template:Spaces. It contains usage information, categories and other content that is not part of the original template page. |
Error creating thumbnail: /bin/bash: rsvg-convert: command not found |
This template is used on a very large number of pages. To avoid large-scale disruption and unnecessary server load, any changes to it should first be tested in the template's /sandbox or /testcases subpages, or in your own user subpage. The tested changes can then be added to this page in a single edit. Please consider discussing changes on the talk page before implementing them. |
This template uses material from the Wikipedia template Template:Spaces/doc, which is released under the Creative Commons Attribution-ShareAlike 3.0 Unported License (view authors). | Error creating thumbnail: /bin/bash: rsvg-convert: command not found |
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.
TemplateData for Spaces
<templatedata> {
"description": "Inserts one or more non-breaking spaces", "params": { "1": { "label": "Quantity", "description": "How many non-breaking spaces to insert", "type": "number", "default": "1" } }
} </templatedata>
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.
- {{indent}} indents by a specified number of spaces (with leading newline)
- {{in5}} indents by five or a specified number of spaces (with no leading newline)