Module:Message box/doc: Difference between revisions

Content deleted Content added
add deps
No edit summary
 
(29 intermediate revisions by 23 users not shown)
Line 1:
{{High-use|6,323,224+|all-pages = yes}}
{{Used in system}}
{{module rating|p}}
{{cascade-protected template|page=module}}
{{Lua|Module:Message box/configuration|Module:No globals|Module:Yesno|Module:Arguments|Module:Category handler}}
{{Uses TemplateStyles|Module:Message box/ambox.css|Module:Message box/cmbox.css|Module:Message box/fmbox.css|Module:Message box/imbox.css|Module:Message box/ombox.css|Module:Message box/tmbox.css}}
 
This is a meta-module that implements the message box templates {{tl|mbox}}, {{tl|ambox}}, {{tl|cmbox}}, {{tl|fmbox}}, {{tl|imbox}}, {{tl|ombox}}, and {{tl|tmbox}}. It is intended to be used from Lua modules, and should not be used directly from wiki pages. If you want to use this module's functionality from a wiki page, please use the individual message box templates instead.
Line 76 ⟶ 77:
* <code>templateErrorCategory</code> – the name of the error category to be used on the template page.
* <code>templateErrorParamsToCheck</code> – an array of parameter names to check. If any are absent, the <code>templateErrorCategory</code> is applied to the template page.
 
<includeonly>{{Sandbox other||
[[Category:Wikipedia modules]]
}}</includeonly>