Template:cell bg

Hello, you have come here looking for the meaning of the word Template:cell bg. In DICTIOUS you will not only get to know all the dictionary meanings for the word Template:cell bg, but we will also tell you about its etymology, its characteristics and you will know how to say Template:cell bg in singular and plural. Everything you need to know about the word Template:cell bg you have here. The definition of the word Template:cell bg will help you to be more precise and correct when speaking or writing your texts. Knowing the definition ofTemplate:cell bg, as well as those of other words, enriches your vocabulary and provides you with more and better linguistic resources.

This is a convenience template to produce colored cells in tables. The default color is a dark gray (#eaecf0).

Usage

Within a table, place the {{cell bg}} template before the cell content, like this:

{| class="wikitable"
| Normal cell
| {{cell bg}} | Colored cell
|}

which results in the following:

Normal cell Colored cell

Pass the first unnamed parameter to use a custom color:

{| class="wikitable"
| Normal cell
| {{cell bg|pink}} | Colored cell
|}

resulting in:

Normal cell Colored cell