ទំព័រគំរូ:Infobox element/group/doc
ការរចនា
| This is a documentation subpage for ទំព័រគំរូ:Infobox element/group. It may contain usage information, categories and other content that is not part of the original ទំព័រគំរូ page. |
Usage
[កែប្រែ]To be used inside {{Infobox element}}. It can take its parameters from existing infobox parameters (no changes needed in most individual infoboxes).
{{infobox element/group
|group={{{group|}}}
|series={{{series|}}}
|number={{{number|}}}
|predicted={{{predicted|}}}
}}
It uses group number to produce (show) basic text & links. This text is overruled by series (lanthanides, actinides, superactinides): they get their own text (currently: the n/a link). All this can be top-overruled by individual atomic number text (e.g. 1 Hydrogen) for special situations.
Required is either one of the three overruling series names or a group number. In case of an error, the template page (not the element article) is listed in Category:Element templates that need attention for maintenance check. The error is not shown on the article page.
Demo
[កែប្រែ]| group, nr or series | shows in infobox | note |
|---|---|---|
| 1, H | 1 | 1, H set by atomic number exception to overrule default text for group=1 (not an alkali metal) |
| 57, La | n/a | set by series=lanthanide |
| 71, Lu | n/a | Lu, 71: set by atomic number exception |
| 89, Ac | n/a | set by series=actinides |
| 103, Lr | n/a | 103, Lr: set by atomic number exception |
| 109, Mt | 9 (predicted) | set |predicted=yes
|
| 121, Ubu | n/a | set by series=superactinides |
| 1 | 1 (alkali metals) | |
| 2 | 2 (alkaline earth metals) | |
| 3 | 3 | |
| 4 | 4 | |
| 5 | 5 | |
| 6 | 6 | |
| 7 | 7 | |
| 8 | 8 | |
| 9 | 9 | |
| 10 | 10 | |
| 11 | 11 | |
| 12 | 12 | |
| 13 | 13 | |
| 14 | 14 | |
| 15 | 15 (pnictogens) | |
| 16 | 16 (chalcogens) | |
| 17 | 17 (halogens) | |
| 18 | 18 (noble gases) | |
| 19 | error | |
| n/a | error | group=n/a input should have been overruled by being lan/act/superact series
|