本站单位与协议等翻译由局桑负责,相关数据基于1.12版本
欢迎加入红色警戒3Bwiki群:851351730 一起抓虫交流
如发现相关内容有问题请通过上述QQ群询问或通过别的方式寻找一下站长
模板:Notice/Documentation
Description
The Notice template is used to add different kinds of caution notices to articles. This template is similar in use to the Badge template, except the former has a simpler design and is easier to implement.
Use
{{Notice |Text |Message type |Category }}
Parameters
- Text — is used for the message text.
- Message type (optional parameter) — sets the required message type (use “+” for a green block, use “!” for a yellow warning block, use “!!” for a red warning block, use “i” for a blue information block). The information block is set as default.
- Category (optional parameter) — sets the category without the “Category:” prefix (not set by default). It is advisable not to include the category within the template itself.
Examples of use
文件:Msg-info.png | This template was created using a special kind of magic. |
{{Notice |This template was created using a special kind of magic. }}
Stop! Please leave this article alone. We’ve just fixed it after a long war against the trolls! |
{{Notice |Stop! Please leave this article alone. We’ve just fixed it after a long war against the trolls! |! }}
文件:Msg-warning.png | Watch out! The article is under attack by ze Germans! |
{{Notice |Watch out! The article is under attack by ze Germans! |!! }}
文件:Msg-ok.png | Everything’s okay, just keep scrolling |
{{Notice |Everything’s okay, just keep scrolling |+ }}