"মডিউল:উদ্ধৃতি" পাতাটির দুইটি সংশোধিত সংস্করণের মধ্যে পার্থক্য

খেলাঘর থেকে, সঠিক বিন্যাসের তারিখ স্বয়ংক্রিয়ভাবে বাংলা হবে যদি তা ইংরেজিতে থাকে
(তারিখ যাচাই ত্রুটি ঠিক করতে)
(খেলাঘর থেকে, সঠিক বিন্যাসের তারিখ স্বয়ংক্রিয়ভাবে বাংলা হবে যদি তা ইংরেজিতে থাকে)
 
local banglasongkha = require('মডিউল:ConvertDigit');
local convert = require('মডিউল:সংখ্যা রূপান্তরকারী').convert
local cs1 ={};
 
end
 
local Year = banglasongkha._main(A['Year']);
local PublicationDate = banglasongkha._main(A['PublicationDate']);
local OrigYear = banglasongkha._main(A['OrigYear']);
local Date = banglasongkha._main(A['Date']);
local LayDate = banglasongkha._main(A['LayDate']);
------------------------------------------------- Get title data
local Title = A['Title'];
local ArchiveURL;
 
ArchiveURL, ArchiveDate = archive_url_check (A['ArchiveURL'], banglasongkha._main(A['ArchiveDate']))
local DeadURL = A['DeadURL']
local Position = '';
if not in_array (config.CitationClass, cfg.templates_not_using_page) then
Page = banglasongkha._main(A['Page']);
Pages = hyphen_to_dash( A['Pages'] );
At = A['At'];
 
local Via = A['Via'];
local AccessDate = banglasongkha._main(A['AccessDate']);
local Agency = A['Agency'];
 
-- Account for the oddities that are {{cite episode}} and {{cite serial}}, before generation of COinS data.
if 'episode' == config.CitationClass or 'serial' == config.CitationClass then
local AirDate = banglasongkha._main(A['AirDate']);
local SeriesLink = A['SeriesLink'];
 
local error_message = '';
-- AirDate has been promoted to Date so not necessary to check it
local date_parameters_list = {['access-date']=convert('en',AccessDate), ['archive-date']=convert('en',ArchiveDate), ['date']= convert('en',Date), ['doi-broken-date']=convert('en',DoiBroken),
['embargo']=convert('en',Embargo), ['lay-date']=convert('en',LayDate), ['publication-date']=convert('en',PublicationDate), ['year']=convert('en',Year)};
 
anchor_year, Embargo, error_message = dates(date_parameters_list, COinS_date);
-- for those wikis that can and want to have English date names translated to the local language,
-- uncomment these three lines. Not supported by en.wiki (for obvious reasons)
-- set date_name_xlate() second argument to true to translate English digits to local digits (will translate ymd dates)
-- if date_name_xlate (date_parameters_list, true) then
-- modified = true;
-- end
 
if modified then -- if the date_parameters_list values were modified