Template:Colourbox

From Brickipedia, the LEGO Wiki
Transparent.png


Template-info.png Template documentation

This documentation is transcluded from Template:Colourbox/doc. (edit | history)
This template has a sandbox (edit) and testcases (edit) for editors to experiment.

This template is used to display colours in a framed box and is usually included in the Parts Infobox.

Usage[edit source]

This template can display official LEGO colours when the correct Colour ID is provided. A list of official colours and their ID can be found here.

To use this feature put the Colour ID number behind LC=

{{Colourbox|LC=<number>}}

To display the colour "Dark Red" (Colour ID: 154) put 154 behind LC=

{{Colourbox|LC=154}}

This results in

Transparent.png


Note that a tooltip with the colour name (Dark Red) is provided automatically on mouse hover.

Other colours[edit source]

To display other colours use the template like this:

{{Colourbox|<colour you want to have>|<pop-up text of the colour>}}