Template:Rpc: 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:#{{Rpc 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}}} }}"
|align=left valign=top| <font size=0px><sup>{{#ifeq:"{{:{{{eName|}}}/{{{Property}}}}}"|"no data"|&nbsp;|{{#ifexist:{{{eName|}}}/{{{Property|}}}|[[{{{eName|}}}/{{{Property|}}}{{!}}{{#ifeq:"{{:{{{eName|}}}/{{{Property|}}}}}"|"{{#expr: {{:{{{eName|}}}/{{{Property|}}}}}}}"|{{#expr: {{:{{{eName|}}}/{{{Property|}}}}} round {{{decimalPlaces|}}} }}|({{#expr: {{:{{{eName|}}}/{{{Property|}}}}} round {{{decimalPlaces|}}} }}) }}]] }} }}</sup></font>
|colspan=2 align=left | <font size=1px><sup>[[{{{eName|}}}/Atomic mass|{{MassRound|{{{eName|}}}|{{{MassDecimalPlaces|}}}}}]]</sup></font>
|align=right|<font size=1px></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>[[Atomic number|{{:{{{eName|}}}/Atomic number}}]]</font>
|align=left valign=top| <font size=1px><sub>[[Atomic number|{{:{{{eName|}}}/Atomic number}}]]</sub></font>
|}</includeonly><noinclude>
|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>
== Usage ==
|}</includeonly><noinclude>This template was customized for use with {{tl|Resizable periodic cell color}} and uses {{tl|MassRound}}.
This template was designed for use with {{tl|Resizable Periodic Table of Elements}} and {{tl|Rpc color}} for development.</noinclude>
 
Please see {{tl|PTofE}} for an example.</noinclude>

Revision as of 23:43, 17 June 2008

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

Please see {{PTofE}} for an example.