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{{!}}{{#expr: {{:{{{eName|}}}/Atomic mass}} round {{{MassDecimalPlaces|}}} }} ]]|[[{{{eName|}}}/Atomic mass ]] }} }}</sup></font>
|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|}}} }}|({{#expr: {{:{{{eName|}}}/Atomic mass}} round {{{decimalPlaces|}}} }}) }}]] }} }}</sup></font>
|-
|-
|colspan=2 align=center | <font size=3px>'''[[{{{eName|}}}|{{{eSym|}}}]]'''</font>
|colspan=2 align=center | <font size=3px>'''[[{{{eName|}}}|{{{eSym|}}}]]'''</font>

Revision as of 13:43, 17 June 2008

This template was designed for use with {{Resizable periodic cell color}}.

See {{PTofE}} for an example.