Template:Notice/doc

This is the notice message box.

When used in books, this message box should only be used for important comments about the page that cannot be shown using a more specific template. Less important comments should as usual be put as text on the page's talk page instead.

This message box can also be used on other pages, such as on the top of talk or project pages. There it can be used in a more relaxed way.

This box automatically changes style depending on what kind of page it is shown on. That is, it uses the standardised message box styles for the different types of pages.

Books
This is how this box looks on book (main space) pages. Here is a code example:

Which renders like this:

An optional header text can be added. Like this:

Which renders like this:

The message box can also take an image parameter, but that is discouraged when the box is used in books. See example further down for how to use that parameter.

Talk pages
This is how this box looks on any talk page. That is, pages that start with "Talk:", "User talk:", "File talk:" and so on. Here's the basic box again:

Which renders like this:

The header parameter works on talk pages too. But there is one parameter that only works on talk pages, the small parameter. Like this:

As you can see, "small=yes" causes a smaller right floating box with a smaller image and smaller text size.  Let's try the image parameter too. Like this:



File and category pages
This is how this box looks on file pages:

This is how this box looks on category pages:

Other pages
This is how this box looks on most other pages, such as pages that start with "User:", "Wikibooks:", "Help:" and so on.

Which renders like this:

The box can also take an image parameter. Like this:

Which renders like this:

The header and image parameters can of course be used at the same time.