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

Module:Citation: Difference between revisions

From ProleWiki, the proletarian encyclopedia
mNo edit summary
No edit summary
Line 6: Line 6:
Title = pframe.args.title
Title = pframe.args.title
Year = pframe.args.year
Year = pframe.args.year
return Author .. "(" .. Year .. ")" .. ". " .. "''" .. Title .. "''"
return Author .. " (" .. Year .. ")" .. ". " .. "''" .. Title .. "''"
end
end
return p
return p

Revision as of 17:58, 26 October 2021

local p = {}

function p.cite( frame )
	local pframe = frame:getParent()
	Author = pframe.args.author
	Title = pframe.args.title
	Year = pframe.args.year
	return Author .. " (" .. Year .. ")" .. ". " .. "''" .. Title .. "''"
end
return p