Template:Infobox/themes/style

This template produces one of four styles for particular infobox/themes, in the form of CSS.

Parameters
This template uses abbreviated parameter names, to allow for short single lines when calling this template repetitively.
 * b: The border colour
 * bg: The main background colour
 * bgh: The background colour of headers
 * txt: The text colour in headers

Note: The colours may be in any CSS accepted format, that is #RGB, #RRGGBB, rgb(xxx,xxx,xxx) or string literal.


 * 1) The particular style that should be formed is also required (no parameter name, case insensitive), should be one of the following:
 * 2) * main (the infobox' main table style)
 * 3) * head (the infobox' default header style; title, subtitle and labels)
 * 4) * lead (the infobox' alternate header style; heading)
 * 5) * data (the infobox' plain data cell style)
 * 6) * any other value results in an empty string as output.

Example
The output would be pure CSS, acceptable for the HTML style attribute, in this example the specific attributes required for the 'main' element.