Module:Uses TemplateStyles: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 16: Line 16:
type = 'notice',
type = 'notice',
small = true,
small = true,
image = string.format('[[File:Farm-Fresh css add.svg|32px|alt=%s]]', 'CSS')
image = '[[File:Farm-Fresh css add.svg|32px|alt=CSS]]'
}
}
if #tStyles < 1 then
if #tStyles < 1 then
boxArgs.text = string.format('<strong class="error">%s</strong>', 'Error: no TemplateStyles specified')
boxArgs.text = '<strong class="error">Error: no TemplateStyles specified</strong>'
else
else
local cfg = getConfig()
local cfg = getConfig()