Difference between revisions of "Template:Chembox Explosive"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
(Minor adjustments; improve formatting; use parameter check. See talk)
imported>DePiep
(Formatting InChI, SMILES, JMol. Remove deprecated parameters. Fix footer logic. +minor changes. See talk)
Line 3: Line 3:
 
  ----- HEADER -----
 
  ----- HEADER -----
 
-->{{Chembox headerbar
 
-->{{Chembox headerbar
|header=Explosive data<!--
+
|header=Explosive data
 +
|ref={{{Explosive_ref|}}}<!--
 
  ----- maintenance cats -----
 
  ----- maintenance cats -----
 
-->|addcats=<!--
 
-->|addcats=<!--
Line 10: Line 11:
 
|check
 
|check
 
|template=Template:Chembox Explosive
 
|template=Template:Chembox Explosive
|all= |opt= ShockSens= FrictionSens= DetonationV= REFactor= ExplosiveV
+
|all= |opt= Explosive_ref= ShockSens= FrictionSens= DetonationV= REFactor=  
 
|cat=Chemical articles with unknown parameter in Chembox
 
|cat=Chemical articles with unknown parameter in Chembox
 
|format=0|preview={{Chembox templatePar/formatPreviewMessage|msg=@@@}}|errNS=0}}<!--
 
|format=0|preview={{Chembox templatePar/formatPreviewMessage|msg=@@@}}|errNS=0}}<!--
Line 17: Line 18:
 
{{#if:{{{ShockSens|}}} |{{Chembox ShockSens |value={{{ShockSens|}}} }}}}
 
{{#if:{{{ShockSens|}}} |{{Chembox ShockSens |value={{{ShockSens|}}} }}}}
 
{{#if:{{{FrictionSens|}}} |{{Chembox FrictionSens |value={{{FrictionSens|}}} }}}}
 
{{#if:{{{FrictionSens|}}} |{{Chembox FrictionSens |value={{{FrictionSens|}}} }}}}
{{#if:{{{DetonationV|}}}{{{ExplosiveV|}}} |{{Chembox DetonationV |value={{{DetonationV|}}}{{{ExplosiveV|}}} }}}}
+
{{#if:{{{DetonationV|}}} |{{Chembox DetonationV |value={{{DetonationV|}}} }}}}
 
{{#if:{{{REFactor|}}} |{{Chembox REFactor |value={{{REFactor|}}} }}}}
 
{{#if:{{{REFactor|}}} |{{Chembox REFactor |value={{{REFactor|}}} }}}}
 
}}<!--
 
}}<!--
  
 
--><noinclude>{{documentation}}</noinclude>
 
--><noinclude>{{documentation}}</noinclude>

Revision as of 17:13, 16 November 2015

50px 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.

This parameter list:
| Section5 = {{Chembox Explosive
| Explosive_ref =
| ShockSens = 
| FrictionSens = 
| DetonationV = 
| REFactor = 
  }}

Template:Pre2

Complete list

Example

Trinitrotoluene (TNT)
Trinitrotoluene
Explosive data[1]
Shock sensitivity Insensitive
Friction sensitivity Insensitive to 353 N
Detonation velocity 6900 m/s
RE factor 1.00
Except where otherwise noted, data are given for materials in their standard state (at 25 °C [77 °F], 100 kPa).
Infobox references
{{Chembox
| Name = Trinitrotoluene
| Section5 = {{Chembox Explosive
| Explosive_ref = <ref>www.example.com</ref>
| ShockSens = Insensitive
| FrictionSens = Insensitive to 353 N
| DetonationV = 6900 m/s
| REFactor = 1.00
  }}
}}

Tracking category

TemplateData

TemplateData documentation used by VisualEditor and other tools
See the monthly parameter usage report for this template.

TemplateData for Chembox Explosive

Adds a subsection to {{Chembox}}. To be used: |Section5={{Chembox Explosive|...}}

Template parameters

ParameterDescriptionTypeStatus
Explosive_refExplosive_ref

no description

Unknownoptional
ShockSensShockSens

no description

Unknownoptional
FrictionSensFrictionSens

no description

Unknownoptional
DetonationVDetonationV

no description

Unknownoptional
ExplosiveVExplosiveV

no description

Unknownoptional
REFactorREFactor

no description

Unknownoptional

See also

Template:Navbox Chembox

  1. www.example.com