Difference between revisions of "Template:Chembox Explosive"
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: | ||
}}<!-- | }}<!-- | ||
| − | --> | + | --><noinclude>{{documentation}}</noinclude> |
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
| − | |||
Revision as of 12:12, 31 October 2015
| 30px | This template uses Lua: |
Usage
This box can be used as a module in the {{chembox}}. Section number |Sectionn = can be between 1 and 9.
| Section5 = {{Chembox Explosive
| Explosive_ref =
| ShockSens =
| FrictionSens =
| DetonationV =
| REFactor =
}}
|
- Complete list
Example
- Trinitrotoluene (TNT)
| 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|...}}
| |||||||||||||||||||||||||||||||||||
See also
| The above documentation is transcluded from Template:Chembox Explosive/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |
- ↑ www.example.com