More languages
More actions
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