Template:Infobox element: Difference between revisions
No edit summary |
m (24 revisions imported from alpha:Template:Infobox_element) |
||
| (17 intermediate revisions by 3 users not shown) | |||
| Line 45: | Line 45: | ||
| header1 = {{#if:{{{abundance|}}} |<!-- not here --> |{{#if:{{{abundance in earth's crust|}}}{{{abundance in oceans|}}}{{{abundance in solar system|}}} |[[Abundance of the chemical elements|Abundance]]}} }} | | header1 = {{#if:{{{abundance|}}} |<!-- not here --> |{{#if:{{{abundance in earth's crust|}}}{{{abundance in oceans|}}}{{{abundance in solar system|}}} |[[Abundance of the chemical elements|Abundance]]}} }} | ||
| labelstyle = line-height:1em; text-indent:1.2em; font-weight:normal; | | labelstyle = line-height:1em; text-indent:1.2em; font-weight:normal; | ||
| datastyle = | label11 =में & nbsp; & nbsp; [[पृथ्वी की पपड़ी में तत्वों की बहुतायत | पृथ्वी की पपड़ी]]| data11 = {{{abundance in earth's crust|}}} | | datastyle = line-height:1em; | ||
| label11 =में & nbsp; & nbsp; [[पृथ्वी की पपड़ी में तत्वों की बहुतायत | पृथ्वी की पपड़ी]]| data11 = {{{abundance in earth's crust|}}} | |||
| label12 =[[रासायनिक तत्वों की बहुतायत में#महासागरीय मौलिक बहुतायत | महासागरों]]| data12 = {{{abundance in oceans|}}} | | label12 =[[रासायनिक तत्वों की बहुतायत में#महासागरीय मौलिक बहुतायत | महासागरों]]| data12 = {{{abundance in oceans|}}} | ||
| label13 =[[तत्वों की बहुतायत (data_page) #sun और सौर प्रणाली | सौर प्रणाली]]| data13 = {{{abundance in solar system|}}} | | label13 =[[तत्वों की बहुतायत (data_page) #sun और सौर प्रणाली | सौर प्रणाली]]| data13 = {{{abundance in solar system|}}} | ||
| Line 52: | Line 53: | ||
IN THE PERIODIC TABLE ---------------- | IN THE PERIODIC TABLE ---------------- | ||
-->| header20 = {{ucfirst:{{{name}}}}} in the [[periodic table]] | -->| header20 = {{ucfirst:{{{name}}}}} in the [[periodic table]] | ||
| data22 = {{Infobox element/periodic table |name={| label23 = {{nowrap|1=[[Atomic number]] <span style="font-weight:normal;">(''Z'')</span>}} | | data22 = {{Infobox element/periodic table |name={{{name}}} |number={{{number|0}}} |symbol={{{symbol}}} |mark={{{symbol|}}} |above={{{above}}} |below={{{below}}} |left={{{left}}} |right={{{right}}} }} | ||
| label23 = {{nowrap|1=[[Atomic number]] <span style="font-weight:normal;">(''Z'')</span>}} | |||
| data23 = {{{number}}} | | data23 = {{{number}}} | ||
| Line 72: | Line 74: | ||
| label31 =[[ऋणावेशित सूक्ष्म अणु का विन्यास]]| data31 = {{#switch:{{{number|1}}}|122|124|126=<!-- suppressed -->|{{Infobox element/symbol-to-electron-configuration|symbol={{{symbol|}}}|format=comment, ref}}}} {{{electron configuration comment|}}} | | label31 =[[ऋणावेशित सूक्ष्म अणु का विन्यास]]| data31 = {{#switch:{{{number|1}}}|122|124|126=<!-- suppressed -->|{{Infobox element/symbol-to-electron-configuration|symbol={{{symbol|}}}|format=comment, ref}}}} {{{electron configuration comment|}}} | ||
| label32 =प्रति शेल इलेक्ट्रॉन| data32 = {{{electrons per shell|}}}{{{electrons per shell ref|}}} {{{electrons | | label32 =प्रति शेल इलेक्ट्रॉन| data32 = {{{electrons per shell|}}}{{{electrons per shell ref|}}} {{{electrons per shell comment|}}} | ||
<!-- PHYSICAL PROPERTIES ------------------> | |||
|header40 =भौतिक गुण| data41 = {{{physical properties comment|}}}{{{physical properties|}}} | |||
| label43 = {{Engvar|defaultWord=Color |engvar={{{engvar|}}}<!-- | |||
-->|defaultLang=en-US |en-GB=Colour |en-OED=Colour |engvarCat=no}} | -->|defaultLang=en-US |en-GB=Colour |en-OED=Colour |engvarCat=no}} | ||
| data43 = {{{color|}}} | | data43 = {{{color|}}} | ||
| Line 111: | Line 117: | ||
| [[Vapor pressure|'''{{Engvar|defaultWord=Vapor |engvar={{{engvar|}}} |defaultLang=en-US |en-GB=Vapour |en-OED=Vapour |engvarCat=no}} pressure''']]{{{vapor pressure ref|}}}<!-- | | [[Vapor pressure|'''{{Engvar|defaultWord=Vapor |engvar={{{engvar|}}} |defaultLang=en-US |en-GB=Vapour |en-OED=Vapour |engvarCat=no}} pressure''']]{{{vapor pressure ref|}}}<!-- | ||
-->{{#if:{{{vapor pressure comment|}}} | {{{vapor pressure comment}}} }}<!-- | -->{{#if:{{{vapor pressure comment|}}} | {{{vapor pressure comment}}} }}<!-- | ||
--><div style="margin:0 auto;">{{Infobox element/ | --><div style="margin:0 auto;">{{Infobox element/vapor pressure table |vp1={{{vapor pressure 1| }}} |vp10={{{vapor pressure 10| }}} |vp100={{{vapor pressure 100| }}} |vp1k={{{vapor pressure 1 k| }}} |vp10k={{{vapor pressure 10 k| }}} |vp100k={{{vapor pressure 100 k| }}} }}</div><!-- | ||
-->}} | |||
| data64 = {{#if:{{{vapor pressure 1 2|}}}{{{vapor pressure 100 k 2|}}} | |||
| '''{{Engvar|defaultWord=vapor |engvar={{{engvar|}}} |defaultLang=en-US |en-GB=Vapour |en-OED=Vapour |engvarCat=no}} pressure'''{{{vapor pressure 2 ref|}}}<!-- | | '''{{Engvar|defaultWord=vapor |engvar={{{engvar|}}} |defaultLang=en-US |en-GB=Vapour |en-OED=Vapour |engvarCat=no}} pressure'''{{{vapor pressure 2 ref|}}}<!-- | ||
-->{{#if:{{{vapor pressure 2 comment|}}} | {{{vapor pressure 2 comment|}}} }}<!-- | -->{{#if:{{{vapor pressure 2 comment|}}} | {{{vapor pressure 2 comment|}}} }}<!-- | ||
| Line 118: | Line 126: | ||
ATOMIC PROPERTIES ------------------> | ATOMIC PROPERTIES ------------------> | ||
| header70 = | | header70 =परमाणु गुण| data71 = {{{atomic properties comment|}}}{{{atomic properties|}}} | ||
| data71 = {{{atomic properties comment|}}}{{{atomic properties|}}} | |||
| label72 =[[ऑक्सीकरण राज्य]]| data72 = {{Infobox element/symbol-to-oxidation-state |symbol={{{symbol|}}} |engvar={{{engvar|}}} |engvarCat=no}} | | label72 =[[ऑक्सीकरण राज्य]]| data72 = {{Infobox element/symbol-to-oxidation-state |symbol={{{symbol|}}} |engvar={{{engvar|}}} |engvarCat=no}} | ||
| label73 =[[इलेक्ट्रोनगेटिविटी]]| data73 = {{#if:{{{electronegativity|}}} | Pauling scale: {{{electronegativity}}}{{{electronegativity ref|}}} }}{{{electronegativity comment|}}} | | label73 =[[इलेक्ट्रोनगेटिविटी]]| data73 = {{#if:{{{electronegativity|}}} | Pauling scale: {{{electronegativity}}}{{{electronegativity ref|}}} }}{{{electronegativity comment|}}} | ||
| Line 134: | Line 141: | ||
| label77 =[[सहसंयोजक त्रिज्या]]| data77 = {{#if:{{{covalent radius|}}} |{{{covalent radius}}} {{#if:{{{atomic radius|}}}{{{atomic radius calculated|}}}|pm|[[Picometre|pm]]}}{{{covalent radius ref|}}} {{{covalent radius comment|}}} }} | | label77 =[[सहसंयोजक त्रिज्या]]| data77 = {{#if:{{{covalent radius|}}} |{{{covalent radius}}} {{#if:{{{atomic radius|}}}{{{atomic radius calculated|}}}|pm|[[Picometre|pm]]}}{{{covalent radius ref|}}} {{{covalent radius comment|}}} }} | ||
| label78 =[वैन डेर वाल्स रेडियस]]| data78 = {{#if:{{{Van der Waals radius|}}} |{{{Van der Waals radius}}} {{#if:{{{atomic radius|}}}{{{atomic radius calculated|}}}{{{covalent radius|}}}|pm|[[Picometre|pm]]}}{{{Van der Waals radius ref|}}} {{{Van der Waals radius comment|}}} }} | | label78 =[वैन डेर वाल्स रेडियस]]| data78 = {{#if:{{{Van der Waals radius|}}} |{{{Van der Waals radius}}} {{#if:{{{atomic radius|}}}{{{atomic radius calculated|}}}{{{covalent radius|}}}|pm|[[Picometre|pm]]}}{{{Van der Waals radius ref|}}} {{{Van der Waals radius comment|}}} }} | ||
| data79 =| label101 =प्राकृतिक घटना| data101 = {{Infobox element/symbol-to-occurrence|symbol={{{symbol|}}}|format=wl}} | | data79 = {{Infobox element/spectral lines | ||
|symbol={{{symbol|}}} | |||
|name ={{{name|}}} | |||
|image ={{Infobox element/symbol-to-spectral-lines-image|symbol={{{symbol|}}} }}|default=}} | |||
<!-- OTHER PROPERTIES ------------------> | |||
| header100 =अन्य गुण| label101 =प्राकृतिक घटना| data101 = {{Infobox element/symbol-to-occurrence|symbol={{{symbol|}}}|format=wl}} | |||
| label103 =[[क्रिस्टल की संरचना]]| data103 = {{#if:{{{crystal structure prefix|}}}{{{crystal structure|}}}{{{crystal structure comment|}}} | | label103 =[[क्रिस्टल की संरचना]]| data103 = {{#if:{{{crystal structure prefix|}}}{{{crystal structure|}}}{{{crystal structure comment|}}} | ||
| Line 199: | Line 211: | ||
<!-- | <!-- | ||
ISOTOPES ------------------> | ISOTOPES ------------------> | ||
| header160 = {{#if:{{#ifeq:{{{isotopes|}}}|none| data164 = {{{isotopes comment|}}}<!-- | | header160 = {{#if:{{#ifeq:{{{isotopes|}}}|none||{{{isotopes|}}}}}{{{isotopes comment|}}}{{{isotopes ref|}}}|<!-- | ||
compose headertext | |||
-->{{#ifexpr:({{{number|1}}}>=119)|<!-- no isotopes page exist for E119+ so no wikilink 2019-02-03 -->Main isotopes of {{{name}}} |Main [[Isotopes of {{{name}}}|isotopes of {{{name|}}}]]}}{{{isotopes ref|}}}}} | |||
| data162 = {{#ifeq:{{{isotopes|}}}|none||{{Infobox element/isotopes table|isotopes={{{isotopes|}}} }}}} | |||
| data164 = {{{isotopes comment|}}}<!-- | |||
BELOW, FOOTER ---- ----- --> | BELOW, FOOTER ---- ----- --> | ||
| Line 245: | Line 262: | ||
}} | }} | ||
}}}}</includeonly><noinclude>{{documentation}}</noinclude>[[Category: Vigyan Ready]] | }}}}</includeonly><noinclude>{{documentation}}</noinclude>[[Category: Templates Vigyan Ready]] | ||
Latest revision as of 10:17, 8 December 2022
| Infobox element | ||||||
|---|---|---|---|---|---|---|
| {{{name}}} in the periodic table | ||||||
| ||||||
| Atomic number (Z) | {{{number}}} | |||||
| समूह | unknown | |||||
| अवधि | period in the periodic table | |||||
| भौतिक गुण | ||||||
| परमाणु गुण | ||||||
| अन्य गुण | ||||||
| ||||||
| This template uses Lua: |
| This template adds an automatically generated short description (chemical elements). If the automatic short description is not optimal, replace it by adding {{Short description}} at the top of the article. |
Infoboxes for the chemical elements use the core template {{Infobox element}} (talk).
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 (i.e., not by parameter)
| Data sets read by {{Infobox element}} | |
|---|---|
| Name and identifiers | |