Template:Element cell

From 2009.igem.org

(Difference between revisions)
m
(Can now distinguish between empty and non-empty infobox)
Line 1: Line 1:
-
id="element{{{3}}}" class="element" title="{{{6|}}}; {{{7|}}}; {{{5|}}}" style="color:{{element color/{{{5|Solid}}}}}; background:{{{9|{{element color/{{{6|Transition metals}}}}}}}}; border:{{element frame/{{{7|Primordial}}}}};" |<div class="elementInfoIcon" style="float:right;position:relative;"><div class="infoBox" style="position:absolute;left:0%;top:75%; display:none;">{{{info|No info}}}</div></div> {{{1}}} <div style="text-align:center;"> [[{{{8|{{{2}}}}}}|{{{3}}}]] </div>
+
id="element{{{3}}}" class="element" title="{{{6|}}}; {{{7|}}}; {{{5|}}}" style="color:{{element color/{{{5|Solid}}}}}; background:{{{9|{{element color/{{{6|Transition metals}}}}}}}}; border:{{element frame/{{{7|Primordial}}}}};" |<html><div class="infoIcon" style="float:right;position:relative;" info="</html>{{anchorencode:{{{info|}}}}}<html>"></html><div class="infoBox" style="position:absolute;left:0%;top:75%;">{{{info|No info}}}</div><html></div></html> {{{1}}} <div style="text-align:center;"> [[{{{8|{{{2}}}}}}|{{{3}}}]] </div>

Revision as of 13:38, 15 July 2009

id="element{{{3}}}" class="element" title="; ; " style="color:black; background:#ffc0c0; border:2px solid black;" |
No info
{{{1}}}
[[{{{2}}}|{{{3}}}]]