Zum Inhalt springen

Modul:Sidebar: Unterschied zwischen den Versionen

Per request on module talk page, please please revert if this causes any problems!
(update from sandbox per discussion on talk page)
(Per request on module talk page, please please revert if this causes any problems!)
Zeile 40: Zeile 40:
if not child then
if not child then
root  
root  
:addClass('infobox')
:addClass('vertical-navbox')
:addClass('vertical-navbox')
:addClass(args.wraplinks ~= 'true' and 'nowraplinks' or nil)
:addClass(args.wraplinks ~= 'true' and 'nowraplinks' or nil)
Zeile 47: Zeile 48:
:css('width', args.width or '22.0em')
:css('width', args.width or '22.0em')
:css('margin', args.float == 'left' and '0 1.0em 1.0em 0' or '0 0 1.0em 1.0em')
:css('margin', args.float == 'left' and '0 1.0em 1.0em 0' or '0 0 1.0em 1.0em')
:css('background', '#f9f9f9')
:css('border', '1px solid #aaa')
:css('border', '1px solid #aaa')
:css('padding', '0.2em')
:css('padding', '0.2em')
Zeile 53: Zeile 53:
:css('text-align', 'center')
:css('text-align', 'center')
:css('line-height', '1.4em')
:css('line-height', '1.4em')
:css('font-size', '88%')
:cssText(args.bodystyle or args.style)
:cssText(args.bodystyle or args.style)


Anonymer Benutzer