FANDOM


--
-- Implements {{pic link}}
--
 
local p = {}
 
function p._link( args )
 
    local arg1 = args[1]
    local arg2 = args[2] or args[1]
    local alt = args['alt'] and '|' .. args['alt'] or ''
 
    return '[[File:' .. arg2 .. '.png|link=' .. arg1 .. ']] [[' .. arg1 .. alt .. ']]'
 
end
 
function p.link( frame )
 
    local args = frame:getParent().args
 
    if args[1] then
        return p._link( args )
    end
 
end
 
return p

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.