Jump to content

Module:Sidebar: Difference between revisions

time to break wikis
add this as one more level
Line 256: Line 256:
end
end
local templatestyles = mw.getCurrentFrame():extensionTag{
local sidebar_templatestyles = mw.getCurrentFrame():extensionTag{
name = 'templatestyles', args = { src = cfg.i18n.templatestyles }
name = 'templatestyles', args = { src = cfg.i18n.templatestyles }
}
}
local templatestyles = ''
if args['templatestyles'] and args['templatestyles'] ~= '' then
child_templatestyles = mw.getCurrentFrame():extensionTag{
name = 'templatestyles', args = { src = args['templatestyles'] }
}
end
local child_templatestyles = ''
local child_templatestyles = ''
Line 275: Line 282:


return table.concat({
return table.concat({
sidebar_templatestyles,
templatestyles,
templatestyles,
child_templatestyles,
child_templatestyles,