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 1: Line 1:
<includeonly>{{#switch: {{{colorscheme}}}
<includeonly>{{#switch: {{{2|}}}
|Phase = {{#switch: {{ :{{{eName}}}/Standard phase}}
|Phase = {{#switch: {{ :{{{1|}}}/Standard phase}}
             |Solid = 5fff5a;
             |Solid = 5fff5a;
             |Liquid = bebafc;
             |Liquid = bebafc;
Line 6: Line 6:
             |Synthetic = dbb0ff;
             |Synthetic = dbb0ff;
             |f2f2f2;}}
             |f2f2f2;}}
|Metal = {{#switch: {{ :{{{eName|}}}/Elemental Class}}
|Metal = {{#switch: {{ :{{{1||}}}/Elemental Class}}
             |Post-Transition Metal= 5fff5a;
             |Post-Transition Metal= 5fff5a;
             |Transition Metal = 8cdc73;
             |Transition Metal = 8cdc73;
Line 21: Line 21:
             |Synthetic = 9f9f9f;
             |Synthetic = 9f9f9f;
             |f2f2f2;}}
             |f2f2f2;}}
|Electronegativity = {{#ifeq:"{{:{{{eName|}}}/Electronegativity}}"|"no data"|fff177|{{Calculate electronegativity color|eName={{{eName}}} }}}};
|Electronegativity = {{#ifeq:"{{:{{{1|}}}/Electronegativity}}"|"no data"|fff177|{{Calculate electronegativity color|eName={{{1|}}} }}}};
|f2f2f2;
|f2f2f2;
}}</includeonly><noinclude>
}}</includeonly><noinclude>

Revision as of 01:20, 18 June 2008

Usage

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

Colorschemes

Currently supported color schemes are:

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