3.1.4.1.5 messagepanel

The <messagepanel> element contains the textual information that is displayed on the hazard statement. This information identifies the hazard, specifies how to avoid the hazard, and states the probable consequences of failing to avoid the hazard.

Contains

Doctype

Content model

topic, map, concept, ditabase, glossary, glossentry, glossgroup, reference, task, bookmap, classifyMap, subjectScheme, machineryTask, learningBookmap, learningMap

( (typeofhazard) then (consequence) (any number) then (howtoavoid) (one or more) )

Contained by

Doctype

Content model

topic (base), map (base), topic (technical content), map (technical content), concept, ditabase, glossary, glossentry, glossgroup, reference, task (strict), task (general), bookmap, classifyMap, subjectScheme, machineryTask, learningBookmap, learningMap

hazardstatement

Inheritance

+ topic/ul hazard-d/messagepanel

Example
<hazardstatement type="caution">
  <messagepanel>
    <typeofhazard>Lifting Hazard.</typeofhazard>
    <consequence>May result in injury.</consequence>
    <howtoavoid>See safety manual for lifting instructions.</howtoavoid>
  </messagepanel>
  <hazardsymbol href="heavy.png"></hazardsymbol>
</hazardstatement>
Attributes

Name

Description

Data Type

Default Value

Required?

compact

Indicates close vertical spacing between the list items. Expanded spacing is the default value. The output result of compact spacing depends on the processor or browser. Allowed values are:

yes

Indicates compact spacing.

no

Indicates expanded spacing.

(yes | no | -dita-use-​conref-​target)

#IMPLIED

No

spectitle

The specialized title attribute allows architects of specialized types to define a fixed or default title for a specialized element. Not intended for direct use by authors.

CDATA

#IMPLIED

No

univ-atts attribute group (includes select-atts, id-atts, and localization-atts groups)

A set of related attributes, described in 3.4.1.3 univ-atts attribute group

     

global-atts attribute group (xtrf, xtrc)

A set of related attributes, described in 3.4.1.2 global-atts attribute group

     

class, outputclass

Common attributes described in 3.4.1.9 Other common DITA attributes

     

Previous Topic:  3.1.4.1.4 howtoavoid

Next Topic:  3.1.4.1.6 typeofhazard

Parent Topic:  3.1.4.1 Hazard statement elements

Sibling Topics:

3.1.4.1.1 hazardstatement

3.1.4.1.2 consequence

3.1.4.1.3 hazardsymbol

3.1.4.1.4 howtoavoid

3.1.4.1.6 typeofhazard