Changes

Jump to navigation Jump to search

Module:Citation

13 bytes added, 15:01, 17 October 2012
moved " Archived" (+space) to precede "Retrieved" date
local Archived
if ( nil ~= ArchiveURL ) then
if ( ArchiveDate ~= nil ) then ArchiveDate = " (" .. ArchiveDate .. ")" else ArchiveDate = "" end
if ( "no" == DeadURL ) then
Archived = "[" .. ArchiveURL .. "Archived] from the original.on" .. ArchiveDate.. "."
else
Archived = "Archived from [" .. ArchiveURL URL .. " the original].on" .. ArchiveDate.. "."
end
else
-- Piece all bits together at last. At this point, all should be non-nil.
-- We build things this way because it is more efficient in LUA not to keep reassigning to the same string variable over and over.
local idcommon = ARXIV .. ASIN .. BIBCODE .. DOI .. ID .. ISBN .. JFM .. JSTOR .. LCCN .. MR .. OCLC .. OL .. OSTI .. PMC .. PMID .. RFC .. SSRN .. URL .. ZBL .. AccessDate Archived .. Archived AccessDate .. Via .. SubscriptionRequired .. Lay .. Quote .. PostScript
local tcommon = Title .. TitleType .. TitleNote .. Format .. Edition .. Language .. Conference .. Periodical .. Series .. Volume .. Issue .. Position .. Page .. Pages .. At .. "."
Date = Date .. OrigYear
Anonymous user

Navigation menu