Module:Main/doc

From RTGame Wiki

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.