Template:nb.../documentation

Usage
This template is a companion to. Both are used to insert bracketed ellipses into displayed text. Using these templates helps to distinguish ellipses inserted by Wiktionary editors from those that appear in the texts quoted from.

While adds a space before and after the ellipsis,  inserts a  in front of the ellipsis and no space at all after it, making it useful for adding an ellipsis before a punctuation mark.

For a longer explanation of the difference between and, see below.

If the source itself contains an ellipsis, rather than use this template, replicate the ellipsis in the quotation with  and, if desired, annotate it with   or an appropriate comment.

Parameters
The template takes the following optional parameters:


 * 1 – any text specified as the first parameter in the template appears as a tooltip if a cursor is moved over the ellipsis. (Currently, this does not work well on mobile devices.)
 * otherforms – if yes or 1 is specified, the template displays "and other forms" instead of an ellipsis. This may be used in the etymology sections of entries to indicate multiple forms of words in a tooltip.
 * text – this replaces the ellipsis with the text specified using the parameter.
 * nospace – to suppress the space before the opening bracket, specify 1 or yes. This may be desirable for some formatting purposes.

Examples

 * Wikitext:
 * Result: The noun is derived from, [...]

Explanation
The template inserts one space before and one space after the ellipsis, as shown in the example below:


 * Wikitext:
 * Result: Pack my boxwith five dozen jugs.

On the other hand, the template inserts a  in front of the ellipsis and no space at all after it:


 * Wikitext:
 * Result: Pack my box with five dozen liquor bottles, and so forth.

This template also avoids the problem of a line breaking just before or after the ellipsis, which causes either "widowing" of punctuation mark after the ellipsis, or both the ellipsis and the punctuation mark after it – that is, these elements are pushed to the start of the next line – which is regarded as not aesthetically pleasing and distracting to readers.