Difference between revisions of "Template:Infobox element"

From blackwiki
Jump to navigation Jump to search
imported>BenoniBot~enwiki
m (warnfile Adding: br:Patrom:Infobox elfenn kimiek)
imported>DePiep
m
 
(606 intermediate revisions by 94 users not shown)
Line 1: Line 1:
{| class="wikitable" align="right" border="1" cellpadding="2" cellspacing="0" style="margin:0 0 0.5em 0.5em"
+
<includeonly>{{short description|Chemical element with atomic number {{{number|}}}}}</includeonly><!--
| colspan="2" |
+
-->{{Infobox
{| width="100%" border=0 cellspacing=0
+
| headerstyle = background:{{element color |{{Infobox element/symbol-to-category|symbol={{{symbol|}}}}} |default={{element color|unknown chemical properties}}}}
| align="center" | <span style="font-size:120%; font-weight:bold">{{{number}}}</span>
+
| labelstyle =
| align="center" style="padding-left:2em" | <span style="font-size: 95%">{{{left}}}</span> ← <span style="font-size: 120%">{{#if:{{{name|}}}|{{{name}}}|{{PAGENAME}}}}</span> <span style="font-size: 95%">{{{right}}}</span>
+
| datastyle  =
|-
+
| belowstyle = background:{{element color |{{Infobox element/symbol-to-category|symbol={{{symbol|}}}}} |default={{element color|unknown chemical properties}}}}
| align="center" | <span style="font-size:95%">{{{above}}}</span><br />↑<br /><span style="font-size:120%; font-weight:bold">{{{symbol}}}</span><br />↓<br /><span style="font-size: 95%">{{{below}}}</span>
+
<!--
|
+
  TITLE ----------------
{|
+
-->| title    = <span style="white-space:nowrap">{{ucfirst:{{{name|{{PAGENAME}}}}}}},&nbsp;<sub><span style="font-size:smaller;">{{{number|00}}}</span></sub>{{{symbol|Xx}}}</span>
| [[image:{{#switch:{{{number}}}
+
<!--
|119|120|121|122|123|126|136|137|138|139|140=-TableImage.svg
+
IMAGE ----------------
|#default={{{symbol}}}-TableImage.png
+
-->| image1 = {{#invoke:InfoboxImage|InfoboxImage
}}|250px|center]]<div align="center">[[periodic table (standard)|Periodic Table]] - [[periodic table (extended)|Extended Periodic Table]]</div>
+
|image={{{image name|}}}
|}
+
|sizedefault=frameless
|}
+
|upright={{#if:{{{image upright|}}}|{{{image upright|}}}|1}}
|-
+
|alt={{Infobox element/symbol-to-top-image/alt|symbol={{{symbol|}}} |default=}}
! colspan=2 style="background:<!-- COLOR 1 -->#{{#if:{{{series color|}}}|{{{series color}}}|{{#switch:{{{series}}}
 
|alkali metal|alkali metals=FF6666
 
  |alkaline earth metal|alkaline earth metals=FFDEAD
 
|lanthanide|lanthanides=FFBFFF
 
|actinide|actinides=FF99CC
 
  |transition metal|transition metals=FFC0C0
 
|poor metal|poor metals=CCCCCC
 
|metalloid|metalloids=CCCC99
 
|nonmetal|non-metal|nonmetals|non-metals=A0FFA0
 
|halogen|halogens=FFFF99
 
|noble gas|noble gases=C0FFFF
 
}}}}; color:<!-- COLOR 2 -->#{{#if:{{{phase color|}}}|{{{phase color}}}|{{#switch:{{{phase}}}
 
  |Gas|gas=008000
 
|Liquid|liquid=0000FF
 
|Solid|solid=000000
 
}}}}" | General
 
|-
 
| [[list of elements by name|Name]], [[list of elements by symbol|Symbol]], [[list of elements by number|Number]]
 
| {{{name}}}, {{{symbol}}}, {{{number}}}
 
|-
 
{{#if:{{{series|}}}|<tr><td>[[Chemical series]]</td><td>{{#ifeq:{{{series|}}}|noble gas|[[{{{series}}}]]es|[[{{{series}}}]]s}}{{#if:{{{series 2|}}}|, {{{series 2}}}}}</td></tr>}}
 
|-
 
| [[group (periodic table)|Group]], [[period (periodic table)|Period]], [[periodic table block|Block]]
 
| {{#switch:{{{series}}}
 
|lanthanide|lanthanides|actinide|actinides=[[Group number of lanthanides and actinides|n/a]],&nbsp;
 
|[[group {{{group}}} element|{{{group}}}]],&nbsp;
 
}}[[period {{{period}}} element|{{{period}}}]], [[{{{block}}}-block|{{{block}}}]]
 
|-
 
<tr><td>[[color|Appearance]]</td><td>{{{appearance}}}{{#if:{{{image name 2|}}}|
 
</td></tr>
 
{{!}} colspan="2" align="center" {{!}} [[image:{{{image name}}}.jpg{{!}}{{{image size|125px}}}{{!}}{{{image name comment|}}}]]&nbsp;[[Image:{{{image name 2}}}.jpg{{!}}130px{{!}}{{{image name 2 comment|}}}]]|{{#if:{{{image name|}}}|<br />[[image:{{{image name}}}.jpg{{!}}125px{{!}}{{{image name comment|}}}]]}}}}
 
|-
 
| [[Standard atomic weight]] || {{#if:{{{atomic mass comment|}}}|{{{atomic mass comment}}}|[[orders of magnitude (mass)|{{{atomic mass}}}]]{{#if:{{{atomic mass 2|}}}|[[list of elements by atomic mass|({{{atomic mass 2}}})]]}}&thinsp;g·mol<sup>&minus;1</sup>
 
 
}}
 
}}
|-
+
| caption1 = {{Infobox element/symbol-to-top-image/caption|symbol={{{symbol|}}} |default=}}<!--
| [[Electron configuration]] || {{{electron configuration}}}
+
 
|-
+
GENERAL PROPERTIES ----------------
| [[Electron]]s per [[electron shell|shell]] || {{{electrons per shell}}}
+
-->| header10 = {{ucfirst:{{{name|{{PAGENAME}}}}}}}
|-
+
| label11 = Pronunciation
{{#if:{{{phase|}}}|! colspan=2 style="color:#{{#if:{{{phase color|}}}|{{{phase color}}}|{{#switch:{{{phase}}}
+
|  data11 = {{infobox element/pronunciation|symbol={{{symbol|}}} |ipa1={{Infobox element/symbol-to-pronunciation|symbol={{{symbol|}}}|item=ipa1|default=}}}}<!-- early check for ipa1 -->
|Gas|gas=008000
+
| label12 = Proposed formal name
|Liquid|liquid=0000FF
+
|  data12 = {{{proposed name|}}}<!-- only to be used for newly discovered elements. Not used since Mc, Nh, Ts, Og are formally named (Nov 2016) -->
|Solid|solid=000000
+
| label13 = Alternative name{{#if:{{{alt names|}}}|s}}
}}}}; background: #{{#if:{{{series color|}}}|{{{series color}}}|{{#switch:{{{series}}}
+
|  data13 = {{{alt name|}}}{{{alt names|}}}
|alkali metal|alkali metals=FF6666
+
| label14 = [[Allotropy|Allotropes]]
|alkaline earth metal|alkaline earth metals=FFDEAD
+
|  data14 = {{{allotropes|}}}
|lanthanide|lanthanides=FFBFFF
+
| label15 = Appearance
 +
|  data15 = {{{appearance|

Latest revision as of 14:13, 11 February 2021

Infobox element, 00Xx
Infobox element
{{{name}}} in the periodic table
Template:Periodic table (32 columns, micro) {{{above}}}

{{{symbol}}}

{{{below}}}
{{{left}}} ← {{{name}}} → {{{right}}}
Atomic number (Z){{{number}}}
Groupgroup n/a
Period[[Period {{{period}}} element|period {{{period}}}]]
Block
Physical properties
Atomic properties
Other properties
[[Isotope|IsoTemplate:Shytope]] [[Natural abundance|AbunTemplate:Shydance]] Half-life (t1/2) Decay mode [[Decay product|ProTemplate:Shyduct]]
Category Category: Chemical elements
| references

[[Category:Infobox templates|Template:Remove first word]]Lua error: Internal error: The interpreter has terminated with signal "24".