Template:Rpc color: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>David Yamakuchi
m (Undo revision 100357316 by David Yamakuchi (Talk))
m (Text replacement - "Elemental Class" to "Periodic table of elements")
 
(6 intermediate revisions by one other user not shown)
Line 6: Line 6:
             |Synthetic = dbb0ff;
             |Synthetic = dbb0ff;
             |f2f2f2;}}
             |f2f2f2;}}
|Metal = {{#switch: {{ :{{{1|}}}/Elemental Class}}
|Metal = {{#switch: {{ :{{{1|}}}/Periodic table of elements}}
             |Post-Transition Metal= 5fff5a;
             |Post-Transition Metal= 5fff5a;
             |Transition Metal = 8cdc73;
             |Transition metal = 8cdc73;
             |Metal = bebafc;
             |Metal = bebafc;
             |Metalloid = bdfc37;
             |Metalloid = bdfc37;
             |Non-Metal = fafa15;
             |Non-Metal = fafa15;
             |Alkaline Earth Metal = dbb0ff;
             |Alkaline Earth Metal = dbb0ff;
             |Alkali Metal = db0bff;
             |Alkali metal = db0bff;
             |Halogen = e7f38c;
             |Halogen = e7f38c;
             |Noble Gas = 1cc1c1;
             |Noble Gas = 1cc1c1;
Line 22: Line 22:
             |f2f2f2;}}
             |f2f2f2;}}
|Electronegativity = {{#ifeq:"{{:{{{1|}}}/Electronegativity}}"|"no data"|fff177|{{ToColor|{{#expr:{{#expr:5-{{:{{{1|}}}/Electronegativity}}}}*2.2 round 0}}}}}};
|Electronegativity = {{#ifeq:"{{:{{{1|}}}/Electronegativity}}"|"no data"|fff177|{{ToColor|{{#expr:{{#expr:5-{{:{{{1|}}}/Electronegativity}}}}*2.2 round 0}}}}}};
|Boiling point = {{#ifeq:"{{:{{{1|}}}/Boiling point}}"|"no data"|aaaaff|{{ToColor|{{#expr:(({{:{{{1|}}}/Boiling point}}+10500)/16384)*10 round 0}}}}}};
|Boiling point = {{#ifeq:"{{:{{{1|}}}/Boiling point}}"|"no data"|aaaaff|{{ToColor|{{#expr:(({{:{{{1|}}}/Boiling point}}+9950)/16384)*10 round 0}}}}}};
|f2f2f2;
|f2f2f2;
}}</includeonly><noinclude>{{TlDoc}}</noinclude>
}}</includeonly><noinclude>{{TlDoc}}</noinclude>

Latest revision as of 05:49, 6 March 2024

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)