Difference between revisions of "Template:Infobox element"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
m
 
(602 intermediate revisions by 91 users not shown)
Line 1: Line 1:
<noinclude>
+
<includeonly>{{short description|Chemical element with atomic number {{{number|}}}}}</includeonly><!--
<pre>
+
-->{{Infobox
<nowiki>
+
| headerstyle = background:{{element color |{{Infobox element/symbol-to-category|symbol={{{symbol|}}}}} |default={{element color|unknown chemical properties}}}}
{{Elementbox
+
| labelstyle  =
|name=
+
| datastyle  =
|number=
+
| belowstyle  = background:{{element color |{{Infobox element/symbol-to-category|symbol={{{symbol|}}}}} |default={{element color|unknown chemical properties}}}}
|symbol
+
<!--
|left=
+
TITLE ----------------
|right=
+
-->| title    = <span style="white-space:nowrap">{{ucfirst:{{{name|{{PAGENAME}}}}}}},&nbsp;<sub><span style="font-size:smaller;">{{{number|00}}}</span></sub>{{{symbol|Xx}}}</span>
|above=
+
<!--
|below=
+
IMAGE ----------------
|series=
+
-->| image1 = {{#invoke:InfoboxImage|InfoboxImage
|series comment=
+
|image={{{image name|}}}
|group=
+
|sizedefault=frameless
|period=
+
|upright={{#if:{{{image upright|}}}|{{{image upright|}}}|1}}
|block=
+
|alt={{Infobox element/symbol-to-top-image/alt|symbol={{{symbol|}}} |default=}}
|series color=
 
|phase color=
 
|appearance=
 
|image name=
 
|image size=
 
|image name 2=
 
|image name 2 comment=
 
|atomic mass=
 
|atomic mass 2=
 
|atomic mass comment=
 
|electron configuration=
 
|electrons per shell=
 
|color=
 
|phase=gas
 
|phase comment=
 
|density gplstp=
 
|density gpcm3nrt=
 
|density gpcm3nrt 2=
 
|density gpcm3mp=
 
|melting point K=
 
|melting point C=
 
|melting point F=
 
|boiling point K=
 
|boiling point C=
 
|boiling point F=
 
|triple point K=
 
|triple point kPa=
 
|critical point K=
 
|critical point MPa=
 
|heat fusion=
 
|heat fusion 2=
 
|heat vaporization=
 
|heat capacity=
 
|vapor pressure 1=
 
|vapor pressure 10=
 
|vapor pressure 100=
 
|vapor pressure 1 k=
 
|vapor pressure 10 k=
 
|vapor pressure 100 k=
 
|vapor pressure comment=
 
|crystal structure=
 
|oxidation states=
 
|oxidation states comment=
 
|electronegativity=
 
|number of ionization energies=
 
|1st ionization energy=
 
|2nd ionization energy=
 
|3rd ionization energy=
 
|atomic radius=
 
|atomic radius calculated=
 
|covalent radius=
 
|Van der Waals radius=
 
|magnetic ordering=
 
|electrical resistivity=
 
|electrical resistivity at 0=
 
|electrical resistivity at 20=
 
|thermal conductivity=
 
|thermal conductivity 2=
 
|thermal diffusivity=
 
|thermal expansion=
 
|thermal expansion at 25=
 
|speed of sound=
 
|speed of sound rod at 20=
 
|speed of sound rod at r.t.=
 
|Young's modulus=
 
|Shear modulus=
 
|Bulk modulus=
 
|Poisson ratio=
 
|Mohs hardness=
 
|Vickers hardness=
 
|Brinell hardness=
 
|CAS number=
 
|isotopes=
 
|isotopes comment=
 
 
}}
 
}}
</nowiki>
+
| caption1 = {{Infobox element/symbol-to-top-image/caption|symbol={{{symbol|}}} |default=}}<!--
</pre>
+
 
</noinclude>
+
GENERAL PROPERTIES ----------------
{| class="wikitable" align="right" border="1" cellpadding="2" cellspacing="0" style="margin:0 0 0.5em 0.5em"
+
-->| header10 = {{ucfirst:{{{name|{{PAGENAME}}}}}}}
| colspan="2" |
+
| label11 = Pronunciation
{| width="100%" border=0 cellspacing=0
+
| data11 = {{infobox element/pronunciation|symbol={{{symbol|}}} |ipa1={{Infobox element/symbol-to-pronunciation|symbol={{{symbol|}}}|item=ipa1|default=}}}}<!-- early check for ipa1 -->
| align="center" | <span style="font-size:120%; font-weight:bold">{{{number}}}</span>
+
| label12 = Proposed formal name
| 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>
+
data12 = {{{proposed name|}}}<!-- only to be used for newly discovered elements. Not used since Mc, Nh, Ts, Og are formally named (Nov 2016) -->
|-
+
| label13 = Alternative name{{#if:{{{alt names|}}}|s}}
| 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>
+
| data13 = {{{alt name|}}}{{{alt names|}}}
|
+
| label14 = [[Allotropy|Allotropes]]
{|
+
| data14 = {{{allotropes|}}}
| [[image:{{#switch:{{{number}}}
+
| label15 = Appearance
|021|022|119|120|121|122|123|126|136|137|138|139|140=-TableImage.svg
+
data15 = {{{appearance|}}}
|#default={{{symbol}}}-TableImage.png
+
 
}}|250px|center]]<div align="center">[[periodic table (standard)|Periodic table]] - [[periodic table (extended)|Extended periodic table]]</div>
+
<!-- standard atomic weight or mass number -->
|}
+
| label16 = [[Standard atomic weight]]{{nobold|&#x20;''A''<sub>r,&nbsp;std</sub>({{{symbol|}}})}}
|}
+
|  data16 = {{Infobox element/standard atomic weight
|-
+
|standard={{Infobox element/symbol-to-saw/standard|symbol={{{symbol|}}}|default=}}
! colspan=2 style="background:<!-- COLOR 1 -->#{{#if:{{{series color|}}}|{{{series color}}}|{{#switch:{{{series}}}
+
|conventional={{Infobox element/symbol-to-saw/conventional|symbol={{{symbol|}}}|default=}}
|alkali metal|alkali metals=FF6666
+
|ref={{{standard atomic weight ref|}}}
|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>
 
 
}}
 
}}
|-
+
 
| [[Electron configuration]] || {{{electron configuration}}}
+
| label17 = [[Mass number]]
|-
+
|  data17 = {{Infobox element/symbol-to-most-stable-isotope |symbol={{{symbol|}}}|format=[]|default=}} {{{mass number comment|}}}<!--
| [[Electron]]s per [[electron shell|shell]] || {{{electrons per shell}}}
+
 
|-
+
Abundance -->
{{#if:{{{phase|}}}|! colspan=2 style="color:#{{#if:{{{phase color|}}}|{{{phase color}}}|{{#switch:{{{phase}}}
+
| label18 = [[Abundance of the chemical elements|Abundance]]
|Gas|gas=008000
+
|  data18 = {{{abundance|}}}
|Liquid|liquid=0000FF
+
|  data19    = {{#if:{{{abundance in earth's crust|}}}{{{abundance in oceans|}}}{{{abundance in solar system|}}}|
|Solid|solid=000000
+
{{infobox|child=yes
}}}}; background: #{{#if:{{{series color|}}}|{{{series color}}}|{{#switch:{{{series}}}
+
|headerstyle = text-align:left; line-height:1em;
|alkali metal|alkali metals=FF6666
+
| header1    = {{#if:{{{abundance|}}} |<!-- not here --> |{{#if:{{{abundance in earth's crust|}}}{{{abundance in oceans|}}}{{{abundance in solar system|}}} |[[Abundance of the chemical elements|Abundance]]}} }}
|alkaline earth metal|alkaline earth metals=FFDEAD
+
| labelstyle = line-height:1em; text-indent:1.2em; font
|lanthanide|lanthanides=FFBFFF
 
 
 

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".