Template:Rpc color: Difference between revisions
Jump to navigation
Jump to search
imported>David Yamakuchi mNo edit summary |
John Leach (talk | contribs) m (Text replacement - "Elemental Class" to "Periodic table of elements") |
||
(11 intermediate revisions by one other user not shown) | |||
Line 6: | Line 6: | ||
|Synthetic = dbb0ff; | |Synthetic = dbb0ff; | ||
|f2f2f2;}} | |f2f2f2;}} | ||
|Metal = {{#switch: {{ :{{{1|}}}/ | |Metal = {{#switch: {{ :{{{1|}}}/Periodic table of elements}} | ||
|Post-Transition Metal= 5fff5a; | |Post-Transition Metal= 5fff5a; | ||
|Transition | |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 | |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 = {{ToColor|{{#expr:(({{:{{{1|}}}/Boiling point}}+ | |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
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:
- Phase
- Metal
- Electronegativity
- Boiling point
- "default" (= solid grey for the whole table)