แม่แบบ:Infobox element/group

จากวิกิพีเดีย สารานุกรมเสรี

Documentation icon คู่มือการใช้งานแม่แบบ[ดู] [แก้] [ประวัติ] [ล้างแคช]

การใช้[แก้]

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.

ตัวอย่าง[แก้]

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 (โลหะแอลคาไล)
2 2 (โลหะแอลคาไลน์เอิร์ท)
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 (นิคโตเจน)
16 16 (แชลโคเจน)
17 17 (แฮโลเจน)
18 18 (แก๊สมีสกุล)
19 error
n/a error group=n/a input should have been overruled by being lan/act/superact series

ดูเพิ่ม[แก้]