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 5: Line 5:
   |{{#ifeq:{{#expr: {{:{{{eName|}}}/Atomic mass}} round {{#expr:{{{MassDecimalPlaces|}}}-1}} }}|{{#expr: {{:{{{eName|}}}/Atomic mass}} round {{#expr:{{{MassDecimalPlaces|}}}-2}} }}
   |{{#ifeq:{{#expr: {{:{{{eName|}}}/Atomic mass}} round {{#expr:{{{MassDecimalPlaces|}}}-1}} }}|{{#expr: {{:{{{eName|}}}/Atomic mass}} round {{#expr:{{{MassDecimalPlaces|}}}-2}} }}
   |{{#expr: {{:{{{eName|}}}/Atomic mass}} round {{{MassDecimalPlaces|}}} }}{{#ifeq:{{{MassDecimalPlaces|}}}|2|.00|00}}
   |{{#expr: {{:{{{eName|}}}/Atomic mass}} round {{{MassDecimalPlaces|}}} }}{{#ifeq:{{{MassDecimalPlaces|}}}|2|.00|00}}
   |{{#expr: {{:{{{eName|}}}/Atomic mass}} round {{{MassDecimalPlaces|}}} }}{{#ifeq:{{{MassDecimalPlaces|}}}|1|.0|0*}}}}
   |{{#expr: {{:{{{eName|}}}/Atomic mass}} round {{{MassDecimalPlaces|}}} }}{{#ifeq:{{{MassDecimalPlaces|}}}|1|.0|0}}}}
   |{{#expr: {{:{{{eName|}}}/Atomic mass}} round {{{MassDecimalPlaces|}}} }}}}
   |{{#expr: {{:{{{eName|}}}/Atomic mass}} round {{{MassDecimalPlaces|}}} }}}}
   |{{#ifeq:"{{:{{{eName|}}}/Atomic mass}}"|"({{#expr: {{:{{{eName|}}}/Atomic mass}}}})"
   |{{#ifeq:"{{:{{{eName|}}}/Atomic mass}}"|"({{#expr: {{:{{{eName|}}}/Atomic mass}}}})"

Revision as of 17:06, 17 June 2008

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

See {{PTofE}} for an example.