Template:Notice: Difference between revisions
Appearance
Computerwhz (talk | contribs) m Protected "Template:Notice": Templates ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
Computerwhz (talk | contribs) No edit summary |
||
| Line 3: | Line 3: | ||
<div class="cw-messagebox-icon"> | <div class="cw-messagebox-icon"> | ||
{{#if:{{{image|}}} | {{#if:{{{image|}}} | ||
| [[File:{{{image}}}|32px|link=|alt=]] | |||
| <span class="cw-messagebox-default-icon">ℹ️</span> | |||
}} | }} | ||
</div> | </div> | ||
| Line 46: | Line 46: | ||
"example": "Information-icon.png", | "example": "Information-icon.png", | ||
"type": "wiki-file-name", | "type": "wiki-file-name", | ||
"suggested": true | |||
} | } | ||
} | } | ||
Latest revision as of 16:55, 4 June 2026
Usage
{{Notice
| title = Notice
| body = This page is a draft and may be updated.
| image =
}}
Displays a notice message box with a title, body text, and optional image.
| Parameter | Description | Type | Status | |
|---|---|---|---|---|
| Title | title | The bold text shown before the colon.
| String | suggested |
| Body text | body | The main notice message.
| Content | required |
| Image | image | Optional image filename without the File: prefix. Leave blank to use the default information icon.
| File | suggested |