More languages
More actions
m (Needs to return a table) |
m (oops, forgot to refactor code) |
||
Line 4: | Line 4: | ||
-- Parent frame to get parameters from template calls instead of from {{#invoke: ... | -- Parent frame to get parameters from template calls instead of from {{#invoke: ... | ||
local parentFrame = frame:getParent() | local parentFrame = frame:getParent() | ||
local link = | local link = parentFrame.args.link | ||
local author = | local author = parentFrame.args.author | ||
error("error message") | error("error message") | ||
end | end | ||
return p | return p |