Template:colorbox

From Wiktionary
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 this template used by VisualEditor and other tools.

TemplateData for colorbox

Template for creating a small box with a specified color.

Template parameters[Edit template data]

ParameterDescriptionTypeStatus
HTML color code1

The HTML code for the specific color

Stringrequired
Additional CSS2

Any additional CSS styles to add

Stringoptional