Modul:Navbox: Unterschied zwischen den Versionen

add comment
(clarify)
(add comment)
Zeile 317: Zeile 317:
         res.node(tbl)
         res.node(tbl)
     elseif border == 'subgroup' or border == 'child' then
     elseif border == 'subgroup' or border == 'child' then
        -- We assume that this navbox is being rendered in a list cell of a parent navbox, and is
        -- therefore inside a div with padding:0em 0.25em. We start with a </div> to avoid the
        -- padding being applied, and at the end add a <div> to balance out the parent's </div>
         res
         res
             .tag('/div', {unclosed = true})
             .tag('/div', {unclosed = true})
Anonymer Benutzer