Jump to content

Module:Alert list/doc: Difference between revisions

From Wikipedia, the free encyclopedia
Content deleted Content added
documentation
 
No edit summary
Line 5: Line 5:


<code><nowiki>{{#invoke:Alert_list|main}}</nowiki></code>
<code><nowiki>{{#invoke:Alert_list|main}}</nowiki></code>

And provide the necessary arguments as explained below.


=== Inputs ===
=== Inputs ===

Revision as of 22:59, 10 May 2023

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)