Module:Main/doc

From Daralet
< Module:Main
Revision as of 02:14, 6 May 2024 by Delasteve (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is the documentation page for Module:Main

Function list
L 15 — p.main
L 40 — p._main

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.