Template:Spaces/doc

From Yugipedia
Jump to: navigation, search
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