Difference between revisions of "Template:Element"

From Marspedia
Jump to: navigation, search
m (testing template)
m (small test)
Line 1: Line 1:
 
<div style="padding:0px 5px 0px 5px;border:1px #000000 solid;width:50px;height:60px;text-align:center">
 
<div style="padding:0px 5px 0px 5px;border:1px #000000 solid;width:50px;height:60px;text-align:center">
 
{|
 
{|
|rowspan="2" height="100%" style="text-align:center;font-size:22pt;margin:0;padding:0;vertical-align:middle"|{{{elementSymbol}}}
+
|rowspan="2" height="100%" style="text-align:right;font-size:22pt;margin:0;padding:0;"|{{{elementSymbol}}}
 
|style="margin:0;padding:0;text-align:left"|{{{protons}}}
 
|style="margin:0;padding:0;text-align:left"|{{{protons}}}
 
|-
 
|-
 
|style="margin:0;padding:0;text-align:left"|{{{neutrons}}}
 
|style="margin:0;padding:0;text-align:left"|{{{neutrons}}}
 
|-
 
|-
|<strong style="margin-top:0;padding-top:0;font-size:7pt">[[{{{elementName}}}]]</strong>
+
|colspan="2" style="margin:0;padding:0;font-size:7pt"|[[{{{elementName}}}]]
 
|}
 
|}
 
</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 18:42, 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.