<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://elite.mistflux.co.uk/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AElement_cell%2Fdoc</id>
	<title>Template:Element cell/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://elite.mistflux.co.uk/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AElement_cell%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://elite.mistflux.co.uk/w/index.php?title=Template:Element_cell/doc&amp;action=history"/>
	<updated>2026-10-31T19:30:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.46.2</generator>
	<entry>
		<id>https://elite.mistflux.co.uk/w/index.php?title=Template:Element_cell/doc&amp;diff=127625&amp;oldid=prev</id>
		<title>Wikipedia&gt;Colonies Chris at 09:16, 6 June 2024</title>
		<link rel="alternate" type="text/html" href="https://elite.mistflux.co.uk/w/index.php?title=Template:Element_cell/doc&amp;diff=127625&amp;oldid=prev"/>
		<updated>2024-06-06T09:16:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- Categories and interwikis go at the bottom of this page. --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
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.&lt;br /&gt;
{{Element cell/overview}}&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
==Parameters==&lt;br /&gt;
All parameters are optional.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| {{element cell|80|mercury|Hg||Liquid|Transition metals|Primordial|link=mercury (element)}}&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| {{element cell|80|mercury|Hg||Liquid|Transition metals|Primordial|link=mercury (element)}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
;Top row:&lt;br /&gt;
Parameter 1, usually the atomic number, is put in the top row unlinked. If this parameter is present, a &amp;amp;lt;br/&amp;gt; is added. The font color is set by parameter 5, usually the state of matter key.&lt;br /&gt;
;Asterisk (*):&lt;br /&gt;
To add a plain asterisk, as is done to mark lanthanides and actinides, add them in {{code|1=&amp;amp;lt;nowiki&amp;gt;}} tags in parameter #1 like this:&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
 | {{element cell|&amp;amp;lt;nowiki&amp;gt;*&amp;amp;lt;/nowiki&amp;gt;|Lanthanides}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;Page link:&lt;br /&gt;
The cell links to parameter 2, usually the element name. If the page name is not the element name, as with {{code|1=&amp;lt;nowiki&amp;gt;[[Mercury (element)]]&amp;lt;/nowiki&amp;gt;}}, the correct pagename can be set through {{code|1=link=Mercury (element)}}.&lt;br /&gt;
&lt;br /&gt;
;Label:&lt;br /&gt;
The link is &amp;#039;&amp;#039;labeled&amp;#039;&amp;#039; with parameter 3 (usually the symbol): {{code|1=&amp;lt;nowiki&amp;gt;link=[[Aluminium|Al]]&amp;lt;/nowiki&amp;gt;}}.&lt;br /&gt;
If there is no link provided (no parameter 2, no link=), parameter 3 will show as unlinked text.&lt;br /&gt;
&lt;br /&gt;
;Background:&lt;br /&gt;
The background color is set by parameter 6, usually the category name. It can be set by parameter bg: {{code|1=bg=#aabbcc}}. Parameter bg is used for just a color, with no legend meaning (no text in the title).&lt;br /&gt;
&lt;br /&gt;
;Frame (cell border):&lt;br /&gt;
The frame style is set via parameter 7, usually the occurrence. It can be overridden by using {{code|border=3px solid red}}. This sets the border (frame), but does not have a legend meaning (no text in the title).&lt;br /&gt;
&lt;br /&gt;
;Style:&lt;br /&gt;
All style can be set (and overridden) by using the style parameter: {{code|1=style=width:5em;}}. Do not add quotes (&amp;quot;&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
;Title:&lt;br /&gt;
The title (mousehover text) is created from params 1: 6; 7; 5. (name: category; occurrence; state of matter).&amp;lt;br/&amp;gt;&lt;br /&gt;
The emercury example will give: {{code|1=Mercury: transition metals; primordeal; liquid}}&amp;lt;br/&amp;gt;&lt;br /&gt;
When parameters {{code|1=bg}} or {{code|1=border}} are used, their setting is not added to the title (they are meaningless).&lt;br /&gt;
The title can be set (overridden) to any text, including a blank, by using {{code|1=title=...}}&lt;br /&gt;
&lt;br /&gt;
;Legend:&lt;br /&gt;
The legend is composed from parameters 6, 5 and 7. It can be overridden by using {{code|1=legend=Special meaning}}. (This can be useful in combination with setting {{code|1=bg=...}}).&lt;br /&gt;
&lt;br /&gt;
;Example using parameters&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| {{element cell|one|two|three|bg=yellow|border=3px solid red|link=Main page|title=Some example}}&lt;br /&gt;
|}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{|&lt;br /&gt;
|-&lt;br /&gt;
| {{element cell|one|two|three|bg=yellow|border=3px solid red|link=Main page|title=Some example}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Deprecated==&lt;br /&gt;
Deprecated parameters: unnamed parameter number 8, unnamed parameter number 9.&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
{{tl|Element cell/isotopes}}&lt;br /&gt;
&lt;br /&gt;
{{periodic table templates overview}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
[[Category:Periodic table style and format templates|Cell, {{PAGENAME}}]]&lt;br /&gt;
&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Wikipedia&gt;Colonies Chris</name></author>
	</entry>
</feed>