模板:Caution/doc

< 模板:Caution
Ph9讨论 | 贡献2020年12月27日 (日) 14:57的版本 (导入1个版本)
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)

{{#ifeq:doc |doc

    | 

{{#ifeq:show |show

|

        }}{{#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:


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|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.