Template:Warning

From Cheatsheet
Jump to navigation Jump to search


Info: This page is a template. It contains no information but should be used as part of other articles. Please do not experiment with this template, it could mess up all pages using this template.



This template will create a bright red warning box that should be used to highlight anything that may be considered dangerous, harmful, or any other type of warning that needs to be heeded.

Example:

The following line included in a wiki article:

{{Warning|You will detroit the server if you do not follow these instructions exactly.}}

Will turn into:

Warning: You will detroit the server if you do not follow these instructions exactly.

You can also specify a message, replacing "Warning:" with one specific to the article you are editing, by using the following syntax:

{{Warning|You will detroit the server if you do not follow these instructions exactly.|ZOMGWARNING!!???}}

Will turn into:

ZOMGWARNING!!???: You will detroit the server if you do not follow these instructions exactly.