This module produces the list of links used on nomination pages. It implements .
Usually, this module should be used via the template. However, it can also be used with the syntax <nowiki>{{#invoke:DYK nompage links|main|</nowiki>''arguments''<nowiki>}}</nowiki>
. See for a list of arguments.
To use this module from other Lua modules, first load the module:
You can then use the _main function like this:
nominationPage is the nomination page name, as a string. historyPages is an array of page names to display (also strings). Both parameters are required, and historyPages must have a length of at least one.