Template:sep
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>}}.
| The above documentation is transcluded from Template:space/doc. (edit | history) Subpages of this template. |