Module:Cat main: Difference between revisions

no edit summary
(Created page with "-- This module implements {{cat main}}. local mHatnote = require('Module:Hatnote') local yesno = require('Module:Yesno') local mTableTools -- lazily initialise local mArgumen...")
 
No edit summary
 
Line 44: Line 44:
local stringToFormat
local stringToFormat
if #links > 1 then
if #links > 1 then
stringToFormat = 'The main %ss for this [[Help:Categories|category]] are %s.'
stringToFormat = 'The main %ss for this [[w:Help:Categories|category]] are %s.'
else
else
stringToFormat = 'The main %s for this [[Help:Categories|category]] is %s.'
stringToFormat = 'The main %s for this [[w:Help:Categories|category]] is %s.'
end
end