2,733
edits
m (Italian translation) |
Red Leader (talk | contribs) (Fix/update doc internals; add width param (needed for pages like Nasal library and Canvas MapStructure Layers) |
||
Line 1: | Line 1: | ||
{| cellspacing="0" style="border: 1px solid #f42; border-left-width: 10px; margin: 1em auto; width: 90%; background-color: #ffe0d0; padding: 2px;" | {| 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;"> {{LangSwitch | | style="padding-left:5px;"| '''<span class="smallcaps" style="font-variant:small-caps;">{{LangSwitch | ||
| de = Warnung | | de = Warnung | ||
| en = Warning | | en = Warning | ||
Line 12: | Line 12: | ||
== 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 == |