Template:Notification schema: Difference between revisions

From Bonkipedia
[[mw:]]>Shirayuki
(use translation aware transclusion)
 
m (1 revision imported: Template documentation pages)
 
(No difference)

Latest revision as of 18:03, 12 November 2022



When is that message received:

Primary information: Information missing


Template documentation

That template is designed to have a common way to explain how Notifications are displayed and can be read.

Template parameters

This template prefers block formatting of parameters.

ParameterDescriptionTypeStatus
Imageimage

Illustration of that notification

Filesuggested
Type of notificationtype

Can be an alert, a notice or a message

Stringrequired
When receivedreceived

Indicates when that notification is received.

Stringrequired
Primary informationprimary

First and most important information reveived

Stringrequired
Secondary informationsecondary

Less important information received

Unknownoptional
Detailsdetails

Any details from that notification. How to trigger that notification is stored in a separate paragraph below that template.

Stringoptional

Examples

Notifications - new message - January 2016.png

<translate> Messages</translate> <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⧽ ⧼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> 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