Template:Element cell/doc

Usage
The template produces a content in formatted CSS style for a single element cell (to be used in a periodic table). It is part of a series.

Parameters
All parameters are optional.

Parameter 1, usually the atomic number, is put in the top row unlinked. If this parameter is present, a &lt;br/> is added. The font color is set by parameter 5, usually the state of matter key. To add a plain asterisk, as is done to mark lanthanides and actinides, add them in &lt;nowiki> tags in parameter #1 like this:
 * Top row:
 * Asterisk (*):

The cell links to parameter 2, usually the element name. If the page name is not the element name, as with Mercury (element), the correct pagename can be set through link=Mercury (element).
 * Page link:

The link is labeled with parameter 3 (usually the symbol): link=Al. If there is no link provided (no parameter 2, no link=), parameter 3 will show as unlinked text.
 * Label:

The background color is set by parameter 6, usually the category name. It can be set by parameter bg: bg=#aabbcc. Parameter bg is used for just a color, with no legend meaning (no text in the title).
 * Background:

The frame style is set via parameter 7, usually the occurrence. It can be overridden by using. This sets the border (frame), but does not have a legend meaning (no text in the title).
 * Frame (cell border):

All style can be set (and overridden) by using the style parameter: style=width:5em;. Do not add quotes ("").
 * Style:

The title (mousehover text) is created from params 1: 6; 7; 5. (name: category; occurrence; state of matter). The emercury example will give: Mercury: transition metals; primordeal; liquid When parameters bg or border are used, their setting is not added to the title (they are meaningless). The title can be set (overridden) to any text, including a blank, by using title=...
 * Title:

The legend is composed from parameters 6, 5 and 7. It can be overridden by using legend=Special meaning. (This can be useful in combination with setting bg=...).
 * Legend:


 * Example using parameters

Deprecated
Deprecated parameters: unnamed parameter number 8, unnamed parameter number 9.