Template:Border2/doc

Usage
This specialized template creates a box to display text or combined text/images in; it creates a border around whatever you would like. Each property has a default so you do not need to define the setting if what you want is already the default.

You can embed other templates within this one (e.g. rule or sc or even another border2). However, some embedded templates that contain parameters, and things like tables, may cause this template to not work properly. In that case, use border2/s and border2/e instead.

Parameters

 * whatever goes in the box


 * alignment of the box
 * Options: left, center, right; default: center


 * whether the box should take only the width needed (if yes) or use the full page width (if no)
 * Options: yes, no; default: yes


 * additional CSS classes


 * additional CSS styles


 * additional attributes for the box
 * Example:
 * Example: in another template based on this one,

Double Border
There are two ways to make a double border. One is to use the standard "double border" feature of CSS. It is simple and only requires that  be set to   and   be set to a value greater than 1px. Here is what this will look like:

However, for more control, you may wish to use a border within another border: