Module:Sourcrowd: Difference between revisions
Content added Content deleted
(modify) |
(modify) |
||
Line 10: | Line 10: | ||
function p.main( frame ) |
function p.main( frame ) |
||
if frame.args[ |
if type(p[frame.args[1]]) == 'function' then |
||
return p[frame.args[1]](frame.args[2], frame.args[3]) |
|||
return "HTML" |
|||
else |
else |
||
return |
return p[frame.args[1]][frame.args[2]] |
||
end |
end |
||
end |
end |