Template:ToColor: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>David Yamakuchi
imported>David Yamakuchi
mNo edit summary
Line 1: Line 1:
<includeonly>{{#switch: {{#expr: {{#expr: 5-{{:{{{eName}}}/Electronegativity}} }}*2.2 round 0}}
<includeonly>{{#switch: {{{1|}}}
|9=f
|9=f
|8=e
|8=e
Line 10: Line 10:
|1=7
|1=7
|
|
}}f{{#switch: {{#expr: {{#expr: 5-{{:{{{eName}}}/Electronegativity}} }}*2.2 round 0}}
}}f{{#switch: {{{1|}}}
|9=f
|9=f
|8=e
|8=e
Line 21: Line 21:
|1=7
|1=7
|
|
}}f{{#switch: {{#expr: {{#expr: 5-{{:{{{eName}}}/Electronegativity}} }}*2.2 round 0}}
}}f{{#switch: {{{1|}}}
|9=f
|9=f
|8=e
|8=e

Revision as of 11:43, 23 June 2008

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

This template takes an input integer (range 0-9), and returns a color value.