Template:Caution banner/doc: Difference between revisions
| [checked revision] | [checked revision] |
Caleb Cooper (talk | contribs) m Caleb Cooper moved page Template:Wikipedia-caution/doc to Template:Banner-caution/doc |
Caleb Cooper (talk | contribs) No edit summary |
||
| Line 13: | Line 13: | ||
<pre> |
<pre> |
||
{{ |
{{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: |
||
{{ |
{{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: |
||
{{ |
{{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: |
||
{{ |
{{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> |
||
{{ |
{{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: |
||
{{ |
{{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. |
||
Revision as of 15:27, 20 October 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:
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:
| 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:
| Include text here. |
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:
| Include text here. |
Note that changing the image is discouraged when the box is used in articles.