Template:Spaces View history

No edit summary
(Use &nbsp instead of #invoke (unimplemented, while nbsp char   is inherent); prev edit had syntax error too)
Line 1: Line 1:
<span style="white-space:nowrap;">&nbsp;<!-- the following does not work for Waze as INVOKE is not implemented}}{{#invoke:String|rep|&nbsp;|{{{1|1}}}}}</span><noinclude>
<span style="white-space:nowrap;">&nbsp;<!-- the following does not work for Waze as INVOKE is not implemented, so it was replaced with &nbsp; {{#invoke:String|rep|&nbsp;|{{{1|1}}}}}--></span><noinclude>
{{documentation}}
{{documentation}}
</noinclude>
</noinclude>

Revision as of 16:50, 27 June 2014

 

Documentation icon Template documentation[view] [edit] [history] [purge]

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
The above documentation is transcluded from Template:Spaces/doc.
Please add categories to the /doc subpage.
Subpages of this template.