Jump to content

Module:Alert list/doc

From Wikipedia, the free encyclopedia
This is an old revision of this page, as edited by Harej (talk | contribs) at 22:59, 10 May 2023. The present address (URL) is a permanent link to this revision, which may differ significantly from the current revision.

This module provides functionality to Template:Alert list.

Usage

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

{{#invoke:Alert_list|main}}

Inputs

See Template:Alert list#Usage.

Outputs

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)