"ମଡ୍ୟୁଲ:Message box" ପୃଷ୍ଠାର ସଂସ୍କରଣଗୁଡ଼ିକ ମଧ୍ୟରେ ତଫାତ
Content deleted Content added
indentation tweak |
require name parameter for ambox |
||
୩୫୦ କ ଧାଡ଼ି:
-- Add template-namespace categories.
self.isTemplatePage = type(self.name) == 'string' and self.title.prefixedText == ('Template:' .. self.name)▼
if cfg.templateCategory then
if
▲
if self.isTemplatePage then
self:addCat('template', cfg.templateCategory)
୩୬୭ କ ଧାଡ଼ି:
if not self.name and not self.title.isSubpage then
templateCat = templateErrorCategory
elseif self.isTemplatePage then
local paramsToCheck = cfg.templateErrorParamsToCheck or {}
local count = 0
|