Template:Spw/doc

Usage
This is an complement to the sp and lsp templates intended to integrate in body text where it is used similarly to italics.

The main difference is that it uses the CSS property  to keep the spacing between words the same as normal text (as such, it has a smaller default spacing of 0.1em to keep it readable). It also surrounds its contents with a specifiable HTML tag indicating that its different appearance is more than strictly (for example, it may appear underlined in a terminal browser or receive).

Due to the implementation, if a different word-spacing is desired, it must be used inside the content.

Parameters

 * : (Most of) the text to.
 * : The last letter, which is not to be followed by letterspacing, but is part of the spaced-out text.
 * (optional): the width of the letter-spacing (in  units), default  . Word-spacing is reduced accordingly.
 * (optional): The name of the HTML tag to use if the default of  is not the closest fit; for instance,   (if spaced text indicates emphasis) or   (if spaced text indicates a title). This is only important/different in theory, and can be safely ignored if one does not know the difference.
 * (optional): The language code if applicable (as a less featureful alternative to surrounding with lang).
 * (optional): Additional CSS properties.

Examples
A temporary normal spacing in the middle of spaced text (often used for punctuation) can be accomplished with lsp: