Template:Nbsp/doc
Jump to navigation
Jump to search
|
This is a documentation subpage for Template:Nbsp . |
| Uses Lua: |
A template to produce one or more non-breaking spaces ( character entities).
Usage
- 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.
Controlling line-breaking in infoboxes
This template, usually as its alias {{nbsp}}, may be used with {{wbr}} and {{nowrap}} to control line-breaking in bulletless lists in infoboxes, to prevent wrapped long entries from being confused with multiple entries. See Template:Wbr/doc for details.
See also