Jump to content

Template:Caution banner/doc: Difference between revisions

From pool
[checked revision][checked revision]
Content deleted Content added
 
(2 intermediate revisions by the same user not shown)
Line 13: Line 13:


<pre>
<pre>
{{caution|Include text here.}}
{{Caution-banner|Include text here.}}
</pre>
</pre>


This is how this box looks on article (main space) pages:
This is how this box looks on article (main space) pages:


{{Wikipedia-caution|demospace=main|Include text here.}}
{{Caution-banner|demospace=main|Include text here.}}




This is how this box looks on any talk page. That is, pages that start with "Talk:", "User talk:", "Image talk:" and so on:
This is how this box looks on any talk page. That is, pages that start with "Talk:", "User talk:", "Image talk:" and so on:


{{Wikipedia-caution|demospace=talk|Include text here.}}
{{Caution-banner|demospace=talk|Include text here.}}


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 all other pages, such as pages that start with "User:", "Image:", "Wikipedia:" and so on:


{{Wikipedia-caution|Include text here.}}
{{Caution-banner|Include text here.}}


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


<pre>
<pre>
{{Wikipedia-caution|image=Stop hand nuvola.svg|Include text here.}}
{{Caution-banner|image=Stop hand nuvola.svg|Include text here.}}
</pre>
</pre>


Which on this page renders like this:
Which on this page renders like this:


{{Wikipedia-caution|image=Stop hand nuvola.svg|Include text here.}}
{{Caution-banner|image=Stop hand nuvola.svg|Include text here.}}


Note that changing the image is discouraged when the box is used in articles.
Note that changing the image is discouraged when the box is used in articles.

Latest revision as of 10:56, 10 November 2020


This is the {{caution}} message box.

When used in articles this message box should only be used for when something is seriously wrong and there isn't a more specific template to use. Less important comments should as usual be put as text on the article's talk page instead.

This message box can also be used on other pages, such as on the top of talk pages or project pages.

This box automatically looks different depending on what kind of page it is shown on.

Example

{{Caution-banner|Include text here.}}

This is how this box looks on article (main space) pages:


This is how this box looks on any talk page. That is, pages that start with "Talk:", "User talk:", "Image talk:" and so on:

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

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

{{Caution-banner|image=Stop hand nuvola.svg|Include text here.}}

Which on this page renders like this:

Note that changing the image is discouraged when the box is used in articles.