Module:Error/doc

From Our World of Text Wiki
< Module:Error
Revision as of 13:43, 2 December 2024 by Dat Hack3r (talk | contribs) ({{Tlx}} is the best template link template.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is the documentation page for Module:Error

This module implements {{Error}}. It creates an html message with class "error". Please see the documentation page there for usage instructions.

local mw_error = require('Module:Error').error
return mw_error("Message")
return mw_error(("TypeError: %s"):format(error_message), tag)

See also