Difference between revisions of "Template:Space"

From Mine Blocks Wiki
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!

 
Line 5: Line 5:
 
  | hair | hairsp = ​
 
  | hair | hairsp = ​
 
}}</includeonly><noinclude>
 
}}</includeonly><noinclude>
== Usage ==
+
{{Documentation}}
<code><nowiki>{{space|<''type''>}}</nowiki></code>
+
<!-- Put categories/interwiki on the documentation page. -->
 
 
;Types
 
* (default)
 
* nbsp
 
* hair
 
* thin
 
 
</noinclude>
 
</noinclude>

Latest revision as of 19:07, 7 July 2023

Template-info.png Template documentation Note: parts of or the entire template might not be visible without values provided.

{{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.