Usage
The Spacing template inserts spacing of a specified number of pixels. This is achieved via a transparent image stretched to the requested size. The spacing may be vertical or horizontal.
The amount and direction of spacing is specified in a single parameter, in the same way as image scaling dimensions, as a number followed by px
, optionally preceded by x
to specify vertical spacing as opposed to horizontal.
Examples
The examples below invoke the template as indicated.
Horizontal spacing: 20 pixels{{Spacing|20px}} |
Horizontal spacing: 40 pixels{{Spacing|40px}} |
Horizontal spacing: 60 pixels{{Spacing|60px}} |
Vertical spacing: 20 pixels {{Spacing|x20px}} |
Vertical spacing: 40 pixels {{Spacing|x40px}} |
Vertical spacing: 60 pixels {{Spacing|x60px}} |