Difference between revisions of "Template:Chembox Structure/doc"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
(→‎Example: +new params)
imported>Zackmann08
(Undid revision 870594276 by Zackmann08 (talk))
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
 
{{Documentation subpage}}
 
{{Documentation subpage}}
<!-- PLEASE ADD CATEGORIES AND INTERWIKIS AT THE BOTTOM OF THIS PAGE -->
+
{{Lua|Module:TemplatePar}}
  
 
== Usage ==
 
== Usage ==
Line 56: Line 56:
 
</pre>
 
</pre>
  
== Used subtemplates ==
+
== Tracking category ==
* {{tl|Chembox CrystalStruct}}
+
* {{clc|Chemical articles with unknown parameter in Chembox}}
* {{tl|Chembox SpaceGroup}}
+
 
* {{tl|Chembox PointGroup}}
+
==TemplateData==
* {{tl|Chembox LattConst}}
+
{{collapse top|title=[[Wikipedia:TemplateData|TemplateData]] documentation used by [[Wikipedia:VisualEditor|VisualEditor]] and other tools|bg=#ccc}}
* {{tl|Chembox CrystalStructVolume}}
+
{{TemplateData header|noheader=1}}
* {{tl|Chembox CrystalStructFormulas}}
+
<templatedata>
* {{tl|Chembox Coordination}}
+
{
* {{tl|Chembox MolShape}}
+
"params": {
* {{tl|Chembox OrbitalHybridisation}}
+
"CrystalStruct": {},
* {{tl|Chembox Dipole}}
+
"SpaceGroup": {},
 +
"PointGroup": {},
 +
"LattConst_a": {},
 +
"LattConst_b": {},
 +
"LattConst_c": {},
 +
"LattConst_alpha": {},
 +
"LattConst_beta": {},
 +
"LattConst_gamma": {},
 +
"LattConst_Comment": {},
 +
"UnitCellVolume": {},
 +
"UnitCellFormulas": {},
 +
"Coordination": {},
 +
"MolShape": {},
 +
"OrbitalHybridisation": {},
 +
"Dipole": {},
 +
"Structure_ref": {},
 +
"LattConst_ref": {}
 +
},
 +
"description": "Adds a subsection to {{Chembox}}. To be used: |Section3={{Chembox Structure|...}}",
 +
"paramOrder": [
 +
"CrystalStruct",
 +
"SpaceGroup",
 +
"PointGroup",
 +
"LattConst_a",
 +
"LattConst_b",
 +
"LattConst_c",
 +
"LattConst_alpha",
 +
"LattConst_beta",
 +
"LattConst_gamma",
 +
"LattConst_Comment",
 +
"LattConst_ref",
 +
"UnitCellVolume",
 +
"UnitCellFormulas",
 +
"Coordination",
 +
"MolShape",
 +
"OrbitalHybridisation",
 +
"Dipole",
 +
"Structure_ref"
 +
]
 +
}
 +
</templatedata>
 +
{{collapse bottom}}
  
 
== See also ==
 
== See also ==
 
{{Navbox Chembox}}
 
{{Navbox Chembox}}
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
+
<includeonly>{{sandbox other||
 
[[Category:Chembox templates|{{#ifeq:{{PAGENAME}}|Chembox Structure|*03 }}{{PAGENAME}}]]
 
[[Category:Chembox templates|{{#ifeq:{{PAGENAME}}|Chembox Structure|*03 }}{{PAGENAME}}]]
 +
[[Category:Templates that add a tracking category]]
  
 
}}</includeonly>
 
}}</includeonly>

Latest revision as of 03:50, 26 November 2018

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
-
a = 1.4154 nm, b = -, c = -
α = 40.4°, β = 90°, γ = 90°[1]
Some comment, any text
(Unit Cell Volume)
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|...}}

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

  1. Some source