יחידה:גרפים: הבדלים בין גרסאות בדף

עדכון לפונקציה createGroupList בלבד
מ 41 גרסאות של הדף wikipedia:he:יחידה:גרפים יובאו
 
(3 גרסאות ביניים של משתמש אחר אחד אינן מוצגות)
שורה 65: שורה 65:


local function createGroupList( tab, legends, cols )
local function createGroupList( tab, legends, cols )
     if #legends > 1 and not hideGroupLegends then
     if #legends > 1 then
         table.insert( tab, mw.text.tag( 'div' ) )
         table.insert( tab, mw.text.tag( 'div' ) )
         local list = {}
         local list = {}
שורה 75: שורה 75:
         table.insert( tab,
         table.insert( tab,
             mw.text.tag( 'ul',
             mw.text.tag( 'ul',
            -- chrome bug with column display with rtl. {style="text-align:right;width:100%;list-style:none;-webkit-column-width:12em;-moz-column-width:12em;column-width:12em"},
-- chrome bug with column display with rtl.                 {style="text-align:right;width:100%;list-style:none;-webkit-column-width:12em;-moz-column-width:12em;column-width:12em"},
                 {style="width:100%;list-style:none;-webkit-column-width:12em;-moz-column-width:12em;column-width:12em;"},
                 {style="text-align:right;width:100%;list-style:none;-moz-column-width:12em;column-width:12em"},
                 table.concat( list, '\n' )
                 table.concat( list, '\n' )
             )
             )