Template:Colorbox/doc
Template page
More actions
Documentation subpage
This is a documentation subpage for a template. It is not included when the template is used.
Description
Displays a small colored box with optional text and a link.
Usage
{{Colorbox|background|text|link|text color}}
Parameters
| Parameter | Description | Example |
|---|---|---|
| background | Background color (name, hex, rgb) | red, #ff0000 |
| text | Text displayed inside the box | Example |
| link | Page to link to (optional) | Main Page |
| text color | Text color (optional, for contrast) | white |