Template:Infobox chemical: Difference between revisions
Wiki>DePiep #REDIRECT Template:Chembox - did not mature |
Hide empty chemical infobox section headers |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
# | {{Infobox | ||
| bodyclass = ib-chemical | |||
| templatestyles = Infobox chemical/styles.css | |||
| titleclass = ib-chemical-title | |||
| titlestyle = font-size: 125%; | |||
| title = {{#if:{{{name|}}}|{{{name}}}|<includeonly>{{PAGENAMEBASE}}</includeonly>}} | |||
| imageclass = ib-chemical-image | |||
| image = {{#invoke:InfoboxImage |InfoboxImage |image={{{image|}}} |size={{{image_size|}}} |sizedefault=frameless |upright={{if empty|{{{image_upright|}}}|1}} |alt={{{image_alt|}}} |maxsize=250px}} | |||
| caption = {{if empty|{{{image_caption|}}}|{{{caption|}}}}} | |||
| header1 = {{#if:{{{other_names|}}}{{{iupac_name|}}}{{{formula|}}}{{{molecular_formula|}}}{{{molar_mass|}}}{{{cas_number|}}}{{{CAS_number|}}}|Identification}} | |||
| label2 = Other names | |||
| data2 = {{{other_names|}}} | |||
| label3 = IUPAC name | |||
| data3 = {{{iupac_name|}}} | |||
| label4 = Formula | |||
| data4 = {{if empty|{{{formula|}}}|{{{molecular_formula|}}}}} | |||
| label5 = Molar mass | |||
| data5 = {{{molar_mass|}}} | |||
| label6 = CAS Number | |||
| data6 = {{if empty|{{{cas_number|}}}|{{{CAS_number|}}}}} | |||
| header10 = {{#if:{{{chemical_class|}}}{{{compound_type|}}}{{{composition|}}}{{{formulation|}}}{{{function|}}}{{{primary_effect|}}}{{{uses|}}}{{{recorded_use|}}}|Chemical profile}} | |||
| label11 = Chemical class | |||
| data11 = {{{chemical_class|}}} | |||
| label12 = Compound type | |||
| data12 = {{{compound_type|}}} | |||
| label13 = Composition | |||
| data13 = {{if empty|{{{composition|}}}|{{{formulation|}}}}} | |||
| label14 = Function | |||
| data14 = {{if empty|{{{function|}}}|{{{primary_effect|}}}}} | |||
| label15 = Uses | |||
| data15 = {{if empty|{{{uses|}}}|{{{recorded_use|}}}}} | |||
| header20 = {{#if:{{{physical_state|}}}{{{state|}}}{{{appearance|}}}{{{odor|}}}{{{density|}}}{{{melting_point|}}}{{{boiling_point|}}}{{{solubility|}}}{{{ph|}}}{{{conductivity|}}}{{{residue|}}}|Physical properties}} | |||
| label21 = Physical state | |||
| data21 = {{if empty|{{{physical_state|}}}|{{{state|}}}}} | |||
| label22 = Appearance | |||
| data22 = {{{appearance|}}} | |||
| label23 = Odor | |||
| data23 = {{{odor|}}} | |||
| label24 = Density | |||
| data24 = {{{density|}}} | |||
| label25 = Melting point | |||
| data25 = {{{melting_point|}}} | |||
| label26 = Boiling point | |||
| data26 = {{{boiling_point|}}} | |||
| label27 = Solubility | |||
| data27 = {{{solubility|}}} | |||
| label28 = pH | |||
| data28 = {{{ph|}}} | |||
| label29 = Conductivity | |||
| data29 = {{{conductivity|}}} | |||
| label30 = Residue | |||
| data30 = {{{residue|}}} | |||
| header40 = {{#if:{{{hazards|}}}{{{hazard_class|}}}{{{toxicity|}}}{{{exposure_routes|}}}{{{handling|}}}{{{handling_status|}}}{{{storage|}}}{{{stability|}}}|Safety and handling}} | |||
| label41 = Hazards | |||
| data41 = {{if empty|{{{hazards|}}}|{{{hazard_class|}}}}} | |||
| label42 = Toxicity | |||
| data42 = {{{toxicity|}}} | |||
| label43 = Exposure routes | |||
| data43 = {{{exposure_routes|}}} | |||
| label44 = Handling | |||
| data44 = {{if empty|{{{handling|}}}|{{{handling_status|}}}}} | |||
| label45 = Storage | |||
| data45 = {{{storage|}}} | |||
| label46 = Stability | |||
| data46 = {{{stability|}}} | |||
| header60 = {{#if:{{{developed_by|}}}{{{developer|}}}{{{manufacturer|}}}{{{associated_facility|}}}{{{first_recorded|}}}{{{active_period|}}}{{{status|}}}{{{post_collapse_status|}}}|History}} | |||
| label61 = Developed by | |||
| data61 = {{if empty|{{{developed_by|}}}|{{{developer|}}}}} | |||
| label62 = Manufacturer | |||
| data62 = {{{manufacturer|}}} | |||
| label63 = Associated facility | |||
| data63 = {{{associated_facility|}}} | |||
| label64 = First recorded | |||
| data64 = {{{first_recorded|}}} | |||
| label65 = Active period | |||
| data65 = {{{active_period|}}} | |||
| label66 = Status | |||
| data66 = {{if empty|{{{status|}}}|{{{post_collapse_status|}}}}} | |||
}}<!-- | |||
-->{{#invoke:Check for conflicting parameters|check|nested=1|template=Infobox chemical|cat={{main other|Category:Pages using infobox chemical with conflicting parameters}}|caption; image_caption|formula; molecular_formula|composition; formulation|function; primary_effect|uses; recorded_use|physical_state; state|hazards; hazard_class|handling; handling_status|developed_by; developer|status; post_collapse_status | |||
}}{{#invoke:Check for unknown parameters|check|unknown={{main other|[[Category:Pages using infobox chemical with unknown parameters|_VALUE_{{PAGENAME}}]]}}|preview=Page using [[Template:Infobox chemical]] with unknown parameter "_VALUE_" | ignoreblank=y | name | image | image_size | image_upright | image_alt | image_caption | caption | other_names | iupac_name | formula | molecular_formula | molar_mass | cas_number | CAS_number | chemical_class | compound_type | composition | formulation | function | primary_effect | uses | recorded_use | physical_state | state | appearance | odor | density | melting_point | boiling_point | solubility | ph | conductivity | residue | hazards | hazard_class | toxicity | exposure_routes | handling | handling_status | storage | stability | developed_by | developer | manufacturer | associated_facility | first_recorded | active_period | status | post_collapse_status | organization | access | control_system | era | nocat | demo | categories }}<noinclude> | |||
{{documentation}} | |||
[[Category:Infobox templates]] | |||
</noinclude> | |||