Toggle menu
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Inline box/doc: Difference between revisions

Template page
(Undo revision 2233 by Ihaveahax (talk) actually this won't work out as expected)
Tag: Undo
m (1 revision imported)
(One intermediate revision by the same user not shown)
(No difference)

Revision as of 13:03, 11 June 2022

This is a small message box that can be used in the middle of contents like a guide.

You probably don't want to use this template directly, instead consider:

TemplateData

Smaller message box (compared to Mbox) used for warnings or other information such as in the middle of a guide.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Texttext 1

Text to display

Contentrequired
Typetype

Type of the message, affects the default image and color

Suggested values
info warning critical success
Stringsuggested
Imageimage

Image to display as a file link (does not actually have to be a file, can be any object)

Example
[[File:Example.png|20px]]
Contentoptional
Image widthimagewidth

Width of the image, set in the CSS width property and image width in the file link

Example
20px
Unknownoptional
CSS classesclass

Additional CSS classes to add

Stringoptional