View Categories

p.hazard.consequence

< 1 min read

Table of Contents

Syntax #

p.hazard.typeof(type)

type

type of hazard; may be notice, caution, warning, or danger

p.hazard.consequence

p.hazard.avoid

Purpose #

Hazard statements are used to warn the reader of possible problems and tell the reader how to avoid the issue. They usually also list consequences of ignoring the hazard statement. One or more safety symbols may also be included. The statements must be in the order type, consequence, avoid.

Example:

Here is a sample notice:

Sample hazard notice

Here is what your rules may look like:

Sample hazard notice rules

This is what your output may look like:

<hazardstatement type="notice">
  <messagepanel>
    <typeofhazard>Shallow pipes</typeofhazard>
    <consequence>Pipes may freeze if cold water is not left running. 
                 Frozen pipes may burst.
    </consequence>
    <howtoavoid>Keep a cold water tap running through the freezing 
                months with stream the size of a pencil.
    </howtoavoid>
  </messagepanel>
</hazardstatement>