Difference between revisions of "Template:Element"
PeterBrett (talk | contribs) (Add some space around box) |
m (error by me) |
||
Line 19: | Line 19: | ||
<nowiki>{{</nowiki>element <br/> | <nowiki>{{</nowiki>element <br/> | ||
− | |float <br/> | + | |float=left <br/> |
|elementName=Oxygen <br/> | |elementName=Oxygen <br/> | ||
|elementSymbol=O <br/> | |elementSymbol=O <br/> |
Revision as of 11:54, 24 November 2007
{{{elementSymbol}}} | {{{protons}}} |
{{{neutrons}}} | |
[[{{{elementName}}}]] |
Currently testing a template for elements in category:Chemistry. This will be expanded for chemical formulae in time.
Usage:
If you have an element you would like to be represented by this periodic table symbol, you require the element symbol ({{{elementSymbol}}}), element name ({{{elementName}}}), no. of protons in the nuclei ({{{protons}}}) and no. of neutrons ({{{neutrons}}}). Optional: use the "float" command ({{{float}}}) to define either "left" or "right" side of article text.
Example:
For the element of Oxygen:
{{element
|float=left
|elementName=Oxygen
|elementSymbol=O
|protons=8
|neutrons=8
}}
This yields:
O | 8 |
8 | |
Oxygen |