יחידה:גרפים: הבדלים בין גרסאות בדף
עברית אנגלית |
|||
| שורה 371: | שורה 371: | ||
left, top, barHeight, barWidth, barWidth, color) | left, top, barHeight, barWidth, barWidth, color) | ||
local link = links[gi] and links[gi][i] or '' | local link = links[gi] and links[gi][i] or '' | ||
local img = not nulOrWhitespace( link ) and mw.ustring.format( '[[File:Transparent.png|1000px| | local img = not nulOrWhitespace( link ) and mw.ustring.format( '[[File:Transparent.png|1000px|link=%s|%s]]', link, custom and tooltip or '' ) or '' | ||
table.insert( res, mw.text.tag( 'div', { style = style, title = tooltip, }, img ) ) | table.insert( res, mw.text.tag( 'div', { style = style, title = tooltip, }, img ) ) | ||
end | end | ||