Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Module:Library citation: Difference between revisions

From ProleWiki, the proletarian encyclopedia
(Testing error messages)
 
m (Needs to return a table)
Line 9: Line 9:
error("error message")
error("error message")
end
end
return p

Revision as of 23:36, 6 October 2024

local p = {}

function p.cite(frame)
	-- Parent frame to get parameters from template calls instead of from {{#invoke: ...
	local parentFrame = frame:getParent()
	local link = pframe.args.link
	local author = pframe.args.author
	local work = pframe.args.work
	error("error message")
end
return p