Template:Mbox/doc: Difference between revisions
m →Usage: it's more than 3 params now |
→Usage: removed unused params |
||
| (3 intermediate revisions by one other user not shown) | |||
| Line 4: | Line 4: | ||
=== Usage === | === Usage === | ||
The template accepts the following parameters: | The template accepts the following parameters: | ||
* <code>type</code>: Defines the color of the left border; the type should be chosen according to context, not for aesthetic reasons. Types are described in the next section. | * <code>type</code>: Defines the color of the left border; the type should be chosen according to context, not for aesthetic reasons. Types are described in the next section. | ||
* <code>text</code>: Message to be displayed in the box. | * <code>text</code>: Message to be displayed in the box. | ||
* <code>icon</code>: Icon to be displayed in the box, if provided. Icons appear on the left side of the message box. | * <code>icon</code>: Icon to be displayed in the box, if provided. Icons appear on the left side of the message box. | ||
* <code>icon size</code>: Size of the icon displayed. Default is 60px. | * <code>icon size</code>: Size of the icon displayed. Default is 60px. | ||
{{clear}} | {{clear}} | ||
=== Types and examples === | === Types and examples === | ||
{{Mbox|text=Messagebox of '''delete''' type. Typically used for pages whose content is deprecated or to be deleted.|type=delete}} | {{Mbox|text=Messagebox of '''delete''' type. Typically used for pages whose content is deprecated or to be deleted.|type=delete}} | ||