Module:Icon/sandbox: Difference between revisions

Content deleted Content added
use require("strict") instead of require("Module:No globals")
sync
 
(3 intermediate revisions by 2 users not shown)
Line 54:
-- if display is link, just use standard wlink
if link == display then
return '<span class="nowrap">'..icon..'&nbsp; </span>[['..link..']]'
end
return '<span class="nowrap">'..icon..'&nbsp; </span>[['..link..'|'..display..']]'
end
 
Line 68:
return p._link(args)
end
 
p[''] = function (frame) return p._main(frame.args) end
 
return p