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/doc2: Difference between revisions

Template page
No edit summary
(change preferred format from block to inline)
 
(One intermediate revision by the same user not shown)
Line 11: Line 11:


=== See also ===
=== See also ===
You probably don't want to use this template directly, instead consider:
* {{tl|info}}
* {{tl|info}}
* {{tl|warning}}
* {{tl|warning}}
Line 54: Line 53:
"class"
"class"
],
],
"format": "block"
"format": "inline"
}
}
</templatedata>
</templatedata>

Latest revision as of 04:06, 15 August 2023

This is a small message box that uses {{inline box}}.

Example

{{inline box|text=Inline box text here}}
OOjs UI icon information-progressive.svg Inline box text here

See also

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 inline formatting of parameters.

ParameterDescriptionTypeStatus
Texttext 1

Text to display

Contentrequired
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