8,281
edits
No edit summary |
No edit summary |
||
Line 39: | Line 39: | ||
-- end | -- end | ||
-- Edited to turn regular links into | -- Edited to turn regular links into links with ' (Vanilla)' at the end and to turn parallel: prefixes into regular links | ||
local link = ( args.link or '' ) | local link = ( args.link or '' ) | ||
if mw.ustring.lower( link ) == 'none' then | if mw.ustring.lower( link ) == 'none' then | ||
Line 110: | Line 110: | ||
spriteText = '[' .. link .. ' ' .. tostring( spriteText ) .. ']' | spriteText = '[' .. link .. ' ' .. tostring( spriteText ) .. ']' | ||
else | else | ||
spriteText = '[[' .. link .. '|' .. tostring( spriteText ) .. ']]' | |||
end | end | ||
end | end |