Difference between revisions of "Template:Chembox Explosive"

From blackwiki
Jump to navigation Jump to search
imported>DePiep
m (fix possible bad parametercheck)
imported>DePiep
(Minor adjustments; improve formatting; use parameter check. See talk)
Line 1: Line 1:
 
{{#if:{{{ShockSens|}}}{{{FrictionSens|}}}{{{DetonationV|}}}{{{ExplosiveV|}}}{{{REFactor|}}}
 
{{#if:{{{ShockSens|}}}{{{FrictionSens|}}}{{{DetonationV|}}}{{{ExplosiveV|}}}{{{REFactor|}}}
|{{Chembox headerbar
+
|<!-- then:
|header=Explosive data
+
----- HEADER -----
|addcats= }}
+
-->{{Chembox headerbar
 +
|header=Explosive data<!--
 +
----- maintenance cats -----
 +
-->|addcats=<!--
 +
----- templatepar -----
 +
-->|templatepar={{#invoke:TemplatePar
 +
|check
 +
|template=Template:Chembox Explosive
 +
|all= |opt= ShockSens= FrictionSens= DetonationV= REFactor= ExplosiveV
 +
|cat=Chemical articles with unknown parameter in Chembox
 +
|format=0|preview={{Chembox templatePar/formatPreviewMessage|msg=@@@}}|errNS=0}}<!--
 +
----- END HEADERBAR -->}}<!--
 +
----- START DATA ROWS ----- -->
 
{{#if:{{{ShockSens|}}} |{{Chembox ShockSens |value={{{ShockSens|}}} }}}}
 
{{#if:{{{ShockSens|}}} |{{Chembox ShockSens |value={{{ShockSens|}}} }}}}
 
{{#if:{{{FrictionSens|}}} |{{Chembox FrictionSens |value={{{FrictionSens|}}} }}}}
 
{{#if:{{{FrictionSens|}}} |{{Chembox FrictionSens |value={{{FrictionSens|}}} }}}}
Line 9: Line 21:
 
}}<!--
 
}}<!--
  
-->{{#invoke:TemplatePar
+
--><noinclude>{{documentation}}</noinclude>
|check
 
|template=Template:Chembox Explosive
 
|all= |opt= ShockSens= FrictionSens= DetonationV= REFactor= ExplosiveV
 
|cat=Chemical articles with unknown parameter in Chembox
 
|format=0|preview=1|errNS=0
 
}}<noinclude>{{documentation}}</noinclude>
 

Revision as of 12:12, 31 October 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.

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

Template:Pre2

Complete list

Example

Trinitrotoluene (TNT)
Trinitrotoluene
Explosive data
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