Template:Warning: Difference between revisions
Jump to navigation
Jump to search
Red Leader (talk | contribs) (Fix/update doc internals; add width param (needed for pages like Nasal library and Canvas MapStructure Layers) |
Red Leader (talk | contribs) m (Typo, missing period) |
||
Line 14: | Line 14: | ||
{{obr}}'''warning'''{{!}}message{{!}}''width=''{{cbr}} | {{obr}}'''warning'''{{!}}message{{!}}''width=''{{cbr}} | ||
; width : Width of the messagebox, preferably as a percentage of the width of the page content. Defaults to 90% | ; width : Width of the messagebox, preferably as a percentage of the width of the page content. Defaults to 90%. | ||
== Example == | == Example == |
Revision as of 20:23, 10 October 2015
Warning Add message |
The following template description is not displayed when the template is inserted in an article.
Goal
Use this template to add a warning when a virtual aircraft might crash or when real equipment or ones health might be jeopardized.
Usage
{{warning|message|width=}}
- width
- Width of the messagebox, preferably as a percentage of the width of the page content. Defaults to 90%.
Example
{{warning|Dumping the fuel enroute may leave you unable to reach any airport.}}
Warning Dumping the fuel enroute may leave you unable to reach any airport. |
{{warning|Dumping the fuel enroute may leave you unable to reach any airport.|width=30%}}
Warning Dumping the fuel enroute may leave you unable to reach any airport. |
Known issues
Adding external links must be done like below. Specifically note the 1=.
{{warning|1=message}}
Related templates
Messagebox templates
- {{caution}} – When there might be damages to the virtual aircraft or to real equipment
- {{note}} – For important notes
- {{tip}} – For helpful tips
Inline italic templates
Note If there is a need for a warning use a messagebox template instead.