Kentsmith9 (talk | contribs) (doc update) |
Kentsmith9 (talk | contribs) m (fixed category) |
||
(2 intermediate revisions by the same user not shown) | |||
Line 16: | Line 16: | ||
This code: | This code: | ||
:<code>This sentence needs 5 non-breaking spaces between the last two{{spaces|5}}words.</code> | :<code>This sentence needs 5 non-breaking spaces between the last two<nowiki>{{spaces|5}}</nowiki>words.</code> | ||
Produces: | Produces: | ||
Line 40: | Line 40: | ||
== See also == | == See also == | ||
* {{tlg|nowrap|item|italic=on}} to stop the linewrapping of any part of | * {{tlg|nowrap|item|italic=on}} to stop the linewrapping of any part of <var>|item</var> | ||
<!-- ****************** Not fully implemented ***************** | <!-- ****************** Not fully implemented ***************** | ||
* {{tl|pad}} to add inline spacing in units of px, em or ex | * {{tl|pad}} to add inline spacing in units of px, em or ex | ||
Line 52: | Line 52: | ||
<!--{{Inline spacing templates}}--> | <!--{{Inline spacing templates}}--> | ||
<includeonly> | <includeonly> | ||
[[Category: | [[Category:Typing-aid templates]] | ||
</includeonly> | </includeonly> |
Latest revision as of 16:19, 2 June 2017
This is a documentation subpage for . 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 (
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
Parameter | Description | Type | Status | |
---|---|---|---|---|
Quantity | 1 | How many non-breaking spaces to insert
| Number | optional |
See also
- {{nowrap|item}} to stop the linewrapping of any part of |item