Module:Preview warning/doc

Description
This module allows you to have warning messages that display only when the page is previewed. The message will not be shown when the page is rendered normally.

Examples
&rarr; Warning: There was an error (this message is shown only in preview)

&rarr; Warning: Something is wrong with this template (this message is shown only in preview)

Credits
This module's code was copied from the English Wikipedia.