FANDOM


Template documentation (for the template shown above, sometimes hidden or invisible)

Template:SPW

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}}[
] [ &nbsp;
Figure space
]{{spaces|fig}}[
][ &#8199;
En space
]{{spaces|en}}[
][ &ensp;
Em space
]{{spaces|em}}[
][ &emsp;
Thin space
]{{spaces|thin}}[
][ &thinsp;
Hair space
]{{spaces|hair}}[
][ &#8202;
See also

Visit Template:Spaces/doc to edit this text! (How does this work?)
Community content is available under CC-BY-SA unless otherwise noted.