Template:Box-right/doc

From Angelina Jordan Wiki
This is a subpage documenting Template:Box-right. To change the template, edit that page; to change the template's documentation (seen below), edit this one.

Documentation

This template creates a box floated to the right side of a page (like an infobox, for which use one of our specialized infobox templates). To create a box for placement at the top of a page, use {{box-top}}; for one at the bottom, use {{box-bottom}}. (Note that {{box-top}} and {{box-bottom}} are not for "opening" and "closing" a box. Each of them form a complete box.)

Usage

  • {{box-right|content|margin=|padding=|border=|border-style=|border-width=|border-color=|background-color=|width=|extra-style=}}

All of the named parameters are optional, but if they are present in the template call, they must be given values (not left empty). Each of them specifies the value of the same-named style attribute.

If border is used, it should specify all three aspects of the border: style, color, and width. If border is not used, then border-style, border-width, and border-color can be used to override the default aspects separately (you cannot use both border and any of the other three).

Examples