Difference between revisions of "Template:Warning"
Jump to navigation
Jump to search
(Changed the 'message' named argument into an anonymous parameter.) |
(Changed the example to be less FlightGear specific.) |
||
Line 33: | Line 33: | ||
{{note|Do not forget to run this command.}} | {{note|Do not forget to run this command.}} | ||
{{caution|If you run this command incorrectly, your harddrive will be erased.}} | {{caution|If you run this command incorrectly, your harddrive will be erased.}} | ||
− | {{warning|Do not delete all | + | {{warning|Do not delete all files from your harddrive.}}</nowiki> |
The result will be: | The result will be: | ||
Line 40: | Line 40: | ||
{{note|Do not forget to run this command.}} | {{note|Do not forget to run this command.}} | ||
{{caution|If you run this command incorrectly, your harddrive will be erased.}} | {{caution|If you run this command incorrectly, your harddrive will be erased.}} | ||
− | {{warning|Do not delete all | + | {{warning|Do not delete all files from your harddrive.}} |
</noinclude> | </noinclude> |
Revision as of 17:48, 15 October 2015
Warning Add message |
Goal
To provide a clear warning to the reader.
Usage
{{warning|message}}
- message
- The obligatory warning text.
Example
{{Warning|This is a warning test message}}
Warning This is a warning test message |
Informative Message Box Series
This idea of using a meta-template transclusion was suggested by Johan G. on the FlightGear wiki. The {{tip}}, {{note}}, {{caution}}, and {{warning}} message box colour scheme was also devised by Johan.
The following are part of series of message boxes for helping to inform the reader. For example if you use:
{{tip|If you do it this way, your life will be easier.}} {{note|Do not forget to run this command.}} {{caution|If you run this command incorrectly, your harddrive will be erased.}} {{warning|Do not delete all files from your harddrive.}}
The result will be:
Tip If you do it this way, your life will be easier. |
Note Do not forget to run this command. |
Caution If you run this command incorrectly, your harddrive will be erased. |
Warning Do not delete all files from your harddrive. |