Template:Spaces/doc View history

m (fixed template issue)
m (fixed category)
 
Line 52: Line 52:
<!--{{Inline spacing templates}}-->
<!--{{Inline spacing templates}}-->
<includeonly>
<includeonly>
[[Category:Inline spacing templates]]
[[Category:Typing-aid templates]]
[[Category:Character templates]]
</includeonly>
</includeonly>

Latest revision as of 16:19, 2 June 2017

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.

A template to produce one or more non-breaking spaces (&nbsp; character entities).

Usage

Syntax : {{spaces|N}} to produce N consecutive non-breaking spaces (where N is a whole number larger than zero) of a non-breaking space ( ) the same width as a standard space.

Example

This code:

This sentence needs 5 non-breaking spaces between the last two{{spaces|5}}words.

Produces:

This sentence needs 5 non-breaking spaces between the last two     words.


Template data

This is the TemplateData documentation for this template used by VisualEditor and other tools.

Spaces

Inserts one or more non-breaking spaces

Template parameters

ParameterDescriptionTypeStatus
Quantity1

How many non-breaking spaces to insert

Default
1
Numberoptional

See also

  • {{nowrap|item}} to stop the linewrapping of any part of |item