Template:Notification schema/en

From Linux Web Expert



When is that message received:

Primary information: Information missing


Template documentation

<templatedata> { "params": { "image": { "label": "Image", "description": "Illustration of that notification", "type": "wiki-file-name", "suggested": true }, "type": { "label": "Type of notification", "description": "Can be an alert, a notice or a message", "type": "string", "required": true }, "received": { "label": "When received", "description": "Indicates when that notification is received.", "type": "string", "required": true }, "primary": { "label": "Primary information", "description": "First and most important information reveived", "type": "string", "required": true }, "secondary": { "label": "Secondary information", "description": "Less important information received" }, "details": { "label": "Details", "description": "Any details from that notification. How to trigger that notification is stored in a separate paragraph below that template.", "type": "string" } }, "format": "block", "description": "That template is designed to have a common way to explain how Notifications are displayed and can be read." } </templatedata>

Examples

File:Echo widget msg blue1.svg <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



File:Echo badge alert red.svg ⧼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



File:Echo widget msg blue1.svg <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