Template:ToColor: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>David Yamakuchi
mNo edit summary
imported>David Yamakuchi
mNo edit summary
 
(12 intermediate revisions by the same user not shown)
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 6: Line 6:
|5=b
|5=b
|4=a
|4=a
|2=9
|3=9
|1=8
|2=8
|0
|1=7
}}f{{#switch: {{#expr: {{#expr: 5-{{:{{{eName}}}/Electronegativity}} }}*2.2 round 0}}
|0=6
|48
}}{{#switch: {{{1|}}}
|9=f
|9=f
|8=e
|8=e
Line 16: Line 18:
|5=b
|5=b
|4=a
|4=a
|2=9
|3=9
|1=8
|2=8
|0
|1=7
}}f{{#switch: {{#expr: {{#expr: 5-{{:{{{eName}}}/Electronegativity}} }}*2.2 round 0}}
|0=6
|bb
}}{{#switch: {{{1|}}}
|9=f
|9=f
|8=e
|8=e
Line 26: Line 30:
|5=b
|5=b
|4=a
|4=a
|2=9
|3=9
|1=8
|2=8
|0
|1=7
}}f</includeonly>
|0=6
|f7
}}</includeonly><noinclude>{{TlDoc}}</noinclude>

Latest revision as of 11:00, 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.