Difference between revisions of "Template:Infobox periodic table group/element"
Jump to navigation
Jump to search
imported>DePiep |
imported>DePiep |
||
| Line 1: | Line 1: | ||
| − | {{#if:{{{ | + | {{#if:{{{symbol|}}}<!-- 1=symbol -->| |
{{Infobox | {{Infobox | ||
| − | | child=yes | + | | child =yes |
| headerstyle=background:#e8e8e8 | | headerstyle=background:#e8e8e8 | ||
| − | | header1= Period {{infobox element/symbol-to-period|1={{{ | + | | header1 = Period {{infobox element/symbol-to-period|1={{{symbol|}}} |default=}}<!-- link --> |
| − | <!-- Element image and data --> | + | <!-- Element image and primary data --> |
| rowstyle5 = | | rowstyle5 = | ||
| − | | label5 | + | | label5 = {{ubl |
| − | |1=<span style="font-size:larger">[[{{ucfirst:{{infobox element/symbol-to-name|1={{{ | + | |1=<span style="font-size:larger">[[{{ucfirst:{{infobox element/symbol-to-name|1={{{symbol|}}}}}}}]]</span><!-- todo: mercury link--> |
| − | |2={{nobold|1=<sub>{{infobox element/symbol-to-Z|1={{{ | + | |2={{nobold|1=<sub>{{infobox element/symbol-to-Z|1={{{symbol|}}}}}</sub>{{trim|1={{{symbol|}}}}}}} |
}} | }} | ||
<!-- IMAGE --> | <!-- IMAGE --> | ||
| − | | | + | | data5 = {{#if:{{infobox element/symbol-to-top-image|1={{{symbol|}}}|fair use=no|default=}}| |
{{#invoke:InfoboxImage|InfoboxImage | {{#invoke:InfoboxImage|InfoboxImage | ||
| − | | image={{infobox element/symbol-to-top-image|1={{{ | + | | image ={{infobox element/symbol-to-top-image|1={{{symbol|}}}|fair use=no}} |
| upright=0.5<!-- 50%; so default is 50% x 220px = 110px --> | | upright=0.5<!-- 50%; so default is 50% x 220px = 110px --> | ||
| − | | link={{infobox element/symbol-to-name|1={{{ | + | | link ={{infobox element/symbol-to-name|1={{{symbol|}}}}} |
| − | | alt={{{caption|}}} | + | | alt ={{{caption|}}} |
| − | | center=no}} | + | | center =no}} |
| <!-- no image --> | | <!-- no image --> | ||
}} | }} | ||
| − | + | <!-- elconfig --> | |
| − | }} }}<!-- | + | | label11 = [[Electron configuration]] |
| + | | data11 = {{infobox element/symbol-to-electron-configuration|symbol={{{symbol|}}}|property=electron-configuration|default=}} }} | ||
| + | }}<!-- | ||
--><noinclude>{{documentation|1=Template:Infobox periodic table group/sandbox/doc}}</noinclude> | --><noinclude>{{documentation|1=Template:Infobox periodic table group/sandbox/doc}}</noinclude> | ||
Revision as of 10:46, 19 December 2017
Contents
Usage
In Category:Periodic table group templates. Possible single-use, however chosen this way for ease of maintenance (similar to {{Infobox element}}).
See /testcases
Parameters
{{infobox periodic table group
| name =
| pronunciation=
| group number=
| template page name=
<!-- TOP IMAGE -->
| image =
| image caption=
| image upright=
| image alt =
| image link =
| image thumbtime=
<!-- PERIODIC TABLE -->
| mark =
| left =
| right =
<!-- MAIN CHARACTERISTICS -->
| oxidation state =
| shell filling =
| category =
<!-- group-sepcific information -->
| typical1-label=
| typical1=
| typical2-label=
| typical2=
<!-- OTHER NAMES -->
| name by element=
| trivial IUPAC name
| informal name =
| informal names =
<!-- deprecated names US/CAS and EU -->
| AB number US=
| AB number EU=
| general note =
<!-- MEMBER LIST -->
| members note =
<!-- by period number; set firstelement=yes for top -->
| element1 = {{Infobox periodic table group/element|symbol= |first element=}}
| element2 = {{Infobox periodic table group/element|symbol= |first element=}}
| element3 = {{Infobox periodic table group/element|symbol= |first element=}}
| element4 = {{Infobox periodic table group/element|symbol= |first element=}}
| element5 = {{Infobox periodic table group/element|symbol= |first element=}}
| element6 = {{Infobox periodic table group/element|symbol= |first element=}}
| element7 = {{Infobox periodic table group/element|symbol= |first element=}}
}}
Subtemplates
- {{Infobox periodic table group/periodic table}} -- micro
- {{Infobox periodic table group/category format}} -- formats as in infobox element (ref to periodic table)
- {{Infobox periodic table group/element}} -- single member element subsection
- data
- {{Infobox element/symbol-to-name}} --set
See also
- Category:Groups (periodic table)
- Category:Periodic table group templates
- Template:Infobox periodic table group/doc (current live template documentation)
- /testcases}}
| The above documentation is transcluded from Template:Infobox periodic table group/sandbox/doc. (edit | history) Editors can experiment in this template's sandbox (create | mirror) and testcases (create) pages. Subpages of this template. |