8,281
edits
No edit summary |
No edit summary |
||
Line 108: | Line 108: | ||
-- External link | -- External link | ||
if link:find( '//' ) then | if link:find( '//' ) then | ||
spriteText = '[' .. link .. ' ' .. tostring( | spriteText = '[' .. link .. ' ' .. tostring( spriteText ) .. ']' | ||
else | else | ||
spriteText = '[[' .. link .. '|' .. tostring( link ) .. ']]' | if string.find(link, "(Vanilla)") then | ||
spriteText = '[[' .. link .. '|' .. tostring( spriteText ):gsub("(Vanilla)", "") .. ']]' | |||
else | |||
spriteText = '[[' .. link .. '|' .. tostring( spriteText ) .. ']]' | |||
end | |||
end | end | ||
end | end |