Modul:Sidebar: Unterschied zwischen den Versionen
add this as one more level
(time to break wikis) |
(add this as one more level) |
||
Zeile 256: | Zeile 256: | ||
end | end | ||
local | 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 = '' | ||
Zeile 275: | Zeile 282: | ||
return table.concat({ | return table.concat({ | ||
sidebar_templatestyles, | |||
templatestyles, | templatestyles, | ||
child_templatestyles, | child_templatestyles, |