Template:Chembox: Difference between revisions

From WikiMD's Wellness Encyclopedia

No edit summary
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
<templatestyles src="Chembox/styles.css"/>
<!-- Template:Chembox -->
 
<div class="infobox" style="width: 22em; font-size: 90%; border: 1px solid #aaa; padding: 0.5em; background: #f9f9f9;">
{| class="infobox ib-chembox" style="{{#if:{{{width|}}}|width:{{{width}}};}}{{{style|}}}"
{| style="width: 100%;"
|+ {{{Name|{{PAGENAME}}}}} {{{Reference|}}}
! colspan="2" style="text-align: center; background: #f0f0f0; font-weight: bold; font-size: 110%; padding: 0.5em;" | {{{name|Chemical Compound}}}
 
|-
<!-- Image Section -->
| colspan="2" style="text-align: center;" | {{{image|}}}
{{#if:{{{ImageFile|}}}|-
|-
| colspan="2" style="text-align:center;" | [[File:{{{ImageFile|}}}|{{{ImageSize|250px}}}|alt={{{ImageAlt|}}}]]
| colspan="2" style="text-align: center;" | <small>{{{image_caption|}}}</small>
{{#if:{{{ImageCaption|}}}|<div style="font-size:smaller;">{{{ImageCaption}}}</div>}}}}
|-
 
| colspan="2" style="text-align: center; background: #f0f0f0;" | <b>Identifiers</b>
<!-- Names Section -->
|-
{{#if:{{{IUPACName|}}}{{{OtherNames|}}}|-
| <b>CAS Number</b> || {{{cas_number|}}}
| colspan="2" style="text-align:left;" | '''Names:''' {{#if:{{{IUPACName|}}}|IUPAC: {{{IUPACName}}}{{#if:{{{OtherNames|}}}|, }}}}{{{OtherNames|}}}}}}
|-
 
| <b>PubChem CID</b> || {{{pubchem|}}}
<!-- Dynamic Sections -->
|-
{{#if:{{{Section1|}}}|{{{Section1}}}}}
| <b>ChemSpider ID</b> || {{{chemspider|}}}
{{#if:{{{Section2|}}}|{{{Section2}}}}}
|-
{{#if:{{{Section3|}}}|{{{Section3}}}}}
| <b>UNII</b> || {{{unii|}}}
{{#if:{{{Section4|}}}|{{{Section4}}}}}
|-
{{#if:{{{Section5|}}}|{{{Section5}}}}}
| <b>ChEBI</b> || {{{chebi|}}}
 
|-
<!-- Footer -->
| <b>ChEMBL</b> || {{{chembl|}}}
{{#if:{{{show_footer|yes}}}|-
|-
| colspan="2" style="text-align:left;" | {{#if:{{{general_note|}}}|{{{general_note}}}}}}}
| colspan="2" style="text-align: center; background: #f0f0f0;" | <b>Properties</b>
 
|-
|} <!-- End of table -->
| <b>Chemical Formula</b> || {{{formula|}}}
 
|-
<noinclude>{{documentation}}</noinclude>
| <b>Molar Mass</b> || {{{molar_mass|}}}
|-
| <b>Appearance</b> || {{{appearance|}}}
|-
| <b>Density</b> || {{{density|}}}
|-
| <b>Melting Point</b> || {{{melting_point|}}}
|-
| <b>Boiling Point</b> || {{{boiling_point|}}}
|-
| colspan="2" style="text-align: center; background: #f0f0f0;" | <b>Hazards</b>
|-
| <b>GHS Pictograms</b> || [[File:{{{ghs_pictograms|}}}|50px]]
|-
| <b>GHS Signal Word</b> || {{{ghs_signal_word|}}}
|-
| <b>GHS Hazard Statements</b> || {{{ghs_hazard_statements|}}}
|-
| <b>NFPA 704</b> || [[File:{{{nfpa704|}}}|50px]]
|-
| colspan="2" style="text-align: center; background: #f0f0f0;" | <b>References</b>
|-
| colspan="2" | {{{references|}}}
|}
</div>

Latest revision as of 07:20, 12 January 2025

Chemical Compound
Identifiers
CAS Number
PubChem CID
ChemSpider ID
UNII
ChEBI
ChEMBL
Properties
Chemical Formula
Molar Mass
Appearance
Density
Melting Point
Boiling Point
Hazards
GHS Pictograms [[File:|50px]]
GHS Signal Word
GHS Hazard Statements
NFPA 704 [[File:|50px]]
References