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
mNo edit summary
Line 4: Line 4:
local pframe = frame:getParent()
local pframe = frame:getParent()
Author = pframe.args.author
Author = pframe.args.author
return Author
Title = pframe.args.title
Year = pframe.args.year
return Author .. ". " .. "(" .. Year .. ")" .. "''" .. Title .. "''"
end
end
return p
return p

Revision as of 17:57, 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