From War Thunder Wiki
< Template:Notice(Difference between pages)
|
|
Line 1: |
Line 1: |
− | == 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 ==
| |
− | <pre>{{Notice
| |
− | |Text
| |
− | |Message type
| |
− | |Category
| |
− | }}</pre>
| |
| | | |
− | == 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 ==
| |
− | {{Notice
| |
− | |This template was created using a special kind of magic.
| |
− | }}
| |
− |
| |
− | <nowiki>{{Notice
| |
− | |This template was created using a special kind of magic.
| |
− | }}</nowiki>
| |
− |
| |
− | {{Notice
| |
− | |Stop! Please leave this article alone. We’ve just fixed it after a long war against the trolls!
| |
− | |!
| |
− | }}
| |
− |
| |
− | <nowiki>{{Notice
| |
− | |Stop! Please leave this article alone. We’ve just fixed it after a long war against the trolls!
| |
− | |!
| |
− | }}</nowiki>
| |
− |
| |
− | {{Notice
| |
− | |Watch out! The article is under attack by ze Germans!
| |
− | |!!
| |
− | }}
| |
− |
| |
− | <nowiki>{{Notice
| |
− | |Watch out! The article is under attack by ze Germans!
| |
− | |!!
| |
− | }}</nowiki>
| |
− |
| |
− | {{Notice
| |
− | |Everything’s okay, just keep scrolling
| |
− | |+
| |
− | }}
| |
− |
| |
− | <nowiki>{{Notice
| |
− | |Everything’s okay, just keep scrolling
| |
− | |+
| |
− | }}</nowiki>
| |
Revision as of 13:19, 12 December 2018