Template:Mbox/doc: Difference between revisions
ArrowHead294 (talk | contribs) mNo edit summary |
→Usage: removed unused params |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 3: | Line 3: | ||
=== Usage === | === Usage === | ||
The template accepts | 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}} | ||