Template:Side box

From Wikipedia, the free encyclopedia
Jump to: navigation, search
Documentation icon Template documentation[view] [edit] [history] [purge]
content to appear in a separate row above the main cell (above)
(image) the text to display in the box (text) (image
right
)
content to appear in a separate row underneath the main cell (below)

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

Usage

|metadata= if set to no, suppresses the "metadata" HTML class
|position= if set to left, floats the box on the left side of the page rather than the right
|class= CSS classes to apply to the box
|style= styles to apply to the box
|textstyle= styles to apply to the text cells only
|abovestyle= styles to apply to the above cell only
|above= content to appear in a separate row above the main cell (and spanning the entire width of the box)
|image= a full image tag (or other content); if this is not present or set to "none", no image is displayed
|text= the text to display in the box
|imageright= a full image tag (or other content) to display in a separate table cell on the right of the box
|below= content to appear in a separate row underneath the main cell (and spanning the entire width of the box)

See also