Template:Notice/doc
This is a documentation subpage for Template:Notice. It contains usage information, categories, and other content that is not part of the original template page. |
Usage
edit{{notice|1=Example text}}
creates:
Example text |
Templatedata
editA simple box with an "i" icon, to be used for adding an informational notice. Based on [[Template:mbox]].
Parameter | Description | Type | Status | |
---|---|---|---|---|
Notice content | 1 reason content text | The content that will be displayed within the notice box. | String | required |
heading | heading header title | The heading that will be displayed within the notice box. | String | optional |
center | center | Whether to center the content.
| String | optional |
align | align | Direction of the content to be displayed. On pages that are to be translated, this should not be specified because some languages are written from right to left.
| String | optional |
small | small | Make the box small and to the right.
| String | optional |
imageright | imageright | The content displayed on the opposite side of the image. This overrides the shortcut parameters. | String | optional |
shortcut1 | shortcut1 shortcut | Shortcut to this page
| Page name | optional |
shortcut2 | shortcut2 | no description | Page name | optional |
shortcut3 | shortcut3 | no description | Page name | optional |
shortcut4 | shortcut4 | no description | Page name | optional |
shortcut5 | shortcut5 | no description | Page name | optional |
image | image | Image name to be used in notice box | File | optional |
imagealt | imagealt | no description | String | optional |
style | style | CSS value to be applied to the whole notice box
| String | optional |
headstyle | headstyle | CSS value to be applied to the heading | String | optional |
textstyle | textstyle | CSS value to be applied to the content | String | optional |
demospace | demospace | no description | String | optional |