Template:Hair space/doc

From Fanverse
Jump to navigation Jump to search

Template:High-use Template:Template shortcut

{{Hair space}} produces the Unicode character Template:Unichar, a space character that is slightly thinner than the “thin space” character (see below and Whitespace character). It is forced to be non-breaking, since this is the desired behavior in most uses of this template. If a parameter is supplied, it is sandwiched on both sides with hair space characters (only the first is non-breaking).

Comparisons[edit source]

Template:Space comparison

TemplateData[edit source]

This is the TemplateData for this template used by TemplateWizard, VisualEditor and other tools. Template:Template parameter usage

TemplateData for Hair space

Template:Sandbox other

<templatedata> { "params": { "1": { "label": "text to wrap in hair-spaces", "description": "optional word to surround with hair spaces", "type": "line" }, "before": { "label": "optional text before", "description": "optional word before the hair spaced param 1", "type": "line" }, "after": { "label": "optional text after", "description": "optional word or text after the hair-spaced text", "type": "line" } }, "description": "Inserts a very thin \"hair space\" unicode character, if no parameters are provided. If |1= is, that text is wrapped on each side with a hair space.", "format": "inline" } </templatedata>

See also[edit source]

{{Very thin space}}Template:Sndredirect Template:Inline spacing templates