Template:Cel: Difference between revisions

From Citizendium
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>{{#ifeq:"{{:{{{eName|}}}/Atomic mass}}"|"no data"|&nbsp;|{{#ifexist:{{{eName|}}}/Atomic mass|[[{{{eName|}}}/Atomic mass{{!}}{{#ifeq:"{{:{{{eName|}}}/Atomic mass}}"|"{{#expr: {{:{{{eName|}}}/Atomic mass}}}}"|{{#expr: {{:{{{eName|}}}/Atomic mass}} round {{{MassDecimalPlaces|}}} }}|{{#ifeq:"{{:{{{eName|}}}/Atomic mass}}"|"({{#expr: {{:{{{eName|}}}/Atomic mass}}}})"|({{#expr: {{:{{{eName|}}}/Atomic mass}} round {{{MassDecimalPlaces|}}} }})|{{#expr: {{:{{{eName|}}}/Atomic mass}} round {{{MassDecimalPlaces|}}} }}}} }}]] }} }}</sup></font>
|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:"{{#expr:{{:{{{eName|}}}/Electronegativity}}round 1}}"|"{{:{{{eName|}}}/Electronegativity}}"|{{#expr:{{:{{{eName|}}}/Electronegativity}} round 1}}|{{#ifeq:"{{:{{{eName|}}}/Electronegativity}}"|"n/a"|n/a|{{#expr:{{:{{{eName|}}}/Electronegativity}} round 1}}.0}}}}]]</sub>}}</font>
|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}}.


See {{tl|PTofE}} for an example.</noinclude>
Please see {{tl|PTofE}} for an example.</noinclude>

Revision as of 01:38, 18 June 2008

This template was customized for use with {{Resizable periodic cell color}} and uses {{MassRound}}.

Please see {{PTofE}} for an example.