More languages
More actions
mNo edit summary |
mNo edit summary |
||
| Line 6: | Line 6: | ||
Title = pframe.args.title | Title = pframe.args.title | ||
Year = pframe.args.year | Year = pframe.args.year | ||
return Author | 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