Template:Style inner header

style="border-bottom: solid 1px #; border-top: solid 1px #; background: #002020; color: ; text-align: center;"

Description
CSS inline style suitable for table cells used as "inner" (or "sub") headers, such as the Failed Event and Successful Event used typically in Interaction tables. Sets the borders, background and text colors.

Ideally this should be a CSS class in MediaWiki:common.css and not a template, but since that one is a restricted file, template it is :)

Usage
| | header text

The optional highlight positional argument, if non-blank, will use a different set of colors for the border and text, suitable for "special" inner headers like Rare Event.

However, the bottom border set by the cell above it, inherited from the sstable CSS class border, will override the top border of this "inner" header. To fix this, the cell above it should use the   companion template, which sets the border to none. The examples demonstrates proper usage.

Examples
Notice the last "inner" cell does not use  . It is not needed, and it would affect the "major" row divider in tables with more than one row, such as Interaction tables, if the next row also uses this template (or its style).


 * Basic:


 * Most common usage:


 * Rare event:


 * All combined: