Template:Notice: Difference between revisions
Template page
More actions
m Protected Template:Notice: Widely used template ([Edit=Allow only administrators] (indefinite) [Move=Allow only administrators] (indefinite)) |
Fulfilling edit request by Tacsipacsi. Thanks for helping! |
||
| Line 7: | Line 7: | ||
|{{{1}}} | |{{{1}}} | ||
|}<noinclude> | |}<noinclude> | ||
{{documentation}} | |||
</noinclude> | </noinclude> | ||
Revision as of 03:15, 26 March 2021
This documentation is transcluded from Template:Notice/doc.
This template should be used for important comments about a page that cannot be shown using a more specific template.
Usage
{{Notice |1= }}
Template parameters
| Parameter | Description | Default | Status | |
|---|---|---|---|---|
1 | content | Content of the message box | empty | required |
small | small version | Set to “yes” to show a smaller version; only works in talk namespaces | no | optional |
header | header | Additional notice header; it’s prefixed with “Notice:” | empty | optional |
heading | full header | Additional notice header, shown without the “Notice:” prefix | empty | optional |
image | icon image | Name of the icon image, without namespace | Info non-talk.svg | optional |
lang | language | Language of the notice text, used to set correct directionality | empty | optional |
style | extra CSS | Additional CSS styles for the outer box | empty | optional |
Additional information
The template is intended to be used in the following namespaces: no namespace specified
The template is intended to be used by the following user groups: no user group specified
Examples
{{Notice|Text with other parameters.|header=Example header|image=Example.svg|style=background-color:lightgreen; font-style:italic;}}
renders as:
{{Notice|Simply text.}}
renders as:
See also
Localization
This template is not intended to be localized.