"ഘടകം:Message box" എന്ന താളിന്റെ പതിപ്പുകൾ തമ്മിലുള്ള വ്യത്യാസം
Content deleted Content added
Jacob.jose (സംവാദം | സംഭാവനകൾ) 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
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 = '
self.templateTitle = getTitleObject(templateName)
end
വരി 448:
:addClass('error')
:wikitext(string.format(
'Template <code>%s[[
mw.text.nowiki('{{'), self.name, self.name, mw.text.nowiki('}}')
))
|