Template:Mbox: Difference between revisions
From Australian Enthusiasts Wiki
Add template to construct message boxes |
Rm autocat from ew:Template:Off-topic. |
||
| Line 2: | Line 2: | ||
|- | |- | ||
|{{{1|<noinclude>'''Example title'''<br>Lorem ipsum dolor sit amet.</noinclude>}}} | |{{{1|<noinclude>'''Example title'''<br>Lorem ipsum dolor sit amet.</noinclude>}}} | ||
|} | |}<noinclude>{{Documentation}}</noinclude> | ||
<noinclude> | |||
{{Documentation}} | |||
</noinclude> | |||
Revision as of 07:23, 17 October 2020
| Example title Lorem ipsum dolor sit amet. |
Template documentation (for the above template, sometimes hidden or invisible)
This template displays a message box.
TemplateData
Displays a message box.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Message | 1 | The message to be displayed.
| Content | required |
| Colour code | colour | The hex code of the colour to be used on the side bar.
| String | suggested |
| Icon | icon | The filename of an icon to use.
| File | optional |
| Icon width | width | The width of he icon, in pixels (px).
| Number | suggested |
| Alt text | alt | The alt text; a textual description for a visually impaired person to understand; for an icon.
| String | suggested |
| Icon description | icon_desc | A description for the icon. Uses alt text if not provided.
| String | optional |