Template:Info: Difference between revisions
Template page
More actions
{{Documentation}} |
use Template:Inline box/doc2 for documentation |
||
| Line 1: | Line 1: | ||
{{inline box|type=info|text={{{text|{{{1|(put something in for <nowiki>text=</nowiki>!)}}}}}}|image={{{image|}}}|imagewidth={{{imagewidth|20px}}}|class={{{class|}}}}}<noinclude>{{Documentation}}</noinclude> | {{inline box|type=info|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
{{info|text=Info text here}}
| Info 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 |