Difference between revisions of "Template:Chembox Structure"
Jump to navigation
Jump to search
imported>DePiep (Update Template:Chembox suite templates per WT:Chembox Updates) |
imported>DePiep m (See {{Chembox}} and talk. parameter name change. (via JWB)) |
||
| (5 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | {{#if:{{{CrystalStruct|}}}{{{SpaceGroup|}}}{{{PointGroup|}}}{{{LattConst_a|}}}{{{LattConst_b|}}}{{{LattConst_c|}}}{{{LattConst_alpha|}}}{{{LattConst_beta|}}}{{{LattConst_gamma|}}}{{{Coordination|}}}{{{MolShape|}}}{{{OrbitalHybridisation|}}}{{{Dipole|}}} | + | {{#if:{{{CrystalStruct|}}}{{{SpaceGroup|}}}{{{PointGroup|}}}{{{LattConst_a|}}}{{{LattConst_b|}}}{{{LattConst_c|}}}{{{LattConst_alpha|}}}{{{LattConst_beta|}}}{{{LattConst_gamma|}}}{{{LattConst_Comment|}}}{{{UnitCellVolume|}}}{{{UnitCellFormulas|}}}{{{Coordination|}}}{{{MolShape|}}}{{{OrbitalHybridisation|}}}{{{Dipole|}}} |
| − | |{{Chembox headerbar | + | |<!-- then: |
| + | ----- HEADER ----- | ||
| + | -->{{Chembox headerbar | ||
|header=Structure | |header=Structure | ||
| − | | | + | |ref={{{Structure_ref|}}}<!-- |
| − | -->{{# | + | ----- maintenance cats ----- |
| − | || | + | -->|addMainCategories=<!-- |
| − | -->}} | + | ----- templatepar ----- |
| + | -->|templatepar={{#invoke:TemplatePar | ||
| + | |check | ||
| + | |template=Template:Chembox Structure | ||
| + | |all= |opt= Structure_ref= CrystalStruct= SpaceGroup= PointGroup= LattConst_a= LattConst_b= LattConst_c= LattConst_alpha= LattConst_beta= LattConst_gamma= LattConst_ref= LattConst_Comment= UnitCellVolume= UnitCellFormulas= Coordination= MolShape= OrbitalHybridisation= Dipole= | ||
| + | |cat=Chemical articles with unknown parameter in Chembox | ||
| + | |format=0|preview={{Chembox templatePar/formatPreviewMessage|msg=@@@}}|errNS=0}}<!-- | ||
| + | ----- END HEADERBAR -->}}<!-- | ||
| + | ----- START DATA ROWS ----- --> | ||
{{#if:{{{CrystalStruct|}}} |{{Chembox CrystalStruct |value={{{CrystalStruct|}}} }}}} | {{#if:{{{CrystalStruct|}}} |{{Chembox CrystalStruct |value={{{CrystalStruct|}}} }}}} | ||
{{#if:{{{SpaceGroup|}}} |{{Chembox SpaceGroup |value={{{SpaceGroup|}}} }}}} | {{#if:{{{SpaceGroup|}}} |{{Chembox SpaceGroup |value={{{SpaceGroup|}}} }}}} | ||
{{#if:{{{PointGroup|}}} |{{Chembox PointGroup |value={{{PointGroup|}}} }}}} | {{#if:{{{PointGroup|}}} |{{Chembox PointGroup |value={{{PointGroup|}}} }}}} | ||
| − | {{#if:{{{LattConst_a|}}}{{{LattConst_b|}}}{{{LattConst_c|}}} |{{Chembox LattConst | + | {{#if:{{{LattConst_a|}}}{{{LattConst_b|}}}{{{LattConst_c|}}}{{{LattConst_alpha|}}}{{{LattConst_beta|}}}{{{LattConst_gamma|}}}{{{LattConst_Comment|}}} |{{Chembox LattConst |
| − | | | + | |lattice-a={{{LattConst_a|}}} |
| − | | | + | |lattice-b={{{LattConst_b|}}} |
| − | | | + | |lattice-c={{{LattConst_c|}}} |
| − | {{ | + | |lattice-alpha={{{LattConst_alpha|}}} |
| − | | | + | |lattice-beta={{{LattConst_beta|}}} |
| − | + | |lattice-gamma={{{LattConst_gamma|}}} | |
| − | | | + | |ref={{{LattConst_ref|}}} |
| + | |comment= {{{LattConst_Comment|}}} | ||
| + | }}}} | ||
| + | {{#if:{{{UnitCellVolume|}}} |{{Chembox CrystalStructVolume |volume={{{UnitCellVolume|}}} }}}} | ||
| + | {{#if:{{{UnitCellFormulas|}}} |{{Chembox CrystalStructFormulas |formulas={{{UnitCellFormulas|}}} }}}} | ||
{{#if:{{{Coordination|}}} |{{Chembox Coordination |value={{{Coordination|}}} }}}} | {{#if:{{{Coordination|}}} |{{Chembox Coordination |value={{{Coordination|}}} }}}} | ||
{{#if:{{{MolShape|}}} |{{Chembox MolShape |value={{{MolShape|}}} }}}} | {{#if:{{{MolShape|}}} |{{Chembox MolShape |value={{{MolShape|}}} }}}} | ||
{{#if:{{{OrbitalHybridisation|}}} |{{Chembox OrbitalHybridisation |value={{{OrbitalHybridisation|}}} }}}} | {{#if:{{{OrbitalHybridisation|}}} |{{Chembox OrbitalHybridisation |value={{{OrbitalHybridisation|}}} }}}} | ||
{{#if:{{{Dipole|}}}|{{Chembox Dipole |value={{{Dipole|}}} }}}}<!-- | {{#if:{{{Dipole|}}}|{{Chembox Dipole |value={{{Dipole|}}} }}}}<!-- | ||
| − | -->}}<noinclude>{{documentation}}</noinclude> | + | -->}}<!-- |
| + | --><noinclude>{{documentation}}</noinclude> | ||
Latest revision as of 22:16, 19 March 2017
| This template uses Lua: |
Usage
This box can be used as a module in the {{chembox}}. Section number |Sectionn= can be between 1 and 9.
Complete list
This parameter list:
| Section3 = {{Chembox Structure
| Structure_ref =
| CrystalStruct =
| SpaceGroup =
| PointGroup =
| LattConst_a =
| LattConst_b =
| LattConst_c =
| LattConst_alpha =
| LattConst_beta =
| LattConst_gamma =
| LattConst_ref =
| LattConst_Comment =
| UnitCellVolume =
| UnitCellFormulas =
| Coordination =
| MolShape =
| OrbitalHybridisation =
| Dipole =
}}
|
Example
- Example values are taken from various chemicals to provide a complete overview.
Value "-" here stands for 'no example value' found. Usually those values are left empty, and no row is shown (or a default value).
| Structure | |
|---|---|
| Face-centered cubic, cF1924 | |
| FmTemplate:Overlinem, No. 225 | |
| - | |
a = 1.4154 nm, b = -, c = - α = 40.4°, β = 90°, γ = 90°[1] Some comment, any text
| |
Lattice volume (V)
|
(Unit Cell Volume) |
Formula units (Z)
|
6 formula per cell |
| octahedral at Fe | |
| Linear | |
| Hybridisation | - |
| 2.98 D | |
Except where otherwise noted, data are given for materials in their standard state (at 25 °C [77 °F], 100 kPa). | |
| Infobox references | |
{{Chembox
| Name = Example values
| Section8 = {{Chembox Structure
| CrystalStruct = Face-centered cubic, [[Pearson symbol|cF1924]]
| SpaceGroup = Fm{{overline|3}}m, No. 225
| PointGroup = -
| LattConst_a = 1.4154 nm
| LattConst_b = -
| LattConst_c = -
| LattConst_alpha = 40.4
| LattConst_beta =
| LattConst_gamma =
| LattConst_ref =<ref>Some source</ref>
| LattConst_Comment = Some comment, any text
| UnitCellFormulas = 6 formula per cell
| UnitCellVolume = (Unit Cell Volume)
| Coordination = [[octahedral]] at Fe
| MolShape = Linear
| OrbitalHybridisation = -
| Dipole = 2.98 D
}}
}}
Tracking category
TemplateData
TemplateData documentation used by VisualEditor and other tools
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
See the monthly parameter usage report for this template.
TemplateData for Chembox Structure Adds a subsection to {{Chembox}}. To be used: |Section3={{Chembox Structure|...}}
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
See also
| The above documentation is transcluded from Template:Chembox Structure/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
- ↑ Some source