Template:Spaces
Revision as of 19:06, 2 September 2018 by Dinoguy1000 (talk | contribs) (1 revision imported: update {{Navbox}} documentation (from Wikipedia))
- 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 offig
,en
,em
,thin
, orhair
. - Sample output
"{{spaces|10}}"
gives...- " "
"{{spaces|10|en}}"
gives...- " "
"{{spaces|en|10}}"
gives...- " "
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