"ഘടകം:Message box" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം
Content deleted Content added
Jacob.jose (സംവാദം | സംഭാവനകൾ) ഫലകം |
change span to div to reduce lint errors |
||
വരി 189:
'^[tT][eE][mM][pP][lL][aA][tT][eE][%s_]*:[%s_]*(.*)$'
) or self.name
templateName = '
self.templateTitle = getTitleObject(templateName)
end
വരി 448:
:addClass('error')
:wikitext(string.format(
'Template <code>%s[[
mw.text.nowiki('{{'), self.name, self.name, mw.text.nowiki('}}')
))
വരി 495:
-- collapsible. At the moment, only ambox uses this.
textCell:cssText(self.textstyle or nil)
local
textCellDiv
:addClass('mbox-text-span')
:wikitext(self.issue or nil)
if (self.talk or self.fix) and not self.isSmall then
:addClass('hide-when-compact')
:wikitext(self.talk and (' ' .. self.talk) or nil)
:wikitext(self.fix and (' ' .. self.fix) or nil)
end
if self.info and not self.isSmall then
textCellDiv
:tag('span')
:addClass('hide-when-compact')
വരി 513:
end
if self.removalNotice then
:addClass('hide-when-compact')
:tag('i')
|