(Created page with "<noinclude>{{ombox|text=This is the documentation page for {{tl|info}}, {{tl|warning}}, {{tl|critical}}, and {{tl|success}}.}}</noinclude> This is a small message box that uses {{tl|inline box}}. === See also === You probably don't want to use this template directly, instead consider: * {{tl|info}} * {{tl|warning}} * {{tl|critical}} * {{tl|success}} === TemplateData === <templatedata> { "params": { "class": { "label": "CSS classes", "description": "Additional...") |
No edit summary |
||
Line 2: | Line 2: | ||
This is a small message box that uses {{tl|inline box}}. | This is a small message box that uses {{tl|inline box}}. | ||
=== Example === | |||
{{#tag:pre| | |||
<nowiki>{{</nowiki>{{lcfirst:{{ROOTPAGENAME}}}}{{!}}text={{ROOTPAGENAME}} text here<nowiki>}}</nowiki> | |||
}} | |||
<!-- this feels like a hack lol, i definitely don't need to make it this complicated but i did --> | |||
{{ {{ROOTPAGENAME}} |text={{ROOTPAGENAME}} text here}} | |||
=== See also === | === See also === |
Revision as of 04:12, 25 September 2022
This is the documentation page for {{info}}, {{warning}}, {{critical}}, and {{success}}. |
This is a small message box that uses {{inline box}}.
Example
{{inline box|text=Inline box text here}}
Inline box text here |
See also
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.
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 |