Difference between revisions of "Template:Element"
m |
|||
Line 22: | Line 22: | ||
|elementName=Oxygen <br/> | |elementName=Oxygen <br/> | ||
|elementSymbol=O <br/> | |elementSymbol=O <br/> | ||
− | |protons= | + | |protons=8 <br/> |
− | |neutrons= | + | |neutrons=8 <br/> |
}} | }} | ||
This yields: | This yields: | ||
{{element | {{element | ||
− | |float | + | |float=left |
|elementName=Oxygen | |elementName=Oxygen | ||
|elementSymbol=O | |elementSymbol=O | ||
− | |protons= | + | |protons=8 |
− | |neutrons= | + | |neutrons=8 |
}} | }} | ||
[[category:templates]]</noinclude> | [[category:templates]]</noinclude> |
Revision as of 18:56, 23 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
|elementName=Oxygen
|elementSymbol=O
|protons=8
|neutrons=8
}}
This yields:
O | 8 |
8 | |
Oxygen |