Template:Notice/doc: Difference between revisions
Content added Content deleted
(Intermediate save.) |
(Intermediate save.) |
||
Line 6:
This is the {{tl|notice}} message box.
When used in articles this message box should only be used for ''important'' comments about the article that cannot be shown using a more specific template. Less important comments should as usual be put as text on the
This message box can also be used on other pages, such as on the top of talk pages 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.
=== Articles ===
This is how this box looks on article (main space) pages. Here is a code example:
Line 36:
The message box can also take an '''image''' parameter,
=== Talk pages ===
<pre>
Line 58:
{{notice|demospace=talk|small=yes|header=Header text|Include text here.}}
As you can see,
The '''image''' parameter works on talk pages too. See example below for how to use that parameter.
<br clear=all>
=== Other pages ===
<pre>
</pre>
Which renders like this:
{{tlx|Notice|small=yes|Include text here.}}▼
▲{{Notice|small=yes|Include text here.}}
The box can also take an '''image''' parameter. Like this:
{{tlx|Notice|image=Stop hand nuvola.svg|Include text here.}}▼
<pre>
{{Notice|image=Stop hand nuvola.svg|Include text here.}}
</pre>
The '''header''' and '''image''' parameters can of course be used at the same time.
=== See also ===▼
▲==See also==
There are other message templates, which serve similar purposes:
*'''{{tlx|Ambox}}''' - Article message boxes of any type. There is comprehensive information in the template documentation about the different options of message template.▼
*{{tlx|Consensus}} - For topics based around reaching consensus.
*{{tlx|Warning}} - For important warnings.
*{{tlx|Caution}} - For messages indicating serious problems.
▲*'''{{tlx|Ambox}}''' - Article message boxes of any type. There is comprehensive information in the template documentation about the different options of message template.
|