模板:Caution
{{#if: |[[File:{{{image}}}|40px|Caution|link=]] |Caution}} | {{#if: | ' }}{{{1}}} | {{#if: |{{{imageright}}} |{{#if: | | }} }}
{{#ifeq:caution |doc
|
{{#ifeq:show |show
|40px | This is a documentation subpage for 模板:Caution. It contains usage information, categories and other content that is not part of the original {{#if: |{{{text2}}} |{{#if: |{{{text1}}} |{{#ifeq:模板 |用户 |模板 template page |{{#if:模板 |模板 page|article}}}}}}}}. |
}}{{#if: | | {{#ifexist:模板:Caution | [[Category:{{#switch:模板 |Template=Template |Module=Module |User=User |#default=Wikipedia}} documentation pages]] | }} }} | }}
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|Include text here.}}
This is how this box looks on article (main space) pages:
{{#if: |[[File:{{{image}}}|40px|Caution|link=]] |Caution}} | {{#if: | ' }}Include text here. | {{#if: |{{{imageright}}} |{{#if: |
}} }} |
This is how this box looks on any talk page. That is, pages that start with "Talk:", "User talk:", "Image talk:" and so on:
{{#if: |[[File:{{{image}}}|40px|Caution|link=]] |Caution}} | {{#if: | ' }}Include text here. | {{#if: |{{{imageright}}} |{{#if: | | }} }}
This is how this box looks on all other pages, such as pages that start with "User:", "Image:", "Wikipedia:" and so on:
{{#if: |[[File:{{{image}}}|40px|Caution|link=]] |Caution}} | {{#if: | ' }}Include text here. | {{#if: |{{{imageright}}} |{{#if: | | }} }}
The box can also take an image parameter. Like this:
{{caution|image=Stop hand nuvola.svg|Include text here.}}
Which on this page renders like this:
{{#if:Stop hand nuvola.svg |Caution |Caution}} | {{#if: | ' }}Include text here. | {{#if: |{{{imageright}}} |{{#if: | | }} }}
Note that changing the image is discouraged when the box is used in articles.
{{#if:{{#ifeq:Caution|sandbox|1}}{{#ifeq:Caution|doc|1}}| | }}