Template:nobr
Handle space characters
{{space|number}} - outputs number of space characters. Note that in leading/trailing position these space characters can be trimmed by {{trim}}, unlike "spaces" from {{nbsp}}/{{nbspt}} family.
{{space as|text}} - outputs as many space characters as there are characters in text . Useful for indentation of templatized code.
{{trim|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: II vs I I.
{{nbsp|number (optional)}} - inserts number of non-breaking space characters (HTML: ). Without the argument inserts one such space. These "spaces" (in leading/trailing position) are not trimmed by {{trim}}.
{{nbspt|number (optional)}} - same space characters generator as {{nbsp}} but in monospace (teletype) font. These "spaces" are not trimmed by {{trim}}.
{{void}} - as-if inserts an empty space which might be necessary to prevent HTML generation when wiki-media processor should act. One example is foo<Ref> in which the <Ref> part provokes an HTML engine to generate a references list. To suppress that, this code could be written as {{c|foo<{{void}}Ref>}}.
{{nobr|text}} - prevents the text to be split and wrapped up. It's useful inside, e.g., tables, so (C++29) is not split into say (C+) and (+29).
word_begins<wbr>word_continues - (word-wrap-opportunity) is an HTML tag that specifies point(s) where the word can be split to fit e.g. a table cell. Example: __cpp_lib_hardware<wbr>_destructive<wbr>_interference can optionally be split and wrapped up at <wbr> points.
| The above documentation is transcluded from Template:space/doc. (edit | history) Subpages of this template. |