Template:Rpc color: Difference between revisions

From Citizendium
Jump to navigation Jump to search
imported>David Yamakuchi
mNo edit summary
m (Text replacement - "Elemental Class" to "Periodic table of elements")
 
(56 intermediate revisions by one other user not shown)
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|}}}/Periodic table of elements}}
             |Post-Transition Metal= 5fff5a;
             |Post-Transition Metal= 5fff5a;
             |Transition Metal = 9fff55;
             |Transition metal = 8cdc73;
             |Metal = bebafc;
             |Metal = bebafc;
             |Metalloid = 7faa7f;
             |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;
             |Rare Earth = dadaad;
             |Rare Earth = dadaad;
             |Actinoid = daadda;
             |Actinoid = eddeed;
            |Trans-Uranium = addada;
            |Synthetic = 9f9f9f;
             |f2f2f2;}}
             |f2f2f2;}}
|Electronegativity = {{#expr:{{:{{{eName|}}}/Electronegativity}}*400}};
|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}}+9950)/16384)*10 round 0}}}}}};
|f2f2f2;
|f2f2f2;
}}</includeonly><noinclude>
}}</includeonly><noinclude>{{TlDoc}}</noinclude>
== Usage ==
This template was made to be used with {{tl|Rpc}}.
and {{tl|Resizable Periodic Table of Elements}} for development.
 
== Colorschemes ==
 
Currently "supported" color schemes are:
#Phase
#Metal
#Electronegativity
#"default" (= solid grey for the whole table)
See {{tl|Resizable Periodic Table of Elements}} for more info.
</noinclude>

Latest revision as of 04: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)