Template:space/doc

Handles space characters.

number - outputs number of space characters

text - outputs as many space characters as there are characters in text. Useful for indentation of templatized code.

text - trims both leading and trailing whitespace

sep - inserts a tiny non-breaking space between characters to avoid overlapping of e.g. italicized characters. Example: I vs I.

nbsp - inserts number of non-breaking space characters (HTML: ). Without the argument inserts one such space.

nbspt - same space characters generator as nbsp but in  font.

void - as-if inserts an empty space which might be necessary to prevent HTML generation when wiki-media processor should act. One example is in which the  part provokes an HTML engine to generate a references list. To suppress that, this code could be written as.

br - behaves similar to HTML tag, except that the wrap occurs only if the string does not fit as one line in an enclosing box. Useful in tables to optionally split long identifiers.

Example. Let the identifier be tagged as



Then the rendering of the boxes containing it may result in: