Module:SpriteFile: Difference between revisions
mNo edit summary |
m fix linkprefix |
||
| Line 24: | Line 24: | ||
if mw.ustring.lower( link ) == 'none' then | if mw.ustring.lower( link ) == 'none' then | ||
link = '' | link = '' | ||
elseif link ~= '' then | |||
local linkPrefix = ( not link:find( '//' ) and args.linkprefix ) or '' | local linkPrefix = ( not link:find( '//' ) and args.linkprefix ) or '' | ||
link = linkPrefix .. link | link = linkPrefix .. link | ||