Difference between revisions of "Template:Space"
Jump to navigation
Jump to search
If you find a typo, inconsistency, or error, please sign up and help out the wiki! We can't do it without your help! :D Thank you!
(Created page with "{{#switch: {{{1|}}} | #default = | nb | nbsp = | thin | thinsp = | hair | hairsp = }} <noinclude> == Usage == <code><nowiki>{{space|<''type''>...") |
|||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
− | {{#switch: {{{1|}}} | + | <includeonly>{{#switch: {{{1|}}} |
| #default =   | | #default =   | ||
| nb | nbsp = | | nb | nbsp = | ||
| thin | thinsp =   | | thin | thinsp =   | ||
| hair | hairsp = ​ | | hair | hairsp = ​ | ||
− | }} | + | }}</includeonly><noinclude> |
− | <noinclude> | + | {{Documentation}} |
− | + | <!-- Put categories/interwiki on the documentation page. --> | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
</noinclude> | </noinclude> |
Latest revision as of 19:07, 7 July 2023
{{Space}} is a template that produces one non-breaking space ( character entities).
Usage
To use the template, type {{Space|type}}
(where type is the type of non-breaking space character to use) in between two words. The supported space types are the following:
- (default)
- nbsp
- hair
- thin
It serves to control line-breaking in places where there is low width available, such as an infobox.