Template:Cel: Difference between revisions
Jump to navigation
Jump to search
imported>David Yamakuchi mNo edit summary |
imported>David Yamakuchi mNo edit summary |
||
Line 1: | Line 1: | ||
<includeonly>{|border="0" align="center" cellpadding="1" cellspacing="0" style="width: {{{cellWidth}}}; height: {{{cellHeight}}}; border-bottom:1px solid #000; border-left:1px solid #000; border-top:1px solid #888; border-right:1px solid #888; background:#{{Resizable periodic cell color | eName = {{{eName}}} | colorscheme = {{{colorscheme}}} }}" | <includeonly>{|border="0" align="center" cellpadding="1" cellspacing="0" style="width: {{{cellWidth}}}; height: {{{cellHeight}}}; border-bottom:1px solid #000; border-left:1px solid #000; border-top:1px solid #888; border-right:1px solid #888; background:#{{Resizable periodic cell color | eName = {{{eName}}} | colorscheme = {{{colorscheme}}} }}" | ||
|colspan=2 align=left | <font size=1px><sup> | |colspan=2 align=left | <font size=1px><sup>[[Atomic mass|{{MassRound|eName={{{eName|}}}|MassDecimalPlaces={{{MassDecimalPlaces|}}}}}]]</sup></font> | ||
|- | |- | ||
|colspan=2 align=center | <font size=3px>'''[[{{{eName|}}}|{{{eSym|}}}]]'''</font> | |colspan=2 align=center | <font size=3px>'''[[{{{eName|}}}|{{{eSym|}}}]]'''</font> | ||
|- | |- | ||
|align=left valign=top| <font size=1px><sub>[[Atomic number|{{:{{{eName|}}}/Atomic number}}]]</sub></font> | |align=left valign=top| <font size=1px><sub>[[Atomic number|{{:{{{eName|}}}/Atomic number}}]]</sub></font> | ||
|align=right valign=top| <font size=1px>{{#ifeq:"{{:{{{eName|}}}/Electronegativity}}"|"no data"||<sub>[[Pauling Electronegativity Scale|{{#ifeq:" | |align=right valign=top| <font size=1px>{{#ifeq:"{{:{{{eName|}}}/Electronegativity}}"|"no data"||<sub>[[Pauling Electronegativity Scale|{{#ifeq:"{{:{{{eName|}}}/Electronegativity}}"|"n/a"|n/a|{{#ifeq:"{{#expr:{{:{{{eName|}}}/Electronegativity}}round 1}}"|"{{#expr:{{:{{{eName|}}}/Electronegativity}}round 0}}"|{{#expr:{{:{{{eName|}}}/Electronegativity}} round 0}}.0|{{#expr:{{:{{{eName|}}}/Electronegativity}} round 1}}}}}}]]</sub>}}</font> | ||
|}</includeonly><noinclude>This template was customized for use with {{tl|Resizable periodic cell color}}. | |}</includeonly><noinclude>This template was customized for use with {{tl|Resizable periodic cell color}} and uses {{tl|MassRound}}. | ||
Please see {{tl|PTofE}} for an example.</noinclude> |