6,566
edits
(Added the 'padding' parameter to allow for finer style control.) |
(Added the 'margin' parameter to allow for finer style control (and improved the documentation).) |
||
Line 1: | Line 1: | ||
{| cellspacing="0" style="border: 1px solid #1992ff; border-left-width: 10px; width: {{{width|90%}}}; background-color: #e0f2ff; padding: {{{padding|2px}}}; margin: 1em auto;" | {| cellspacing="0" style="border: 1px solid #1992ff; border-left-width: 10px; width: {{{width|90%}}}; background-color: #e0f2ff; padding: {{{padding|2px}}}; margin: {{{margin|1em auto}}};" | ||
| 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 = Bemerkung | | de = Bemerkung | ||
Line 14: | Line 14: | ||
== Usage == | == Usage == | ||
{{obr}}'''note''' | {{obr}}'''note''' | ||
{{!}}message | {{!}} message | ||
{{!}}''width'' = | {{!}} ''width'' = | ||
{{!}}''padding'' = | {{!}} ''padding'' = | ||
{{!}} ''margin'' = | |||
{{cbr}} | {{cbr}} | ||
; width : Width of the messagebox, preferably as a percentage of the width of the page content. | ; width : Width of the messagebox, preferably as a percentage of the width of the page content. This defaults to {{param||90%}}. | ||
; padding: The padding for the message box. This defaults to | ; padding: The padding CSS setting for the message box. This defaults to {{param||2px}}. | ||
; margin: The margin CSS setting for the message box. This defaults to {{param||1em auto}}. | |||
== Example == | == Example == |