Difference between revisions of "Template:Infobox element/doc"
imported>777sms |
imported>Sdkb m (→top: fix) |
||
| (232 intermediate revisions by 32 users not shown) | |||
| Line 1: | Line 1: | ||
| − | {{ | + | {{Documentation subpage}} |
| − | + | {{redirect|Template:Infobox lead|the module for checking if a template is in an article lead|Module:Is infobox in lead}} | |
| + | {{Lua|Module:Infobox|Module:InfoboxImage|Module:Check for unknown parameters}} | ||
| + | {{Auto short description|category=chemical elements}} | ||
| + | Infoboxes for the [[chemical element]]s use the core template {{tlt|Infobox element}}. | ||
| + | __TOC__ | ||
| − | == | + | ==Parameters== |
| − | + | ; In general | |
| + | Usually parameters reproduce the value, and the template adds the SI unit or additional standard text. While the topic is technical, we can strive to make the result readable text, and even verbose. For example, this is why the template writes "(at 0 °C)". For this, you may want to experiment with parameter input too - or propose improvements. | ||
| + | All this can vary across the values (data rows). So depending on the row and the specific value, additional formattings may be added by the template (e.g., a newline <code><br></code>) | ||
| + | ;Central data values | ||
| + | Some data, like [[standard atomic weight]], are read from a central list. This way, enwiki has the same values everywhere. See [[#Chemical element data sets]] for more. | ||
| + | ;Parameter naming patterns: | ||
| + | Most parameters have a <code>... ref</code> that allows for references. This reference is added right after the unit. | ||
| + | ;<code>ionization energy ref</code> | ||
| + | |||
| + | Parameters with a <code>.. comment</code> suffix are added to the end of a data line, with a space added. Comments are reproduced without formatting additions (no brackets, no italics, ...): | ||
| + | ;<code>ionization energy comment</code> | ||
| + | |||
| + | Numbered values make a list: | ||
| + | ;<code>ionization energy</code> | ||
| + | ;<code>ionization energy 2</code> | ||
| + | ;<code>ionization energy 3</code> | ||
| + | |||
| + | {{collapse top|bg=lightgrey|title=Parameter list}} | ||
| + | {{Infobox element/doc/parameter list}} | ||
| + | {{collapse bottom}} | ||
| + | {{Clear}} | ||
| + | |||
| + | ==Chemical element data sets== | ||
| + | Infobox element reads data from these lists (not by parameter) | ||
| + | {{Infobox element/symbol-to--overview1}} | ||
| + | |||
| + | ==Subtemplates== | ||
| + | |||
| + | ===Isotopes=== | ||
| + | {{collapse top|title=Isotopes|bg=lightgrey}} | ||
| + | |||
| + | :{{para|isotopes|none}} suppresses the table (-header). See E122, E124. | ||
| + | :E119 and higher do not have a page <code><nowiki>[[Isotopes of ...]]</nowiki></code>. Their infoboxes do not have a link then. | ||
| + | ''Isotopes are to be entered by the editor usingin these subtemplates:'' | ||
| + | * {{tlx|Infobox element/isotopes stable}} | ||
| + | * {{tlx|Infobox element/isotopes decay}} | ||
| + | * {{tlx|Infobox element/isotopes decay2}} | ||
| + | * {{tlx|Infobox element/isotopes decay3}} | ||
| + | * {{tlx|Infobox element/isotopes decay4}} | ||
| + | |||
| + | Examples (from various elements): | ||
<pre> | <pre> | ||
| − | <nowiki> | + | | isotopes = |
| + | {{Infobox element/isotopes stable | ||
| + | | link=Fluorine-19 | ||
| + | | mn=19 | ||
| + | | sym=F | ||
| + | | na=100% | ||
| + | | n=10 | ||
| + | }} | ||
| + | {{Infobox element/isotopes decay | ||
| + | | mn=251 | ||
| + | | sym=Cf | ||
| + | | na=trace | ||
| + | | hl=898 y | ||
| + | | dm=α | ||
| + | | de=6.172 | ||
| + | | link1=curium-247 | ||
| + | | pn=247 | ||
| + | | ps=Cm | ||
| + | }} | ||
| + | {{Infobox element/isotopes decay2 | ||
| + | | mn=252 | ||
| + | | sym=Cf | ||
| + | | na=trace | ||
| + | | hl=2.645 y | ||
| + | | dm1=α (96.91%) | ||
| + | | de1=6.217 | ||
| + | | link1=curium-248 | ||
| + | | pn1=248 | ||
| + | | ps1=Cm | ||
| + | | dm2=SF (3.09%) | ||
| + | | de2=– | ||
| + | | pn2= | ||
| + | | ps2=– | ||
| + | }} | ||
| + | {{Infobox element/isotopes decay3 | ||
| + | | mn=26 | ||
| + | | sym=Al | ||
| + | | na=[[trace radioisotope|trace]] | ||
| + | | hl=7.17×105 y | ||
| + | | dm1=[[Positron emission|β<sup>+</sup>]] | ||
| + | | de1=1.17 | ||
| + | | link1=magnesium-26 | ||
| + | | pn1=26 | ||
| + | | ps1=Mg | ||
| + | | dm2=[[electron capture|ε]] | ||
| + | | de2=– | ||
| + | | link2=magnesium-26 | ||
| + | | pn2=26 | ||
| + | | ps2=Mg | ||
| + | | dm3=[[Gamma radiation|γ]] | ||
| + | | de3=1.8086 | ||
| + | | pn3= | ||
| + | | ps3=– | ||
| + | }} | ||
| + | {{Infobox element/isotopes_decay4 | ||
| + | | mn=260 | ||
| + | | sym=Md | ||
| + | | na=[[synthetic radioisotope|syn]] | ||
| + | | hl=31.8 [[day|d]] | ||
| + | | dm1=SF | ||
| + | | de1=– | ||
| + | | pn1= | ||
| + | | ps1=– | ||
| + | | dm2=α | ||
| + | | de2=7.000 | ||
| + | | link2=einsteinium-256 | ||
| + | | pn2=256 | ||
| + | | ps2=Es | ||
| + | | dm3=ε | ||
| + | | de3=– | ||
| + | | link3=fermium-260 | ||
| + | | pn3=260 | ||
| + | | ps3=Fm | ||
| + | | dm4=[[beta emission|β<sup>−</sup>]] | ||
| + | | de4=1.000 | ||
| + | | link4=nobelium-260 | ||
| + | | pn4=260 | ||
| + | | ps4=No | ||
| + | }} | ||
| + | |isotopes comment=reference{{sfn|Chisté|2006 | ||
| + | }}<br/><!-- ---- ---- ---- ---- ---- ---- ---- ---- --> | ||
| + | <nowiki>*</nowiki> = [[excited state]] | ||
| + | </pre> | ||
| + | produces the subtable: | ||
{{Infobox element | {{Infobox element | ||
| − | | | + | | category = unknown |
| − | + | | name = demo | |
| − | + | <!--AAA --> | |
| − | + | ||
| − | + | | isotopes = | |
| − | + | {{Infobox element/isotopes stable | |
| − | | | + | | link=Fluorine-19 |
| − | + | | mn=19 | |
| − | + | | sym=F | |
| − | + | | na=100% | |
| − | + | | n=10 | |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | | | ||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | | | ||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
}} | }} | ||
| − | </nowiki> | + | {{Infobox element/isotopes decay |
| − | </ | + | | mn=251 |
| + | | sym=Cf | ||
| + | | na=trace | ||
| + | | hl=898 y | ||
| + | | dm=α | ||
| + | | de=6.172 | ||
| + | | link1=curium-247 | ||
| + | | pn=247 | ||
| + | | ps=Cm | ||
| + | }} | ||
| + | {{Infobox element/isotopes decay2 | ||
| + | | mn=252 | ||
| + | | sym=Cf | ||
| + | | na=trace | ||
| + | | hl=2.645 y | ||
| + | | dm1=α (96.91%) | ||
| + | | de1=6.217 | ||
| + | | link1=curium-248 | ||
| + | | pn1=248 | ||
| + | | ps1=Cm | ||
| + | | dm2=SF (3.09%) | ||
| + | | de2=– | ||
| + | | pn2= | ||
| + | | ps2=– | ||
| + | }} | ||
| + | {{Infobox element/isotopes decay3 | ||
| + | | mn=26 | ||
| + | | sym=Al | ||
| + | | na=[[Trace radioisotope|trace]] | ||
| + | | hl=7.17×105 y | ||
| + | | dm1=[[Positron emission|β<sup>+</sup>]] | ||
| + | | de1=1.17 | ||
| + | | link1=magnesium-26 | ||
| + | | pn1=26 | ||
| + | | ps1=Mg | ||
| + | | dm2=[[Electron capture|ε]] | ||
| + | | de2=– | ||
| + | | link2=magnesium-26 | ||
| + | | pn2=26 | ||
| + | | ps2=Mg | ||
| + | | dm3=[[Gamma ray|γ]] | ||
| + | | de3=1.8086 | ||
| + | | pn3= | ||
| + | | ps3=– | ||
| + | }} | ||
| + | {{Infobox element/isotopes_decay4 | ||
| + | | mn=260 | ||
| + | | sym=Md | ||
| + | | na=[[Synthetic radioisotope|syn]] | ||
| + | | hl=31.8 [[Day|d]] | ||
| + | | dm1=SF | ||
| + | | de1=– | ||
| + | | pn1= | ||
| + | | ps1=– | ||
| + | | dm2=α | ||
| + | | de2=7.000 | ||
| + | | link2=einsteinium-256 | ||
| + | | pn2=256 | ||
| + | | ps2=Es | ||
| + | | dm3=ε | ||
| + | | de3=– | ||
| + | | link3=fermium-260 | ||
| + | | pn3=260 | ||
| + | | ps3=Fm | ||
| + | | dm4=[[Beta decay|β<sup>−</sup>]] | ||
| + | | de4=1.000 | ||
| + | | link4=nobelium-260 | ||
| + | | pn4=260 | ||
| + | | ps4=No | ||
| + | }} | ||
| + | |isotopes comment=reference{{sfn|Chisté|2006 | ||
| + | }}<br/> | ||
| + | <nowiki>*</nowiki> = [[excited state]] | ||
| + | |||
| + | <!--ZZZ --> | ||
| + | }}{{clear}} | ||
| + | {{collapse bottom}} | ||
| + | |||
| + | ===Other=== | ||
| + | Other subtemplates are used automatically; they do not need specific editor's input. | ||
| + | * {{tl|Infobox element/pronunciation}} ([[Template:Infobox element/symbol-to-pronunciation|data]]) | ||
| + | * {{tl|Infobox element/group}} | ||
| + | * {{tl|Infobox element/standard atomic weight}} | ||
| + | * {{tl|Infobox element/category format}} | ||
| + | * {{tl|Infobox element/periodic table}} (extends period 8 when atomic number ≥ 119. See {{tl|Infobox ununennium}}). | ||
| + | ::Bare [[Template:Periodic table (32 columns, micro)|Periodic table, micro]] | ||
| + | * {{tl|Infobox element/spectral lines}} | ||
| + | * {{tl|Infobox element/vapor pressure table}} | ||
| + | * {{tl|Infobox element/crystal structure}} | ||
| + | |||
| + | ==English variant spellings (ENGVAR)== | ||
| + | All element articles and their infoboxes use IUPAC spelling of elements and compounds. Notably, that is {{xt|1=aluminium, sulfur, caesium}}, not {{!xt|aluminum, sulphur, cesium}}. For other [[WP:ENGVAR|English variant words]] (vapor vs. vapour) the infobox reads {{para|engvar}}. The parameter should be set ''in the article'', and has options: en-US (or blank; default), en-GB, en-OED. | ||
| + | {| class=wikitable | ||
| + | |- | ||
| + | ! parameter | ||
| + | ! en-US<br>(default) | ||
| + | ! en-GB | ||
| + | ! en-OED | ||
| + | |- | ||
| + | | color || color || coloUr || coloUr | ||
| + | |- | ||
| + | | heat vaporization || vaporiZation || vaporiSation || vaporiZation | ||
| + | |- | ||
| + | | vapor pressure || vapor || vapoUr || vapoUr | ||
| + | |- | ||
| + | | ionization energy || ioniZation || ioniSation || ioniZation | ||
| + | |- | ||
| + | | [[Template:Infobox element/crystal structure|crystal structure]] ([[Template:Infobox element/crystal structure/testcases|list]]) || -centEred || -centred || -centred | ||
| + | |- | ||
| + | | [[Template:Infobox element/symbol-to-oxidation-state/comment|... oxidation-state/comment]] || parenthesized || brackets || brackets | ||
| + | |} | ||
| + | Note, what is shown in the infobox is ''not'' influenced by the parameter name spelling, nor its input value. | ||
| + | |||
| + | See [[Template:Infobox element/testcases/engvar|this demo]] for actual engvar effects. | ||
| + | |||
| + | Articles having engvar set: see {{clc|WikiProject Elements pages using ENGVAR}} | ||
| + | |||
| + | ==TemplateData== | ||
| + | {{collapse top|title=[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools|bg=#ccc}} | ||
| + | :Note: TemplateData only basically for now, to get analysis going. 29 May 2017. | ||
| + | {{TemplateData header|noheader=1}} | ||
| + | <TemplateData> | ||
| + | { | ||
| + | "description": "Infobox for chemical elements", | ||
| + | "params": { | ||
| + | "Brinell hardness comment": {}, | ||
| + | "Brinell hardness ref": {}, | ||
| + | "Brinell hardness": {}, | ||
| + | "Bulk modulus comment": {}, | ||
| + | "Bulk modulus ref": {}, | ||
| + | "Bulk modulus": {}, | ||
| + | "CAS number comment": {}, | ||
| + | "CAS number ref": {}, | ||
| + | "CAS number": {}, | ||
| + | "Curie point K": {}, | ||
| + | "Curie point comment": {}, | ||
| + | "Curie point ref": {}, | ||
| + | "Mohs hardness 2 comment": {}, | ||
| + | "Mohs hardness 2 ref": {}, | ||
| + | "Mohs hardness 2": {}, | ||
| + | "Mohs hardness comment": {}, | ||
| + | "Mohs hardness ref": {}, | ||
| + | "Mohs hardness": {}, | ||
| + | "Poisson ratio comment": {}, | ||
| + | "Poisson ratio ref": {}, | ||
| + | "Poisson ratio": {}, | ||
| + | "QID": {}, | ||
| + | "Shear modulus comment": {}, | ||
| + | "Shear modulus ref": {}, | ||
| + | "Shear modulus": {}, | ||
| + | "Van der Waals radius comment": {}, | ||
| + | "Van der Waals radius ref": {}, | ||
| + | "Van der Waals radius": {}, | ||
| + | "Vickers hardness comment": {}, | ||
| + | "Vickers hardness ref": {}, | ||
| + | "Vickers hardness": {}, | ||
| + | "Young's modulus comment": {}, | ||
| + | "Young's modulus ref": {}, | ||
| + | "Young's modulus": {}, | ||
| + | "above": {}, | ||
| + | "abundance in earth's crust": {}, | ||
| + | "abundance in oceans": {}, | ||
| + | "abundance in solar system": {}, | ||
| + | "abundance": {}, | ||
| + | "allotropes": {}, | ||
| + | "alt names": {}, | ||
| + | "alt name": {}, | ||
| + | "appearance": {}, | ||
| + | "atomic properties comment": {}, | ||
| + | "atomic properties": {}, | ||
| + | "atomic radius calculated comment": {}, | ||
| + | "atomic radius calculated ref": {}, | ||
| + | "atomic radius calculated": {}, | ||
| + | "atomic radius comment": {}, | ||
| + | "atomic radius ref": {}, | ||
| + | "atomic radius": {}, | ||
| + | "band gap comment": {}, | ||
| + | "band gap ref": {}, | ||
| + | "band gap": {}, | ||
| + | "below": {}, | ||
| + | "block comment": {}, | ||
| + | "block ref": {}, | ||
| + | "block": {}, | ||
| + | "boiling point C": {}, | ||
| + | "boiling point F": {}, | ||
| + | "boiling point K": {}, | ||
| + | "boiling point comment": {}, | ||
| + | "boiling point ref": {}, | ||
| + | "category color": {}, | ||
| + | "category comment": {}, | ||
| + | "category ref": {}, | ||
| + | "category": {}, | ||
| + | "color": {}, | ||
| + | "conventional atomic weight": {}, | ||
| + | "covalent radius comment": {}, | ||
| + | "covalent radius ref": {}, | ||
| + | "covalent radius": {}, | ||
| + | "critical point K": {}, | ||
| + | "critical point MPa": {}, | ||
| + | "critical point comment": {}, | ||
| + | "critical point ref": {}, | ||
| + | "crystal structure 2 comment": {}, | ||
| + | "crystal structure 2 prefix": {}, | ||
| + | "crystal structure 2 ref": {}, | ||
| + | "crystal structure 2": {}, | ||
| + | "crystal structure comment": {}, | ||
| + | "crystal structure prefix": {}, | ||
| + | "crystal structure ref": {}, | ||
| + | "crystal structure": {}, | ||
| + | "density gpcm3bp comment": {}, | ||
| + | "density gpcm3bp ref": {}, | ||
| + | "density gpcm3bp": {}, | ||
| + | "density gpcm3mp comment": {}, | ||
| + | "density gpcm3mp ref": {}, | ||
| + | "density gpcm3mp": {}, | ||
| + | "density gpcm3nrt 2 comment": {}, | ||
| + | "density gpcm3nrt 2 ref": {}, | ||
| + | "density gpcm3nrt 2": {}, | ||
| + | "density gpcm3nrt 3 comment": {}, | ||
| + | "density gpcm3nrt 3 ref": {}, | ||
| + | "density gpcm3nrt 3": {}, | ||
| + | "density gpcm3nrt comment": {}, | ||
| + | "density gpcm3nrt ref": {}, | ||
| + | "density gpcm3nrt": {}, | ||
| + | "density gplstp comment": {}, | ||
| + | "density gplstp ref": {}, | ||
| + | "density gplstp": {}, | ||
| + | "discovered by": {}, | ||
| + | "discovery and first isolation by": {}, | ||
| + | "discovery date ref": {}, | ||
| + | "discovery date": {}, | ||
| + | "electrical resistivity at 0 comment": {}, | ||
| + | "electrical resistivity at 0 ref": {}, | ||
| + | "electrical resistivity at 0": {}, | ||
| + | "electrical resistivity at 20 comment": {}, | ||
| + | "electrical resistivity at 20 ref": {}, | ||
| + | "electrical resistivity at 20": {}, | ||
| + | "electrical resistivity comment": {}, | ||
| + | "electrical resistivity ref": {}, | ||
| + | "electrical resistivity unit prefix": {}, | ||
| + | "electrical resistivity": {}, | ||
| + | "electron configuration comment": {}, | ||
| + | "electron configuration ref": {}, | ||
| + | "electron configuration": {}, | ||
| + | "electronegativity comment": {}, | ||
| + | "electronegativity ref": {}, | ||
| + | "electronegativity": {}, | ||
| + | "electrons per shell comment": {}, | ||
| + | "electrons per shell ref": {}, | ||
| + | "electrons per shell": {}, | ||
| + | "engvar": {}, | ||
| + | "first isolation by": {}, | ||
| + | "first isolation date ref": {}, | ||
| + | "first isolation date": {}, | ||
| + | "group comment": {}, | ||
| + | "group ref": {}, | ||
| + | "group": {}, | ||
| + | "heat capacity 2 comment": {}, | ||
| + | "heat capacity 2 ref": {}, | ||
| + | "heat capacity 2": {}, | ||
| + | "heat capacity comment": {}, | ||
| + | "heat capacity ref": {}, | ||
| + | "heat capacity": {}, | ||
| + | "heat fusion 2 comment": {}, | ||
| + | "heat fusion 2 ref": {}, | ||
| + | "heat fusion 2": {}, | ||
| + | "heat fusion comment": {}, | ||
| + | "heat fusion ref": {}, | ||
| + | "heat fusion": {}, | ||
| + | "heat vaporization comment": {}, | ||
| + | "heat vaporization ref": {}, | ||
| + | "heat vaporization": {}, | ||
| + | "hideisotopes": {}, | ||
| + | "history comment label": {}, | ||
| + | "history comment": {}, | ||
| + | "image alt 2": {}, | ||
| + | "image alt": {}, | ||
| + | "image name 2 comment": {}, | ||
| + | "image name 2": {}, | ||
| + | "image name comment": {}, | ||
| + | "image name": {}, | ||
| + | "image size 2": {}, | ||
| + | "image size": {}, | ||
| + | "ionization energy 1 comment": {}, | ||
| + | "ionization energy 1 ref": {}, | ||
| + | "ionization energy 1": {}, | ||
| + | "ionization energy 2 comment": {}, | ||
| + | "ionization energy 2 ref": {}, | ||
| + | "ionization energy 2": {}, | ||
| + | "ionization energy 3 comment": {}, | ||
| + | "ionization energy 3 ref": {}, | ||
| + | "ionization energy 3": {}, | ||
| + | "ionization energy comment": {}, | ||
| + | "ionization energy ref": {}, | ||
| + | "isotopes comment": {}, | ||
| + | "isotopes ref": {}, | ||
| + | "isotopes": {}, | ||
| + | "left": {}, | ||
| + | "magnetic ordering comment": {}, | ||
| + | "magnetic ordering ref": {}, | ||
| + | "magnetic ordering": {}, | ||
| + | "magnetic susceptibility ref": {}, | ||
| + | "magnetic susceptibility": {}, | ||
| + | "mass number": {}, | ||
| + | "melting point C": {}, | ||
| + | "melting point F": {}, | ||
| + | "melting point K": {}, | ||
| + | "melting point comment": {}, | ||
| + | "melting point ref": {}, | ||
| + | "molar volume comment": {}, | ||
| + | "molar volume ref": {}, | ||
| + | "molar volume unit": {}, | ||
| + | "molar volume": {}, | ||
| + | "named by": {}, | ||
| + | "named date ref": {}, | ||
| + | "named date": {}, | ||
| + | "name": {}, | ||
| + | "naming": {}, | ||
| + | "number of ionization energies": {}, | ||
| + | "number": {}, | ||
| + | "period comment": {}, | ||
| + | "period ref": {}, | ||
| + | "period": {}, | ||
| + | "phase comment": {}, | ||
| + | "phase ref": {}, | ||
| + | "physical properties comment": {}, | ||
| + | "physical properties": {}, | ||
| + | "predicted by": {}, | ||
| + | "prediction date ref": {}, | ||
| + | "prediction date ": {}, | ||
| + | "prediction date": {}, | ||
| + | "pronounce 2": {}, | ||
| + | "pronounce comment": {}, | ||
| + | "pronounce ref": {}, | ||
| + | "pronounce": {}, | ||
| + | "proposed name": {}, | ||
| + | "right": {}, | ||
| + | "speed of sound comment": {}, | ||
| + | "speed of sound ref": {}, | ||
| + | "speed of sound rod at 20 comment": {}, | ||
| + | "speed of sound rod at 20 ref": {}, | ||
| + | "speed of sound rod at 20": {}, | ||
| + | "speed of sound rod at r.t. comment": {}, | ||
| + | "speed of sound rod at r.t. ref": {}, | ||
| + | "speed of sound rod at r.t.": {}, | ||
| + | "speed of sound": {}, | ||
| + | "standard atomic weight ref": {}, | ||
| + | "standard atomic weight": {}, | ||
| + | "sublimation point C": {}, | ||
| + | "sublimation point F": {}, | ||
| + | "sublimation point K": {}, | ||
| + | "sublimation point comment": {}, | ||
| + | "sublimation point ref": {}, | ||
| + | "symbol": {}, | ||
| + | "tensile strength comment": {}, | ||
| + | "tensile strength ref": {}, | ||
| + | "tensile strength": {}, | ||
| + | "thermal conductivity 2 comment": {}, | ||
| + | "thermal conductivity 2 ref": {}, | ||
| + | "thermal conductivity 2": {}, | ||
| + | "thermal conductivity comment": {}, | ||
| + | "thermal conductivity ref": {}, | ||
| + | "thermal conductivity": {}, | ||
| + | "thermal diffusivity comment": {}, | ||
| + | "thermal diffusivity ref": {}, | ||
| + | "thermal diffusivity": {}, | ||
| + | "thermal expansion at 25 comment": {}, | ||
| + | "thermal expansion at 25 ref": {}, | ||
| + | "thermal expansion at 25": {}, | ||
| + | "thermal expansion comment": {}, | ||
| + | "thermal expansion ref": {}, | ||
| + | "thermal expansion": {}, | ||
| + | "triple point 2 comment": {}, | ||
| + | "triple point 2 ref": {}, | ||
| + | "triple point K 2": {}, | ||
| + | "triple point K": {}, | ||
| + | "triple point comment": {}, | ||
| + | "triple point kPa 2": {}, | ||
| + | "triple point kPa": {}, | ||
| + | "triple point ref": {}, | ||
| + | "vapor pressure 1 2": {}, | ||
| + | "vapor pressure 1 k 2": {}, | ||
| + | "vapor pressure 1 k": {}, | ||
| + | "vapor pressure 10 2": {}, | ||
| + | "vapor pressure 10 k 2": {}, | ||
| + | "vapor pressure 10 k": {}, | ||
| + | "vapor pressure 100 2": {}, | ||
| + | "vapor pressure 100 k 2": {}, | ||
| + | "vapor pressure 100 k": {}, | ||
| + | "vapor pressure 100": {}, | ||
| + | "vapor pressure 10": {}, | ||
| + | "vapor pressure 1": {}, | ||
| + | "vapor pressure 2 comment": {}, | ||
| + | "vapor pressure 2 ref": {}, | ||
| + | "vapor pressure comment": {}, | ||
| + | "vapor pressure ref": {} | ||
| + | } | ||
| + | } | ||
| + | </TemplateData> | ||
| + | {{collapse bottom}} | ||
| + | |||
| + | {{Template reference list}} | ||
| + | |||
| + | ==See also== | ||
| + | {{#ifeq:{{PAGENAME}}|Infobox element | | | ||
| + | * {{tl|Infobox element}} | ||
| + | }} | ||
| + | * All subpages of [[Special:PrefixIndex/Template:Infobox element|Template:Infobox element]] | ||
| + | * {{tl|Infobox element/element navigation}} (useful links in top of this page) | ||
| − | == | + | ===Tracking categories=== |
| − | * {{ | + | * {{clc|Element infobox templates that need attention}} |
| + | * {{clc|Pages using infobox element with unknown parameters}} | ||
| − | + | ===Index by periodic table=== | |
| − | + | {{Index to chemical element pages|state=uncollapsed}} | |
| − | + | {{Infobox element/symbol-to--navbox|state=collapsed}}<!-- | |
| − | + | --><includeonly> | |
| − | + | {{template other| | |
| − | + | {{sandbox other|| | |
| − | + | {{#ifeq:{{PAGENAME}}|Infobox element | |
| − | [[ | + | | [[Category:Infobox element templates|Infobox element]] [[Infobox element per element| ]] [[Category:Templates that generate named references]] |
| − | + | | {{subpage other|| [[Category:Infobox element per element]] [[Category:Templates that generate named references]]}} | |
| − | + | }} }} }} | |
| − | |||
| − | |||
| − | |||
| − | [[ | ||
| − | |||
| − | |||
| − | |||
| − | [[ | ||
| − | [[ | ||
| − | [[ | ||
| − | |||
| − | |||
| − | |||
</includeonly> | </includeonly> | ||
Latest revision as of 20:27, 29 December 2020
| This is a documentation subpage for Template:Infobox element. It contains usage information, categories and other content that is not part of the original template page. |
| This template uses Lua: |
| This template adds an automatically generated short descriptionTemplate:Sp(chemical elements). |
Infoboxes for the chemical elements use the core template {{Infobox element}} (talk).
Contents
Parameters
- In general
Usually parameters reproduce the value, and the template adds the SI unit or additional standard text. While the topic is technical, we can strive to make the result readable text, and even verbose. For example, this is why the template writes "(at 0 °C)". For this, you may want to experiment with parameter input too - or propose improvements.
All this can vary across the values (data rows). So depending on the row and the specific value, additional formattings may be added by the template (e.g., a newline <br>)
- Central data values
Some data, like standard atomic weight, are read from a central list. This way, enwiki has the same values everywhere. See #Chemical element data sets for more.
- Parameter naming patterns
Most parameters have a ... ref that allows for references. This reference is added right after the unit.
ionization energy ref
Parameters with a .. comment suffix are added to the end of a data line, with a space added. Comments are reproduced without formatting additions (no brackets, no italics, ...):
ionization energy comment
Numbered values make a list:
ionization energyionization energy 2ionization energy 3
Parameter list
| ||
|---|---|---|
This parameter list:
|
Chemical element data sets
Infobox element reads data from these lists (not by parameter)
| Data sets read by {{Infobox element}} | |
|---|---|
| Name and identifiers | |
| Top image (caption, alt) | |
| Pronunciation | |
| Category (enwiki) | |
| Standard atomic weight | |
| most stable isotope | |
| Natural occurrence | |
| Phase at STP | |
| Oxidation states | |
| Spectral lines image | |
| Electron configuration (cmt, ref) | |
| Term symbol * (cmt, ref) | |
| Wikidata * | |
| * Not used in {{Infobox element}} (2019-02-03) See also {{Infobox element/symbol-to--navbox}} | |
Subtemplates
Isotopes
Isotopes
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Isotopes are to be entered by the editor usingin these subtemplates:
Examples (from various elements): | isotopes =
{{Infobox element/isotopes stable
| link=Fluorine-19
| mn=19
| sym=F
| na=100%
| n=10
}}
{{Infobox element/isotopes decay
| mn=251
| sym=Cf
| na=trace
| hl=898 y
| dm=α
| de=6.172
| link1=curium-247
| pn=247
| ps=Cm
}}
{{Infobox element/isotopes decay2
| mn=252
| sym=Cf
| na=trace
| hl=2.645 y
| dm1=α (96.91%)
| de1=6.217
| link1=curium-248
| pn1=248
| ps1=Cm
| dm2=SF (3.09%)
| de2=–
| pn2=
| ps2=–
}}
{{Infobox element/isotopes decay3
| mn=26
| sym=Al
| na=[[trace radioisotope|trace]]
| hl=7.17×105 y
| dm1=[[Positron emission|β<sup>+</sup>]]
| de1=1.17
| link1=magnesium-26
| pn1=26
| ps1=Mg
| dm2=[[electron capture|ε]]
| de2=–
| link2=magnesium-26
| pn2=26
| ps2=Mg
| dm3=[[Gamma radiation|γ]]
| de3=1.8086
| pn3=
| ps3=–
}}
{{Infobox element/isotopes_decay4
| mn=260
| sym=Md
| na=[[synthetic radioisotope|syn]]
| hl=31.8 [[day|d]]
| dm1=SF
| de1=–
| pn1=
| ps1=–
| dm2=α
| de2=7.000
| link2=einsteinium-256
| pn2=256
| ps2=Es
| dm3=ε
| de3=–
| link3=fermium-260
| pn3=260
| ps3=Fm
| dm4=[[beta emission|β<sup>−</sup>]]
| de4=1.000
| link4=nobelium-260
| pn4=260
| ps4=No
}}
|isotopes comment=reference{{sfn|Chisté|2006
}}<br/><!-- ---- ---- ---- ---- ---- ---- ---- ---- -->
* = [[excited state]]
produces the subtable: [[Category:Template:Pagetype with short description]]
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Other
Other subtemplates are used automatically; they do not need specific editor's input.
- {{Infobox element/pronunciation}} (data)
- {{Infobox element/group}}
- {{Infobox element/standard atomic weight}}
- {{Infobox element/category format}}
- {{Infobox element/periodic table}} (extends period 8 when atomic number ≥ 119. See {{Infobox ununennium}}).
- {{Infobox element/spectral lines}}
- {{Infobox element/vapor pressure table}}
- {{Infobox element/crystal structure}}
English variant spellings (ENGVAR)
All element articles and their infoboxes use IUPAC spelling of elements and compounds. Notably, that is aluminium, sulfur, caesium, not aluminum, sulphur, cesium. For other English variant words (vapor vs. vapour) the infobox reads |engvar=. The parameter should be set in the article, and has options: en-US (or blank; default), en-GB, en-OED.
| parameter | en-US (default) |
en-GB | en-OED |
|---|---|---|---|
| color | color | coloUr | coloUr |
| heat vaporization | vaporiZation | vaporiSation | vaporiZation |
| vapor pressure | vapor | vapoUr | vapoUr |
| ionization energy | ioniZation | ioniSation | ioniZation |
| crystal structure (list) | -centEred | -centred | -centred |
| ... oxidation-state/comment | parenthesized | brackets | brackets |
Note, what is shown in the infobox is not influenced by the parameter name spelling, nor its input value.
See this demo for actual engvar effects.
Articles having engvar set: see Category:WikiProject Elements pages using ENGVAR (0)
TemplateData
TemplateData documentation used by VisualEditor and other tools
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
See the monthly parameter usage report for this template.
TemplateData for Infobox element Infobox for chemical elements
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
References
See also
- {{Infobox element}}
- All subpages of Template:Infobox element
- {{Infobox element/element navigation}} (useful links in top of this page)
Tracking categories
- Category:Element infobox templates that need attention (0)
- Category:Pages using infobox element with unknown parameters (0)
Index by periodic table
Lua error: Internal error: The interpreter has terminated with signal "24".