Template:Notification schema/en: Difference between revisions
[[mw:]]>FuzzyBot (Updating to match new version of source page) |
ManfredoDo (talk | contribs) m (1 revision imported: Template documentation pages) |
(No difference)
|
Latest revision as of 18:05, 12 November 2022
When is that message received:
- Primary information: Information missing
That template is designed to have a common way to explain how Notifications are displayed and can be read.
Parameter | Description | Type | Status | |
---|---|---|---|---|
Image | image | Illustration of that notification | File | suggested |
Type of notification | type | Can be an alert, a notice or a message | String | required |
When received | received | Indicates when that notification is received. | String | required |
Primary information | primary | First and most important information reveived | String | required |
Secondary information | secondary | Less important information received | Unknown | optional |
Details | details | Any details from that notification. How to trigger that notification is stored in a separate paragraph below that template. | String | optional |
Examples
<translate> Messages</translate>
<translate> When is that message received:</translate> when ...
- <translate> Primary information:</translate> Message title
- <translate> Secondary information:</translate>
- Secondary1
- Secondary2
- <translate> Details:</translate> Details
⧼echo-notification-alert-text-only⧽
<translate> When is that message received:</translate> when ...
- <translate> Primary information:</translate> Alert title
- <translate> Secondary information:</translate> Secondary
- <translate> Details:</translate> Details
<translate> Messages</translate>
<translate> When is that message received:</translate> when ...
- <translate> Primary information:</translate> Notice title
- <translate> Secondary information:</translate> Secondary
- <translate> Details:</translate> Details