Module:Main/doc

Revision as of 06:47, 28 January 2023 by Nomad (talk | contribs) (Created page with " {{Documentation}} {{Wikipedia template}} '''Module:Main''' produces a link to a main article or articles. It implements the {{tl|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 t...")
(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.