![]() | This is a documentation subpage for Template:Wide space. It contains usage information, categories and other content that is not part of the original template page. |
Usage
editThis template is used to introduce a wide space between two words. It is similar to {{gap}}, but the difference is that the space will not be applied at the start of a line if the text wraps, whereas "gap" will produce an indent. Similarly, the use of the   entity will produce a space that disrupts the right-hand margin.
The effect of a wide space is often found in lists and verses in texts where line breaks were not used to separate lines of text.
It will copy-paste as a single normal space.
Parameters
edit- 1: The spacing to apply: default "2em" (same as {{gap}}).
The {{wsp}} shortcut takes the same parameters.
Shortcuts
editYou can use {{wsp1}} shortcut to insert a 1em space.
Examples
editLorem ipsum{{wide space}}dolor sit amet
Lorem ipsum dolor sit amet
Lorem ipsum{{wide space|8em}}dolor sit amet
Lorem ipsum dolor sit amet
This is a poem typeset with {{gap}} (outlined in red)
![](http://upload.wikimedia.org/wikipedia/commons/0/0e/Wikisource_-_wsp_vs_gap_-_gap_at_line_end.png)
As you can see, this is reserving its 2em of space even at the end of a line. If you instead wish the "gap" would behave like a normal space as disappear at the end of the line, use {{wsp}}:
![](http://upload.wikimedia.org/wikipedia/commons/d/dd/Wikisource_-_wsp_vs_gap_-_wsp_at_line_end.png)
However, if the space did not occur at line's end, it will still show as a wider space:
![](http://upload.wikimedia.org/wikipedia/commons/f/f4/Wikisource_-_wsp_vs_gap_-_wsp_not_at_line_end.png)
See also
edit- {{gap}}: a gap which is always applied
- {{word-spacing}}: allows to set the CSS word-spacing between words, not just a space.