m (1 revision imported) |
(use Template:Inline box/doc2 for documentation) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{inline box|type=warning|text={{{text|{{{1|(put something in for <nowiki>text=</nowiki>!)}}}}}}|image={{{image|}}}|imagewidth={{{imagewidth|20px}}}|class={{{class|}}}}} | {{inline box|type=warning|text={{{text|{{{1|(put something in for <nowiki>text=</nowiki>!)}}}}}}|image={{{image|}}}|imagewidth={{{imagewidth|20px}}}|class={{{class|}}}}}<noinclude>{{Documentation|Template:Inline box/doc2}}</noinclude> |
Latest revision as of 04:07, 25 September 2022
(put something in for text=!) |
This is a small message box that uses {{inline box}}.
Example
{{warning|text=Warning text here}}
Warning 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.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Text | text 1 | Text to display | Content | required |
Image | image | Image to display as a file link (does not actually have to be a file, can be any object)
| Content | optional |
Image width | imagewidth | Width of the image, set in the CSS width property and image width in the file link
| Unknown | optional |
CSS classes | class | Additional CSS classes to add | String | optional |