Difference between revisions of "Template:Chembox Structure"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
(add documentation page, manage whitespace, let text be seen. using AWB)
imported>DePiep
(Update Template:Chembox suite templates per WT:Chembox changes c.s.)
Line 1: Line 1:
{{#if:{{{CrystalStruct|}}}{{{SpaceGroup|}}}{{{PointGroup|}}}{{{LattConst_a|}}}{{{LattConst_b|}}}{{{LattConst_c|}}}{{{LattConst_alpha|}}}{{{LattConst_beta|}}}{{{LattConst_gamma|}}}{{{Coordination|}}}{{{MolShape|}}}{{{OrbitalHybridisation|}}}{{{Dipole|}}}|! {{Chembox header}} {{!}} Structure
+
{{#if:{{{CrystalStruct|}}}{{{SpaceGroup|}}}{{{PointGroup|}}}{{{LattConst_a|}}}{{{LattConst_b|}}}{{{LattConst_c|}}}{{{LattConst_alpha|}}}{{{LattConst_beta|}}}{{{LattConst_gamma|}}}{{{Coordination|}}}{{{MolShape|}}}{{{OrbitalHybridisation|}}}{{{Dipole|}}}
{{!}}-
+
|{{Chembox headerbar
{{Chembox entry|par_name={{#if:{{{CrystalStruct|}}}|CrystalStruct }}
+
|header=Structure
|par_value={{{CrystalStruct|}}} }}
+
|addcats=<!--
{{Chembox entry|par_name={{#if:{{{SpaceGroup|}}}|SpaceGroup }}
+
-->{{#ifeq:{{{1|¬PresenT}}}|¬PresenT||[[Category:Chemical infoboxes with tracked parameters|3*]] }}<!--
|par_value={{{SpaceGroup|}}} }}
+
-->}}
{{Chembox entry|par_name={{#if:{{{PointGroup|}}}|PointGroup }}
+
{{#if:{{{CrystalStruct|}}} |{{Chembox CrystalStruct |value={{{CrystalStruct|}}} }}}}
|par_value={{{PointGroup|}}} }}
+
{{#if:{{{SpaceGroup|}}} |{{Chembox SpaceGroup |value={{{SpaceGroup|}}} }}}}
{{Chembox entry|par_name={{#if:{{{LattConst_a|}}}{{{LattConst_b|}}}{{{LattConst_c|}}}|LattConst }}
+
{{#if:{{{PointGroup|}}} |{{Chembox PointGroup |value={{{PointGroup|}}} }}}}
|par_value= {{{LattConst_a|}}}
+
{{#if:{{{LattConst_a|}}}{{{LattConst_b|}}}{{{LattConst_c|}}} |{{Chembox LattConst
|par_value1={{{LattConst_b|}}}
+
|value= {{{LattConst_a|}}}
|par_value2={{{LattConst_c|}}} }}
+
|value1={{{LattConst_b|}}}
{{Chembox entry|par_name={{#if:{{{LattConst_alpha|}}}{{{LattConst_beta|}}}{{{LattConst_gamma|}}}|LattConst_Angle }}
+
|value2={{{LattConst_c|}}} }}}}
|par_value= {{{LattConst_alpha|}}}
+
{{#if:{{{LattConst_alpha|}}}{{{LattConst_beta|}}}{{{LattConst_gamma|}}} |{{Chembox LattConst_Angle
|par_value1={{{LattConst_beta|}}}
+
|value= {{{LattConst_alpha|}}}
|par_value2={{{LattConst_gamma|}}} }}
+
|value1={{{LattConst_beta|}}}
{{Chembox entry|par_name={{#if:{{{Coordination|}}}|Coordination }}
+
|value2={{{LattConst_gamma|}}} }}}}
|par_value={{{Coordination|}}} }}
+
{{#if:{{{Coordination|}}} |{{Chembox Coordination |value={{{Coordination|}}} }}}}
{{Chembox entry|par_name={{#if:{{{MolShape|}}}|MolShape }}
+
{{#if:{{{MolShape|}}} |{{Chembox MolShape |value={{{MolShape|}}} }}}}
|par_value={{{MolShape|}}} }}
+
{{#if:{{{OrbitalHybridisation|}}} |{{Chembox OrbitalHybridisation |value={{{OrbitalHybridisation|}}} }}}}
{{Chembox entry|par_name={{#if:{{{OrbitalHybridisation|}}}|OrbitalHybridisation }}
+
{{#if:{{{Dipole|}}}|{{Chembox Dipole |value={{{Dipole|}}} }}}}<!--
|par_value={{{OrbitalHybridisation|}}} }}
+
-->}}<noinclude>{{documentation}}</noinclude>
{{Chembox entry|par_name={{#if:{{{Dipole|}}}|Dipole }}
 
|par_value={{{Dipole|}}} }}
 
}}<noinclude>{{documentation}}</noinclude>
 

Revision as of 11:34, 6 February 2015

Template documentation[view] [edit] [history] [purge]

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 = 
  }}

Template:Pre2

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

Example values
Structure
Face-centered cubic, cF1924
FmTemplate:Overlinem, No. 225
-
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|...}}

Template parameters

ParameterDescriptionTypeStatus
CrystalStructCrystalStruct

no description

Unknownoptional
SpaceGroupSpaceGroup

no description

Unknownoptional
PointGroupPointGroup

no description

Unknownoptional
LattConst_aLattConst_a

no description

Unknownoptional
LattConst_bLattConst_b

no description

Unknownoptional
LattConst_cLattConst_c

no description

Unknownoptional
LattConst_alphaLattConst_alpha

no description

Unknownoptional
LattConst_betaLattConst_beta

no description

Unknownoptional
LattConst_gammaLattConst_gamma

no description

Unknownoptional
LattConst_CommentLattConst_Comment

no description

Unknownoptional
LattConst_refLattConst_ref

no description

Unknownoptional
UnitCellVolumeUnitCellVolume

no description

Unknownoptional
UnitCellFormulasUnitCellFormulas

no description

Unknownoptional
CoordinationCoordination

no description

Unknownoptional
MolShapeMolShape

no description

Unknownoptional
OrbitalHybridisationOrbitalHybridisation

no description

Unknownoptional
DipoleDipole

no description

Unknownoptional
Structure_refStructure_ref

no description

Unknownoptional

See also

Template:Navbox Chembox