Template:Border/doc

This template is used to place a customized border around text or an image. Note, to add a plain border to an image, use the  parameter in   (see Wikipedia:Picture tutorial).

Basic
Basic usage is, where element is the text, image, etc. around which the border is to appear. The border will be a solid light grey color (#ddd) and 1px (1 pixel) wide by default (for custom settings; see below).
 * &rarr;

All options show:


 * &rarr;

Parameters

 * element: (required) The element (image, text, etc) around which the border is to appear.


 * display The element's display method: inline-block (default if the parameter is not used), block, inline, table, flex, etc.


 * width: The width (thickness) of the border (default is ).


 * style The border's style: solid (default if the parameter is not used), dotted, dashed, double, groove, ridge, inset or outset.


 * style2: Additional CSS properties can be used in this template.


 * color: The border's color (default #ddd, otherwise recommend a named color).

Inline of element

 * noinline: Set &lt;anytext> to replace the default  display style.
 * Some text
 * Inline reading


 * div: Set &lt;anytext> to wrap the template's content in tags instead of the default  tags. This is required if the template's content uses div tags or contains multiple lines of text.