Jump to content

Module:Alert list/doc

From Wikipedia, the free encyclopedia

This module provides functionality to Template:Alert list.

Usage

[edit]

To use this module, add the following code to your wiki page:

{{#invoke:Alert_list|main}}

Inputs

[edit]

See Template:Alert list#Usage.

Outputs

[edit]

This module outputs a single string containing the HTML markup for the generated alert list. Each alert will include:

  • The icon (either the custom icon or the one associated with the specified type)
  • The label (either the custom label or the one associated with the specified type)
  • The optional message, action, and timestamp (if provided)