Template:Rpc color: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>David Yamakuchi
mNo edit summary
imported>David Yamakuchi
mNo edit summary
Line 21: Line 21:
             |Synthetic = 9f9f9f;
             |Synthetic = 9f9f9f;
             |f2f2f2;}}
             |f2f2f2;}}
|Electronegativity = {{#ifeq:"{{:{{{1|}}}/Electronegativity}}"|"no data"|fff177|{{Calculate electronegativity color|eName={{{1|}}} }}}};
|Electronegativity = {{#ifeq:"{{:{{{1|}}}/Electronegativity}}"|"no data"|fff177|{{ToColor|{{#expr: {{#expr: 5-{{:{{{1|}}}/Electronegativity}} }}*2.2 round 0}}}}}};
|Boiling point = {{#switch: {{Mag|{{{1}}}|Boiling point}}
|Boiling point = {{ToColor|{{#expr:(({{:{{{1|}}}/Boiling point}}+10500)/16384)*10}}}}
                  |4 = 888888;
                  |3 = 999999;
                  |2 = aaaaaa;
                  |1 = bbbbbb;
                  |0 = cccccc;
                  |-1= dddddd;
                  |-2= eeeeee;
                  |-3= ffffff;
                  |ffa5ff;}}
|f2f2f2;
|f2f2f2;
}}</includeonly><noinclude>{{TlDoc}}</noinclude>
}}</includeonly><noinclude>{{TlDoc}}</noinclude>

Revision as of 11:48, 23 June 2008

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

Usage

This template was made to be used with {{PTofE}}, {{Rpc}}, {{PropertyCell}},{{Resizable Periodic table of elements}} , and {{Periodic Table of Properties}}.

Colorschemes

Currently supported color schemes are:

  1. Phase
  2. Metal
  3. Electronegativity
  4. Boiling point
  5. "default" (= solid grey for the whole table)