יחידה:Citation/CS1: הבדלים בין גרסאות בדף

שחזור לגרסה 18439866 מתאריך 16:34, 12 באפריל 2016 מאת IKhitron
שחזור לגרסה 18439752 מתאריך 16:02, 12 באפריל 2016 מאת IKhitron
שורה 1,542: שורה 1,542:
end
end


function restoreDate(inputDate)
 
if inputDate == "" then
 
return ""
end
return globalframe:expandTemplate({title = "זמןמ", args = {'', inputDate, error = "ללא"}});
end


--[[--------------------------< C I T A T I O N 0 >------------------------------------------------------------
--[[--------------------------< C I T A T I O N 0 >------------------------------------------------------------
שורה 1,577: שורה 1,573:


local Year = A['Year'];
local Year = A['Year'];
local PublicationDate = restoreDate(A['PublicationDate']);
local PublicationDate = A['PublicationDate'];
local OrigYear = A['OrigYear'];
local OrigYear = A['OrigYear'];
local Date = restoreDate(A['Date']);
local Date = A['Date'];
local LayDate = restoreDate(A['LayDate']);
local LayDate = A['LayDate'];
------------------------------------------------- Get title data
------------------------------------------------- Get title data
local Title = A['Title'];
local Title = A['Title'];
שורה 1,620: שורה 1,616:
local SubscriptionRequired = A['SubscriptionRequired'];
local SubscriptionRequired = A['SubscriptionRequired'];
local Via = A['Via'];
local Via = A['Via'];
local AccessDate = restoreDate(A['AccessDate']);
local AccessDate = A['AccessDate'];
local ArchiveDate = restoreDate(A['ArchiveDate']);
local ArchiveDate = A['ArchiveDate'];
local Agency = A['Agency'];
local Agency = A['Agency'];
local DeadURL = A['DeadURL']
local DeadURL = A['DeadURL']
שורה 2,590: שורה 2,586:
-- This is used by templates such as {{cite book}} to create the actual citation text.
-- This is used by templates such as {{cite book}} to create the actual citation text.
function z.citation(frame)
function z.citation(frame)
globalframe = frame
local pframe = frame:getParent()
local pframe = frame:getParent()