m (Test) |
m (Plz work) |
||
Line 2: | Line 2: | ||
function p.exists(frame) |
function p.exists(frame) |
||
− | local |
+ | local arg = frame.args[1] |
+ | local template, _ = arg:gsub('/.*$', '') |
||
− | return '* [[' .. |
+ | return '* [[' .. arg .. ']] - [[' .. template .. ']]\n' |
end |
end |
||