Template:Gapleft/doc

The Template:Gapleft inserts &lt;span> tags inline, to set the spacing between words (for just 1 gap, see {&#123;Pad}}). Parameter {1} is the spacing amount, as a width value specified in px, em or ex. The default spacing is: 1 em.


 * Usage: {&#123;Gapleft|9px|these|are|spaced}}
 * {&#123;Gapleft|0.4em|Skip|by|em}}
 * {&#123;Gapleft|2ex|Padding|as|2ex}}

Examples
The following are more examples:
 * {&#123;gapleft|3px|aa|bb|cc|dd|ee|ff}} &rarr;
 * {&#123;gapleft|7px|a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t}} &rarr;
 * {&#123;gapleft|3px|a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t}} &rarr;
 * {&#123;gapleft|0px|a|b|c|d|e|f|g|h|i|j|k|l|m|n|o|p|q|r|s|t}} &rarr;

Design
This template is named as the one-word "gapleft", in the same manner as the older, one-word template {&#123;nowrap}}. It generates a &lt;span> tag, for each extra word, within the formatted page to set the spacing.