Content deleted Content added
try adding class=noviewer to the file link |
suppress links when link=false in the data table |
||
Line 1:
-- This module implements [[Template:Icon]].
local data = mw.loadData('Module:Icon/data/sandbox')
local p = {}
Line 16:
end
return string.format(
'[[File:%s%s%s|%s|class=noviewer]]',
iconData.image,
iconData.tooltip and '|' .. iconData.tooltip or '',
iconData.link == false and '|link=' or '',
args.size or '16x16px'
)
|