FANDOM


Export this template, then import, to install it.
Use edit summary: Copied from [[w:c:templates:Template:Spaces]] to properly attribute this template's editors.
This template is probably not already on your wiki.
Template documentation
Note: the template above may sometimes be partially or fully invisible.

View or edit this documentation. (How does this work?)

Editors can experiment with this template's sandbox and test case pages.
Description
This template is used to make a series of non-breaking spaces. If needed, the type of space can be changed, to one of figure spaces, en spaces, em spaces, thin spaces, or hair spaces.
Syntax
Type {{spaces|number}} somewhere.
To change the type of space, type {{spaces|number|type}} or {{spaces|type|number}} somewhere. type can be one of fig, en, em, thin, or hair.
Sample output
"{{spaces|10}}" gives...
"          "
"{{spaces|10|en}}" gives...
"          "
"{{spaces|en|10}}" gives...
"          "
Types of whitespace
Code Result HTML entity
Non-breaking space
]{{spaces}}[
] [  
Figure space
]{{spaces|fig}}[
][  
En space
]{{spaces|en}}[
][  
Em space
]{{spaces|em}}[
][  
Thin space
]{{spaces|thin}}[
][  
Hair space
]{{spaces|hair}}[
][  
See also
  • Template:Spaces on Wikipedia, which this template was derived from
  • The whitespace character article on Wikipedia, which gives an overview of a number of whitespace character types
Community content is available under CC-BY-SA unless otherwise noted.