Template:Warning: Difference between revisions
Jump to navigation
Jump to search
Standard Warning. |
Adding a message for how block warning messages work. |
||
Line 1: | Line 1: | ||
{{note style|type=Warning|text={{{1}}}}} | <noinclude>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: | |||
<nowiki>{{warning|This is a warning. Beware!}}</nowiki> | |||
becomes: | |||
{{warning|This is a warning. Beware!}} | |||
</noinclude><includeonly>{{note style|type=Warning|text={{{1}}}}}</includeonly> |
Revision as of 18:32, 3 September 2009
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!