Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Both margins

Template page
Template documentation

Usage

This template can be used anywhere a margin is required on either side of a body of text. The width of the margings can be adjusted by including the parameters as shown below. The higher the number, the larger the margin. Other formatting templates can be used inside this template where body of text is inserted, e.g., {{x-smaller}} or {{larger}}.

Simply adding {{both margins|6em|6em|your text here}} or the shortcut {{bm|6em|6em|your text here}}

Using the Lorem ipsum text, this will output the following →

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Using the {{x-smaller}} template {{both margins|6em|6em|{{smaller|your text here}}}} with the Lorem ispsum text will output the following →

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

The above documentation is transcluded from Template:Both margins/doc.
Cookies help us deliver our services. By using our services, you agree to our use of cookies.