Template:Round1: 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:
{{#ifeq:"{{:{{{eName|}}}/Atomic mass}}"|"n/a"|n/a|{{#ifeq:"{{#expr:{{:{{{eName|}}}/Atomic mass}}round 1}}"|"{{#expr:{{:{{{eName|}}}/Atomic mass}}round 0}}"|{{#expr:{{:{{{eName|}}}/Atomic mass}} round 0}}.0|{{#expr:{{:{{{eName|}}}/Atomic mass}} round 1}}}}}}
<includeonly>{{#ifeq:"{{:{{{eName|}}}/Atomic mass}}"|"n/a"|n/a|{{#ifeq:"{{#expr:{{:{{{eName|}}}/Atomic mass}}round 1}}"|"{{#expr:{{:{{{eName|}}}/Atomic mass}}round 0}}"|{{#expr:{{:{{{eName|}}}/Atomic mass}} round 0}}.0|{{#expr:{{:{{{eName|}}}/Atomic mass}} round 1}}}}}}</includeonly><noinclude>{{TlDoc}}</noinclude>

Revision as of 13:40, 18 June 2008

This documentation is transcluded from Template:Round1/doc (edit | history)

This template was constructed to round the atomic mass numbers to one place after the decimal for {{Resizable periodic cell}} (for {{PTofE}}.)

Usage

{{MassRound|{{:Cobalt/Atomic mass}} }}

Expression error: Unrecognized punctuation character "["..0