MyWikiBiz, Author Your Legacy — Saturday October 11, 2025
Jump to navigationJump to search
1,123 bytes added
, 04:45, 16 July 2021
This module implements the {{tl|mass notification}} template. It is used to send notifications to a WikiProject or other group of users.
== Usage from wikitext ==
Usually you should use {{tl|mass notification}} rather than calling this module directly from #invoke. However, if you want you can use the syntax <code><nowiki>{{#invoke:Mass notification|main|</nowiki>''group name''<nowiki>}}</nowiki></code>. See [[Template:Mass notification|the template documentation]] for details about group names.
== Usage from Lua modules ==
To use this module from other Lua modules, first load the module.
<syntaxhighlight lang="lua">
local mMassNotification = require('Module:Mass notification')
</syntaxhighlight>
You can then generate the notification links by using the _main function.
<syntaxhighlight lang="lua">
mMassNotification._main(groupName)
</syntaxhighlight>
<var>groupName</var> is the group name, as a string, as explained in [[Template:Mass notification|the template documentation]].
<includeonly>{{#ifeq:{{SUBPAGENAME}}|sandbox||
<!-- Categories go here and interwikis go in Wikidata. -->
}}</includeonly>