Template:Border box/doc

This template creates boxes with fancy borders that are primarily for use as navigation boxes at the bottom of wiki pages. Currently there is only one theme available and, if not specified, defaults to "runes" as shown above. The simplest way to make a bordered box is to invoke the template as shown below.

Parameters

 * theme : (Optional) Currently "runes" is the only theme available and is the default.
 * title : (Optional) The title of your bordered box. Typically, it will be in a larger font, boldface, and centered.
 * subtitle : (Optional) You may add a subtitle if you wish. Typically, it will be in a normal-sized font, boldface, and centered.
 * content : (Required) The main content of the bordered box, usually a string of links. Start a new line by using  tags. Typically, this will be in a smaller font.
 * contentalign : (Optional) the   property of the content area may be set to "left", "right", "center", or "justify". The default is "left".
 * width : (Optional) The default value is "90%" of the width of the viewing area, but you can override this using a percentage or an absolute width in pixels (px), inches (in), centimeters (cm), millimeters (mm), points (pt), picas (pc), or ems (em).
 * styles : (Optional) You may specify additional CSS selectors to be applied to the overall bordered box. For example,   would add an additional 10 pixel margin around the entire box. Attributes and values must be separated by a colon (:) and selectors must be separated by a semicolon (;). Do not enclose the string in quotes, this is done inside the template. This is not to be used to alter the style of the bordered box&mdash;use the wiki's CSS for that.

Example
Produces:

Advanced Styling
The same CSS classes that are used in this template can be used on wiki markup or HTML tables to achieve a bordered box while allowing much more flexibility with the layout. Note that there are two classes for each element: one that applies to all bordered boxes and one that applies to a particular theme of bordered box. For example,  and. Here is an example of a complex navigation box using the bordered box styles:

Produces: