Jump to content

Module:Alert list/doc

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Warudo (talk | contribs) at 17:05, 25 July 2024 (Transcluded the TM:Documentation subpage template directly so it adds Category:Module documentation pages. See phab:T289404.). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

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)