Template:Notice/doc: Difference between revisions

Content added Content deleted
(Removing the "demospace=talk" from the talk page code example. The demospace parameter doesn't need to be shown, it is mostly for this /doc page really.)
(Updated the doc since this box now has the imbox and cmbox styles too.)
Line 8: Line 8:
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 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 looks different depending on what kind of page it is shown on.
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.


=== Articles ===
=== Articles ===
Line 67: Line 67:
{{notice|demospace=talk|small=yes|image=Stop hand nuvola.svg|header=Header text|Include text here.}}
{{notice|demospace=talk|small=yes|image=Stop hand nuvola.svg|header=Header text|Include text here.}}
<br clear=all>
<br clear=all>

=== Image and category pages ===

This is how this box looks on image pages:

{{notice|demospace=image|Include text here.}}

This is how this box looks on category pages:

{{notice|demospace=category|Include text here.}}


=== Other pages ===
=== Other pages ===


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


<pre>
<pre>