Module:Main/doc: Difference between revisions

From RTGame Wiki
RTGame>Alistair3149
m (1 revision imported)
 
m (1 revision imported)
 

Latest revision as of 16:52, 2 May 2021

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.