User:Johan G/Messagebox/icon

From FlightGear wiki
Jump to navigation Jump to search

messagebox/icon: no image

The following template description is not displayed when the template is inserted in an article.


This template is used by User:Johan G/Messagebox/content.


| style       = 
| one-liner   = 
| image       = 
| image-width = 
| box         = 
| image-style = 

Parameters affecting the appearance

Optional parameters affecting the appearance of the icon.

Determines the colour of the default icons. Valid values are speedy, warning, caution, note, tip, protected and neutral. Defaults to note.
If not empty a smaller image width will be used.
Image or icon to use excluding the File: namespace prefix, for example Cleanup.png. Instead of an image name a shortcut can be used. When using the shortcuts the icons will automatically get the right colour for the style. Valid icon shortcuts are: /!\, (!), (?), (i), (x) and U (for padlock).
Width of the image in pixels. Defaults to 40 pixels or for one-liners 24 pixels.
Will override the box format. Valid values are box, top and section. The defaults are box for the talk namespaces and the category namespace, and top for any other namespace.

CSS style parameters

Optional parameters allowing cascading style sheet (CSS) style attributes to be used. These will override the style of the messagebox. Use sparingly and only when needed.

CSS attributes applied to the image cell.


| style       = {{{style|}}}
| one-liner   = {{{one-liner|}}}
| image       = {{{image|}}}
| image-width = {{{image-width|}}}
| box         = {{{box|}}}
| image-style = {{{image-style|}}}

Related templates