Template:colorbox

From Wiktionary
Jump to navigation Jump to search
Documentation icon Template documentation[view] [change] [history] [refresh]

This template is used to create a small box with a specified color.

Usage[change]

{{colorbox
| 1 = The HTML color code
| 2 = Any additional CSS to format the box
}}

TemplateData[change]

This is the TemplateData documentation for the template used by the new VisualEditor.

Colorbox

Template for creating a small box with a specified color.

Template parameters

ParameterDescriptionTypeStatus
HTML color code1

The HTML code for the specific color

Stringrequired
Additional CSS2

Any additional CSS styles to add

Stringoptional