Module:Hatnote: Difference between revisions

update main function description
(update main function description)
Line 202:
-- Produces a link to a main article or articles. If used in category or
-- category talk space, produces "The main article for this category is xxx".
-- Otherwise, produces "Main article: xxx". Accepts ana unlimited numbertable of arguments.
-- positionalNumerical parameters,keys eachfor ofthis whichtable isare athe page namenames. If the first positionalpage name is
-- parameter is not in mainspace, uses "page" instead of "article". If more than one page is
-- than one page is specified, the function uses plural forms. Display names can be specified for
-- each page name by using the arguments l1, l2, etc.
--------------------------------------------------------------------------------