"ഘടകം:Message box" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം

Content deleted Content added
No edit summary
allow all templates to disable the plainlinks class
വരി 158:
-- Add attributes, classes and styles.
self.id = args.id
if yesno(args.plainlinks) ~= false then
self:addClass('plainlinks')
cfg.usePlainlinksParam and yesno(args.plainlinks or true) and 'plainlinks'
)end
for _, class in ipairs(cfg.classes or {}) do
self:addClass(class)
വരി 189:
'^[tT][eE][mM][pP][lL][aA][tT][eE][%s_]*:[%s_]*(.*)$'
) or self.name
templateName = 'ഫലകംTemplate:' .. templateName
self.templateTitle = getTitleObject(templateName)
end
വരി 448:
:addClass('error')
:wikitext(string.format(
'Template <code>%s[[ഫലകംTemplate:%s|%s]]%s</code> has been incorrectly substituted.',
mw.text.nowiki('{{'), self.name, self.name, mw.text.nowiki('}}')
))
"https://ml.wikipedia.org/wiki/ഘടകം:Message_box" എന്ന താളിൽനിന്ന് ശേഖരിച്ചത്