Template:Side box/doc View history

Revision as of 21:43, 25 August 2022 by Kentsmith9 (talk | contribs) (Updated doc)
This is a documentation subpage for Template:Side box.
It contains usage information, categories and other content that is not part of the original template page.

This template is a meta-template that can be used to create nicely-styled floating content boxes.

Prameters

The following optional parameters are available in the template.

  • |text= – the text to display in the box
  • |image= – a full image (or other content) on the right of the text
  • |imageright= – a full image (or other content) to display in a separate table cell on the right of the box adjacent to the main text
  • |position= – if set to left, a non-floating box appears on the left side of the page rather than a floating box on the right
  • |style= – styles to apply to the box
  • |textstyle= – styles to apply to the text cells only
  • |below= – separate content to appear in a separate row underneath the main text and any images, spanning the entire width of the box, but still inside it

Usage

Lorem ipsum dolor sit amet, consectetur adipisicing 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.

Lorem ipsum dolor sit amet, consectetur adipisicing 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.


Notes

Include the {{Clear}} template after the {{Side box}} to prevent any text to wrap around the floating box, typically before a new section heading.

See also