قالب:Element cell-1/شرح
This template provides a simple and lean way to build a colored periodic table. Used in a wikitable, it produces a link to a element page and a background color.
Example Hg, in wikitable:
{|
|-
| {{element cell-1|80|Y}}
|}
| Hg |
It is suited for talkpages; for article space it may be too simple. Precoded PTs for copy-paste are available:
Usage
Element cell templates
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| cell | cell-named | cell-large | cell property | cell image | cell-asterisk | cell AQ not in articles |
cell-1 not in articles | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
|
|
|
|
|
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Pattern:{| |- | {{element cell-...}} |}
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
All cells produce text like: style="background:#12abdf; {{{style|}}};" | [[ذهب]]So there is a pipe symbol (|) in the middle, separating cell style and cell content. | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| انظر أيضاً: Template:Element color • Template:Element frame | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
The template produces a content in formatted CSS style for a single element cell (to be used in a periodic table).
A simple list can be made easily, with colors set or changed:
C (for Category color, as set in enwiki), R, G, B, Y, grey, pink, alkaline earth metal
So: |2=...
C (for Category color, as set in enwiki) R -> red G -> green B -> blue Y ->yellow grey -> color name pink -> color name alkaline earth metal -> category name
| style="width:2em; text-align:center; background:قالب:Element cell-1/Z-to-catcolor;"|H | H | He | Li | Be | B |
Parameters
All parameters are optional.
{{element cell-1
| 1= atomic number Z
| 2= bg color (R,G,B,Y,W,X,C or "#abe5ff", "lightgreen", "poor metal" &tc.)
}}
Templates used
- Element cell-1 (edit • talk • history • links • /subpages • /doc • /doc edit • /sbox • /sbox diff • /test)
- Element cell-1/Table style (edit • talk • history • links • /subpages • /doc • /doc edit • /sbox • /sbox diff • /test)
- Element cell-1/Table header (edit • talk • history • links • /subpages • /doc • /doc edit • /sbox • /sbox diff • /test)
- Element cell-1/Z-to-page (edit • talk • history • links • /subpages • /doc • /doc edit • /sbox • /sbox diff • /test)
- Element cell-1/Z-to-catcolor (edit • talk • history • links • /subpages • /doc • /doc edit • /sbox • /sbox diff • /test)
- Element cell-1/PT 18-col (edit • talk • history • links • /subpages • /doc • /doc edit • /sbox • /sbox diff • /test)
- Element cell-1/PT 32-col (edit • talk • history • links • /subpages • /doc • /doc edit • /sbox • /sbox diff • /test)
- Element cell-1/PT extended (edit • talk • history • links • /subpages • /doc • /doc edit • /sbox • /sbox diff • /test)
See also
| المجموعة | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| الهيدروجين والفلزات القلوية |
الفلزات الأرضية القلوية | Pnictogens | Chalcogens | Halogens | Noble gases | ||||||||||||||
| الدورة |
|||||||||||||||||||
| 2 | |||||||||||||||||||
| 3 | |||||||||||||||||||
| 4 | |||||||||||||||||||
| 5 | |||||||||||||||||||
| 6 | |||||||||||||||||||
| 7 | |||||||||||||||||||
| 1 (أحمر)=غاز | 3 (أسود)=صلب | 80 (أخضر)=سائل | 109 (رمادي)=غير معروفة | لون الرقم الذري يبين حالة المادة (عند 0 °س و 1 atm) |
| بدائي | من اضمحلال | اصطناعي | الإطار يبين التوافر الطبيعي للعنصر |
Standard atomic weight Ar, std(E)[1]
- Ca: 40.078 — Abridged value (uncertainty omitted here)[2]
- Po: [209] — mass number of the most stable isotope
| s-block | p-block | d-block | f-block | لون الخلفية يبين مستوى فرعي بالجدول الدوري |
- ^ Meija, Juris; et al. (2016). "Atomic weights of the elements 2013 (IUPAC Technical Report)". Pure and Applied Chemistry. 88 (3): 265–91. doi:10.1515/pac-2015-0305.
- ^ Prohaska, Thomas; Irrgeher, Johanna; Benefield, Jacqueline; Böhlke, John K.; Chesson, Lesley A.; Coplen, Tyler B.; Ding, Tiping; Dunn, Philip J. H.; Gröning, Manfred; Holden, Norman E.; Meijer, Harro A. J. (2022-05-04). "Standard atomic weights of the elements 2021 (IUPAC Technical Report)". Pure and Applied Chemistry (in الإنجليزية). doi:10.1515/pac-2019-0603. ISSN 1365-3075.