Template:Warning: Difference between revisions

Jump to navigation Jump to search
m
no edit summary
No edit summary
mNo edit summary
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{| cellspacing="0" style="border: 1px solid #f42; border-left-width: 10px; margin: 1em auto; width: {{{width|90%}}}; background-color: #ffe0d0; padding: 2px;"
{| cellspacing="0" style="border: 1px solid #f42; border-left-width: 10px; margin: {{{margin|1em auto}}}; width: {{{width|90%}}}; background-color: #ffe0d0; padding: {{{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
  | ca = Advertència
  | ca = Advertència
Line 17: Line 17:


== Usage ==
== Usage ==
  {{obr}}'''warning'''{{!}}message{{!}}''width=''{{cbr}}
  {{obr}}'''warning'''  
{{!}} message
{{!}} ''width''  =
{{!}} ''padding'' =
{{!}} ''margin''  =
{{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. This defaults to {{param||90%}}.
 
; 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 ==
252

edits

Navigation menu