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

From blackwiki
Jump to navigation Jump to search
imported>Zyxw
(note Lua module used, add links to tracking category, add category)
imported>DePiep
m (add TemplateData (via WP:JWB))
Line 56: Line 56:
 
}}
 
}}
 
</pre>
 
</pre>
 
== Used subtemplates ==
 
* {{tl|Chembox CrystalStruct}}
 
* {{tl|Chembox SpaceGroup}}
 
* {{tl|Chembox PointGroup}}
 
* {{tl|Chembox LattConst}}
 
* {{tl|Chembox CrystalStructVolume}}
 
* {{tl|Chembox CrystalStructFormulas}}
 
* {{tl|Chembox Coordination}}
 
* {{tl|Chembox MolShape}}
 
* {{tl|Chembox OrbitalHybridisation}}
 
* {{tl|Chembox Dipole}}
 
  
 
== Tracking category ==
 
== Tracking category ==
 
* {{clc|Chemical articles with unknown parameter in Chembox}}
 
* {{clc|Chemical articles with unknown parameter in Chembox}}
 +
 +
==TemplateData==
 +
{{collapse top|title=TemplateData|bg=#ccc}}
 +
{{TemplateData header}}
 +
<templatedata>
 +
{
 +
"params": {
 +
"OtherAnions": {},
 +
"OtherCations": {},
 +
"OtherFunction_label": {},
 +
"OtherFunction": {},
 +
"OtherCompounds": {},
 +
"Related_ref": {}
 +
},
 +
"description": "Adds a subsection to {{Chembox}}. To be used: |Section3={{Chembox Structure|...}}",
 +
"paramOrder": [
 +
"Related_ref",
 +
"OtherAnions",
 +
"OtherCations",
 +
"OtherCompounds",
 +
"OtherFunction_label",
 +
"OtherFunction"
 +
]
 +
}
 +
</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]]
 
[[Category:Templates that add a tracking category]]
  
 
}}</includeonly>
 
}}</includeonly>

Revision as of 15:41, 19 March 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
This is the TemplateData documentation for this template 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
Related_refRelated_ref

no description

Unknownoptional
OtherAnionsOtherAnions

no description

Unknownoptional
OtherCationsOtherCations

no description

Unknownoptional
OtherCompoundsOtherCompounds

no description

Unknownoptional
OtherFunction_labelOtherFunction_label

no description

Unknownoptional
OtherFunctionOtherFunction

no description

Unknownoptional

See also

Template:Navbox Chembox

  1. Some source