Difference between revisions of "Template:Box/doc"

From EVE University Wiki
Jump to: navigation, search
(Moved documentation to own page.)
 
m
Line 12: Line 12:
 
*<code>{{t|color box}}</code>, a more advanced template for creating colored boxes.
 
*<code>{{t|color box}}</code>, a more advanced template for creating colored boxes.
  
<includeonly>[[Category:Template]]</includeonly>
+
<includeonly>[[Category:Formatting templates]]</includeonly>
 
<noinclude>[[Category:Template documentation]]</noinclude>
 
<noinclude>[[Category:Template documentation]]</noinclude>

Revision as of 21:16, 18 March 2021

Main article: Template:Box

Usage

Creates a box with text.

{{ Box | border_color | text | border_style }}

Syntax

border_color
Specifies the color for the box' color. Either use a named color (e.g. purple) or the color's hexadecimal code (e.g. #800080). If you don't specify a color, the box will have a medium-grey border.
border_style
Specifies the style of the box' border; you can use any of the CSS border styles. If you don't specify anything here, the box will have a dotted border.

See also

  • {{color box}}, a more advanced template for creating colored boxes.