Template:Warning: Difference between revisions
Jump to navigation
Jump to search
(→Known issues: External links) |
Catalanoic (talk | contribs) No edit summary |
||
(11 intermediate revisions by 7 users not shown) | |||
Line 1: | Line 1: | ||
{| cellspacing="0" style=" | {| cellspacing="0" style="border: 1px solid #f42; border-left-width: 10px; margin: 1em auto; width: {{{width|90%}}}; background-color: #ffe0d0; padding: 2px;" | ||
| style="padding-left:5px;"| '''<span class="smallcaps" style="font-variant:small-caps;">Warning</span>'''  {{{1|Add message}}} | | style="padding-left:5px;"| '''<span class="smallcaps" style="font-variant:small-caps;">{{LangSwitch | ||
| ca = Advertència | |||
| de = Warnung | |||
| en = Warning | |||
| es = Advertencia | |||
| fr = Avertissement | |||
| it = Avviso | |||
| nl = Waarschuwing | |||
| ru = Предупреждение | |||
| th = '''เดี๋ยวก่อน!''' | |||
}}</span>'''  {{{1|Add message}}} | |||
|}<noinclude>{{Informative template |1= | |}<noinclude>{{Informative template |1= | ||
__NOTOC__ | __NOTOC__ | ||
Line 7: | Line 17: | ||
== Usage == | == Usage == | ||
{{obr}}'''warning'''{{!}}message{{!}}''width=''{{cbr}} | |||
; width : Width of the messagebox, preferably as a percentage of the width of the page content. Defaults to 90%. | |||
== Example == | == Example == | ||
<nowiki>{{warning|Dumping the fuel enroute may leave you unable to reach any airport}}</nowiki> | <nowiki>{{warning|Dumping the fuel enroute may leave you unable to reach any airport.}}</nowiki> | ||
{{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.}} | ||
<nowiki>{{warning|Dumping the fuel enroute may leave you unable to reach any airport.|width=30%}}</nowiki> | |||
{{warning|Dumping the fuel enroute may leave you unable to reach any airport.|width=30%}} | |||
== Known issues == | == Known issues == | ||
Adding external links must be done like below. Specifically note the '''1{{=}}'''. | Adding external links must be done like below. Specifically note the '''1{{=}}'''. | ||
{{obr}}'''warning'''{{!}}'''1='''message{{cbr}} | |||
== Related templates == | == Related templates == |
Revision as of 23:17, 23 March 2019
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.