Difference between revisions of "Template:Element"

From Marspedia
Jump to: navigation, search
m (testing....)
Line 1: Line 1:
 
<div style="padding:15px 5px 5px 5px;border:1px #000000 solid;width:50px;height:40px;text-align:center">
 
<div style="padding:15px 5px 5px 5px;border:1px #000000 solid;width:50px;height:40px;text-align:center">
 
{|
 
{|
|rowspan="2"|<span style="text-align:center;font-size:25pt;margin-bottom:0;padding-bottom:0">{{{elementName}}}</span>
+
|rowspan="2"|<span style="text-align:center;font-size:25pt;margin-bottom:0;padding-bottom:0">{{{elementSymbol}}}</span>
 
|{{{protons}}}
 
|{{{protons}}}
 
|-
 
|-
 
|{{{neutrons}}}
 
|{{{neutrons}}}
 
|-
 
|-
|<strong style="margin-top:0;padding-top:0;font-size:7pt">[[Hydrogen]]</strong>
+
|<strong style="margin-top:0;padding-top:0;font-size:7pt">[[{{{elementName}}}]]</strong>
 
|}
 
|}
 
</div><noinclude>
 
</div><noinclude>
 
Currently testing a template for elements in [[:category:Chemistry]]. This will be expanded for chemical formulae in time.
 
Currently testing a template for elements in [[:category:Chemistry]]. This will be expanded for chemical formulae in time.
 
[[category:templates]]</noinclude>
 
[[category:templates]]</noinclude>

Revision as of 15:30, 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.