Difference between revisions of "Template:Warning"

From OpenGL.org
Jump to: navigation, search
(Adding a message for how block warning messages work.)
m (categorization)
 
Line 9: Line 9:
 
{{warning|This is a warning. Beware!}}
 
{{warning|This is a warning. Beware!}}
  
 +
[[Category:Template Annotation]]
 
</noinclude><includeonly>{{note style|type=Warning|text={{{1}}}}}</includeonly>
 
</noinclude><includeonly>{{note style|type=Warning|text={{{1}}}}}</includeonly>

Latest revision as of 01:45, 8 November 2012

This template should be used for block-level warning messages. These are useful for warning users of pitfalls in some feature or functionality. This template takes one positional parameter: the text of the warning message.

Usage:

{{warning|This is a warning. Beware!}}

becomes:

Warning: This is a warning. Beware!