Module:Inventory slot: Difference between revisions
No edit summary |
No edit summary |
||
Line 137: | Line 137: | ||
local link = args.link or '' | local link = args.link or '' | ||
if link == '' then | if link == '' then | ||
link = i18n.modLink:gsub( '%$1', | link = i18n.modLink:gsub( '%$1', mod ):gsub( '%$2', name ) | ||
elseif link:lower() == 'none' then | elseif link:lower() == 'none' then | ||
link = nil | link = nil |