Module:Main/doc

From RTGame Wiki
< Module:Main
Revision as of 19:53, 17 March 2020 by RTGame>Alistair3149 (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Main

Module:Main's function main is invoked by Template:Main.
Module:Main requires Module:Arguments.
Module:Main requires Module:Hatnote.
Module:Main requires Module:Hatnote list.

Module:Main produces a link to a main article or articles. It implements the {{main}} template. Normally, it produces a link like "Main article: A". If used in the category namespace, it produces a link like "The main article for this category is A". It is possible to specify multiple articles, and in this case plural wording is used automatically. If the first link is not an article, the module uses the wording "Main page" instead of "Main article". See Module:Main on Wikipedia for more details.