Module:Main: Difference between revisions

m
1 revision imported
m (1 revision imported)
m (1 revision imported)
 
(3 intermediate revisions by 3 users not shown)
Line 4:
--
-- If the module is used in category or category talk space, it produces "The
-- main article for this category is xxx"." Otherwise, it produces
-- "Main article: xxx".
--]]
Line 54:
if (curNs == 14) or (curNs == 15) then --category/talk namespaces
mainForm = isPlural and
'The main %ss for this [[WikipediaHelp:CategorizationCategories|category]] are %s.'
or
'The main %s for this [[WikipediaHelp:CategorizationCategories|category]] is %s.'
else
mainForm = isPlural and 'Main %ss: %s' or 'Main %s: %s'