Changes

Jump to navigation Jump to search

Module:Citation

654 bytes added, 19:57, 25 August 2012
Added processing of more parameters.
local URL = args.archiveurl or args.url
local ChapterURL = args.chapterurl
local Journal = args.journal or args.newspaper or args.magazine
local Series = args.series
local Volume = args.volume
local Issue = args.issue or args.number
local Pages = args.pages or args.page
local Edition = args.edition
local Place = args.place or args.location
local Editors = args.editors
local Ref = args.ref or args.Ref
if ( Journal ~= nil ) then
Chapter = Title
Title = Journal
end
if ( Chapter ~= nil ) then
Chapter = "\"" .. Chapter .. "\""
if ( DOI ~= nil ) then DOI = " " .. doi(frame, DOI) else DOI = "" end
if ( URL ~= nil ) then URL = " " .. URL else URL = "" end
if ( Edition ~= nil ) then Edition = " " .. Edition .. " edition" else Edition = "" end
if ( Volume ~= nil ) then Volume = " '''" .. Volume .. "'''" else Volume = "" end
if ( Issue ~= nil ) then Issue = " (" .. Issue .. ")" else Issue = "" end
if ( Pages ~= nil ) then Pages = " :" .. Pages else Pages = "" end
if ( Series ~= nil ) then Series = " " .. Series .. "." else Series = "" end
if ( Authors == nil ) then
Authors = authorprefix(Surname1, Given1, Authorlink1, "")
Editors = ""
end
local text = Authors .. "(" .. Date .. ")." .. Chapter .. Editors .. Title .. Edition .. Language .. Volume .. Issue .. Pages .. Series .. PublicationPlace .. Publisher .. ISBN .. DOI .. URL
if ( Ref ~= nil ) then
local id = Ref
Anonymous user

Navigation menu